-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fails to parse openapi schema #11
Comments
Hi, I checked the schema with https://editor.swagger.io/ and according to it, the schema is not valid. |
Thanks. I stripped out the This modified example does work:
|
Hey, as shown in the code the openApi file should be in yaml... We should improve the error handling and maybe support json format. |
JSON format is not the issue. YAML is a superset of JSON. |
Damn, didn't know about that. Thanks for this tips :) |
Can this error be ignored by using less restrictive openapi parser? According to https://editor.swagger.io/ looks that fastapi produces invalid openapi.json, but still usable locally on my pc(swagger-ui not shows any errors). Fixing errors manually would take too much time. |
I have the following dummy openapi schema adapted from a json schema generated by a real API. This schema cannot be parsed by openapi-fuzzer 0.1.3 (built from master commit 7da1471)
Schema:
Error:
The text was updated successfully, but these errors were encountered: