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
To align with autorest behavior https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md
The text was updated successfully, but these errors were encountered:
This should be fixed in coordination with Azure/azure-openapi-validator#637.
Siblings of $ref may be either ignored or included, depending on the spec and tool versions: Azure/azure-openapi-validator#706
As long as we're using ajv@6, I think the fix is to change this:
ajv@6
oav/lib/swaggerValidator/ajvSchemaValidator.ts
Line 48 in b3a9b4c
From "fail" to true (https://github.com/ajv-validator/ajv/blob/v6/lib/ajv.d.ts#L180).
"fail"
true
This option is removed in ajv@7. See https://github.com/ajv-validator/ajv/releases/tag/v7.0.0, and search for "$ref".
ajv@7
Sorry, something went wrong.
keryul
No branches or pull requests
To align with autorest behavior https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md
The text was updated successfully, but these errors were encountered: