Generated OpenAPI spec gives $schema errors in the Swagger Editor
See original GitHub issueHi,
Somes returns on http://localhost:5600/api/swagger.json
swagger.json isn’t valid -> put it in https://editor.swagger.io/ to see error:

Maybe set an abstract type for event.data or a type including all possibles fields?
in any case thanks for the swagger 👍
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
[BUG] Error processing OpenAPI json file for python client
It appears that the online OpenAPI validators accept response specifications without a schema field, and the openapi-generator does not. The ...
Read more >Swagger Editor shows the "Schema error: should NOT have ...
I accidentally mixed up the syntax from Swagger 2.0 with Openapi 3.0.x . In Openapi 3.0.x , definitions are redefined as components.
Read more >How to validate OpenAPI definitions - Swagger
Reviewer: paste the OpenAPI definition from Pull Request to Swagger Editor to see if errors were introduced. Merge Pull Request.
Read more >OpenAPI tutorial using Swagger Editor and Swagger UI
“Swagger” was the original name of the OpenAPI specification, but the specification was later changed to “OpenAPI” to reinforce the open, non- ...
Read more >Generated Swagger.json Does Not Validate with Swagger Editor
We are finding that the swagger.json file that this module generates is not completely accepted by the Swagger Editor and related tools --...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Still waiting for OpenAPI v3 support in flask-restplus
This is related to the new OpenAPI v3 spec that isn’t supported by flask-restplus yet, see: https://github.com/noirbizarre/flask-restplus/issues/518