-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swagger compatibility #32
Comments
Thank you for reporting! @kamilmysliwiec Also related #33 Some possible thoughts on how we should proceed:
I tend to option use option 1. The |
Creating a PR for So unless upstream is unwilling to merge it, I'd vote 2. |
@mhavelant you're definitely right on that point. After some digging, maybe we don't even have to modify Maybe @kamilmysliwiec can give me a hint how I should proceed? |
any progress here? |
@BrunnerLivio did you implement a solution? |
I'm submitting a...
Current behavior
There's no documented way for enabling swagger integration for the health endpoints.
Expected behavior
Documentation for enabling swagger integration for the health endpoints.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
I have swagger enabled so I can benefit from the autogenerated documentation for my API. When enabling terminus, its endpoints (e.g /health/readiness) do not show up on the list.
I can add a custom controller with the same endpoint (AppController / @get('health/readiness') ) and then it is registered and the terminus-code is executed, but that isn't a clean way of doing this.
Environment
The text was updated successfully, but these errors were encountered: