We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the example value can have a different data structure that is defined in the schema and the swagger-cli validate doesn't rise an error.
swagger-cli validate
example: foo: bar: a baz: b type: object properties: foo: type: integer format: int32 default: 0
I think it would be very useful if the example value would be validated against the corresponding schema.
The text was updated successfully, but these errors were encountered:
Actually there's already a tool in NPM that does that https://www.npmjs.com/package/openapi-examples-validator?activeTab=readme - so I think can close the request
Sorry, something went wrong.
That tool or even Spectral could do the job, and lots of other fancy validation on top, so I'll close this.
No branches or pull requests
Currently the example value can have a different data structure that is defined in the schema and the
swagger-cli validate
doesn't rise an error.I think it would be very useful if the example value would be validated against the corresponding schema.
The text was updated successfully, but these errors were encountered: