Publish the two operational endpoints as routes, when there is a router to publish them on.
/health answers a verdict to a platform that cannot read; /version answers a fact to a person
mid-investigation. Two questions, two endpoints, and neither belongs in an application's controllers:
a blueprint middleware publishes them, for the same reason @stone-js/openapi publishes its own.
Either path: false serves nothing, for a deployment that answers that question elsewhere.
Publish the two operational endpoints as routes, when there is a router to publish them on.
/healthanswers a verdict to a platform that cannot read;/versionanswers a fact to a person mid-investigation. Two questions, two endpoints, and neither belongs in an application's controllers: a blueprint middleware publishes them, for the same reason@stone-js/openapipublishes its own. Eitherpath: falseserves nothing, for a deployment that answers that question elsewhere.