-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
buildApiResponses ignores produced ContentType in case of many @Operation #2477
Comments
hexmind
added a commit
to hexmind/springdoc-openapi
that referenced
this issue
Jan 8, 2024
? |
your PR is in draft mode. have completed your PR ? |
Hi, my intention of this PR was to show a problem and a behavior only. |
ok, will take it in consideration for further investigations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
one content type (a/a) is ignored
To Reproduce
Steps to reproduce the behavior:
input:
actual result:
#2477 buildApiResponses ignores produced ContentType in case of many @Operation #2478
A bug and solution are probably in
GenericResponseService.java
:https://github.com/springdoc/springdoc-openapi/pull/2478/files#diff-bde5de3f4d4588ddcb3a1efb697aa8fc5fd857d63bc4e1d003d10d55d1e973cf
Expected behavior
The text was updated successfully, but these errors were encountered: