Closed kirpichyov closed 2 months ago
This does appear to be possible and something I can work on in the future: https://github.com/ajv-validator/ajv-draft-04
@kirpichyov I have published a pre-release -> v3.2.0
. Would you be able to try this out and see if it works for your use case and let me know how it goes? Thanks! 🙇
It works now, thanks!
Hi! I am trying to use action to verify the API doc file which follows the OpenAPI 3.0.1 schema (Schema reference).
But it gives an error:
So it looks like OpenAPI 3.0.1 use draft-04 json schema which is supported by Ajv according to the documentation but not supported by the
json-yaml-validate
. I have tried to use other schemas in thejson_schema_version
likedraft-07
but it doesn't work. It would be great and very appreciable to add support fordraft-04
for thejson_schema_version
parameter.