-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
JSON Schema Validation struggles with circular references #789
Comments
It seems like there is some issue around schema ids, so perhaps it's our usage of Ajv. 🤔 |
I dunno, can you dig into this one? This is the first non-OAS ruleset I've tried to create which uses the |
https://github.com/openapi-contrib/style-guide/pull/4/files#diff-9190dd20f1701c926a13c60980546613R359 this reference causes issues. |
Okay, I think I got it. |
@philsturgeon @P0lip Currently hitting the same exact issue with #974 Working on it... |
I am building an AsyncAPI ruleset over here: apisyouwonthate/style-guide#4
The
schema
function should support Draft 4, 6 and 7, but when I runspectral lint -r asyncapi.yml examples/asyncapi.yml
I get this error:I'm not sure what that means, but to be able to use the AsyncAPI v2.0.0 metaschema we need JSON Schema Draft 7.
The text was updated successfully, but these errors were encountered: