-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Missing description for generated health OpenAPI responses #15551
Labels
Milestone
Comments
Thanks. I'll fix this a.s.a.p |
The samples in Expected behavior and Actual behavior were reversed. I have fixed that now in the issue description. |
This was referenced Mar 12, 2021
Merged
This was referenced Mar 12, 2021
Merged
Closed
Merged
Merged
Merged
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
According to the validator https://apitools.dev/swagger-parser/online/ (and also that in the Azure API Management) the OpenAPI definition generated by the Quarkus Health extension are invalid. The API responses don't have any description.
Expected behavior
The individual API responses should each have their description. Like in this extract:
Actual behavior
Here is an extract of what gets generated:
To Reproduce
Create a project including the OpenAPI and Health extensions.
Configuration
quarkus.health.openapi.included=true
Environment (please complete the following information):
uname -a
orver
:java -version
:mvnw --version
orgradlew --version
):Additional context
To be honest I have not yet checked the specs myself, but since two tools reported errors I was assuming that they are correct.
The text was updated successfully, but these errors were encountered: