-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
Description
Q&A (please complete the following information)
- OS: Ubuntu 18.04.1 LTS
- Browser: Chrome 72.0.3626.81, Firefox 65.0.1
- Swagger-UI version: 3.21.0, 3.20.6
- Swagger/OpenAPI version: OpenAPI 3.0
Content & configuration
Any invalid OpenAPI configuration.
One common example is not including query parameters under a schema object in a 3.0 config, and instead simply declaring their type directly under the parameter.
Describe the bug you're encountering
When loading the swagger ui, an error briefly appears at the top of the page, for a small fraction of a second. It then immediately disappears.
No messages are left in the console log.
To reproduce...
Steps to reproduce the behavior:
- Create an OpenAPI spec with some errors in it.
- Load that spec using the swagger-ui
- Observe error messages flash at the top of the page and disappear
Expected behavior
Errors should remain at the top of the page until and unless manually dismissed.
Errors should also ideally be added to the console log.
Screenshots
Screenshots taken at various stages in the loading of the page.


