-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Errors caused by empty map in response examples #9499
Labels
Comments
glowcloud
added a commit
that referenced
this issue
May 10, 2024
glowcloud
added a commit
that referenced
this issue
May 10, 2024
Addressed in #9926 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-UI configuration options:
Describe the bug you're encountering
I get error in the responses tab
😱 Could not render responses_Responses, see the console.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
Responses render, without examples
Additional context or thoughts
I narrowed the problem down to
Removing the empty examples map fixes the problem, it may be, however, hard to figure this out.
Nevertheless, the empty map is valid with regards to OAS specs, and should not cause these crashes.
The text was updated successfully, but these errors were encountered: