avaje-http
avaje-http copied to clipboard
Adding endpoint from other libs to openapi documentation
Hi Rob,
I was looking into a way to add endpoint from another lib to the openapi documentation of the final service.
For example I have a base project y that provides a general /health or /info endpoint and I use that lib in project z. The endpoints are made available with the use of your inject project when I start the application, but they are not present in the openapi documentation.
Now I was wondering and trying out but could not achieve this by looking for the "Controller" classes and trying to add them but it is not looking to other inherited projects.
Would something like this be possible in combination with the @ContextModule[depenson=project y] so we know where to look and then add those endpoints? Because it would be nice to add all available endpoints to the final documentation.
Kind regards, Tijs