You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get error in the responses tab
😱 Could not render responses_Responses, see the console.
To reproduce...
Steps to reproduce the behavior:
Try to render the sample yaml. Or any yaml with empty map in response examples.
Expected behavior
Responses render, without examples
Additional context or thoughts
I narrowed the problem down to
examples: {}
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:
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: