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
openapi-cli validate just crashes during validation #127
Comments
We should give a nicer error message instead of crashing. From what I can tell when I look at the file it is not an OAS2 or OAS3 definition.
Maybe there is some demand for JSON Schema validation. There are also many different versions of JSON Schema. OAS3.0:
Action items
|
Oh, I see my mistake. I got pointed to Redocly by one of my peer saying "it would be easier to see your schema if it was shown as this Redocly example" and I just went on without thinking that while OAS3 uses JsonSchema to describe parameters, OAS is not the same as JsonScheama (has-a vs. is-a). Generally, it would be nice to be able to visualize object schema not just as part of routes. |
It is possible to visualize the object schema not as routes, but in our case, only if it is part of the OAS document. |
I'm closing this issue. 1.0.0-beta.1 solves the error message part of the issue.
|
The text was updated successfully, but these errors were encountered: