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
Can't make it work with OpenAPI #2347
Comments
Thanks for that @jeremyfiel
when |
post your code where it's having an error. including the import statements or variables you have defined for |
I'm sorry, writing this response i have noticed that two schemas have the same id so I correct that and test the openapi file with the swagger editor The problem is that the error doesn't help too much The line that fails is: ajv.addSchema(openapi, 'openapi.json') so seems to be an openapi schema validation problem |
short of seeing the schemas, or your code, not much I can reference to help you |
Hi
I'm trying to validate data from an openapi schema but I do not understand the logic or I'm missing something
Sorry if this is a dumb question
This is my code:
This is the error:
openapi is the json object version 3.0.2 generated by a fastapi backend
I want to validate data against the schema at #/components/schemas/Schema
What am I missing?
Thanks
The text was updated successfully, but these errors were encountered: