The document could be any document. To reproduce the problem, we can use the PetStore document attached to the end of this issue.
The url "https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js" is no longer available on ajv's Github repo. The problem could be probably solved by upgrading the ajv version in your package.
I use express-openapi-validate v0.5.1 and since a while (cannot tell exactly), I get a warning in node console:
This warning is issued while calling the validator with a single option to ignore the OAS spec V3 keyword:
The document could be any document. To reproduce the problem, we can use the PetStore document attached to the end of this issue. The url "https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js" is no longer available on ajv's Github repo. The problem could be probably solved by upgrading the ajv version in your package.
Thanks!
PetStore document: