Overriding oas3-schema
for a path doesn't resolve errors on parent paths
#2334
Labels
oas3-schema
for a path doesn't resolve errors on parent paths
#2334
Describe the bug
My OpenAPI 3.0 spec includes template variables for the
authorizationCode
URLs, which are supplied at runtime by the implementation. This causes errors with the default configuration:Looking at the
overrides
docs, I was able to silence theuri-reference
errors. However, the higher-level errors remain.To Reproduce
.spectral.yaml
Expected behavior
No linting errors
Environment (remove any that are not applicable):
Additional context
I can work around this by disabling validation for the whole scheme:
But that feels like a hack, and would miss other validation failures.
The text was updated successfully, but these errors were encountered: