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?
to your account
What version of Ajv are you using? Does the issue happen if you use the latest version?
Ajv options object
Validation result, data AFTER validation, error messages
Error: no schema with key or ref "#/definitions/Data"
What results did you expect?
To find and validate the schema. It works without the custom keyword (just remove addKeyword and it works as expected).
Are you going to resolve the issue?
I have no clue why is this happening and how to fix it.
The text was updated successfully, but these errors were encountered:
Weird. It does it even if the keyword is not used: https://runkit.com/esp/5cc168d8b741f4001afde85e
Sorry, something went wrong.
Actually, a bigger question is why it works without addKeyword... You need to use $id with schemas that are added (rather than just compiled).
Yes, it works with $id. Thanks
No branches or pull requests