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
The interface does not display errors correctly when the server sends an blank response body schema or a 404 for an external schema.
I should note, CORS errors are reported correctly, which is nice.
To reproduce...
Steps to reproduce the behavior:
Have the server return a 200 with an empty response body to have the spinners spin forever.
Have the server return a 404 with an empty response body to have an empty schema appear with no errors.
Expected behavior
A 200 with no response body should yield some sort of warning, because the schema should at least be {}
A 404 from the server should yield a big red error somewhere.
Screenshots
When server returns 200 and empty body:
When server returns 404:
Additional context or thoughts
This is a nice bug report template, good work.
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
The interface does not display errors correctly when the server sends an blank response body schema or a 404 for an external schema.
I should note, CORS errors are reported correctly, which is nice.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
A 200 with no response body should yield some sort of warning, because the schema should at least be
{}
A 404 from the server should yield a big red error somewhere.
Screenshots
When server returns 200 and empty body:
When server returns 404:
Additional context or thoughts
This is a nice bug report template, good work.
The text was updated successfully, but these errors were encountered: