Replies: 1 comment
-
The To know that a given file is indeed an openapi file and should be linted, spectral checks if it contains an Your typo prevents that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have an invalid JSON which is invalid OAS too, but linting it doesn't report any errors:
invalid_spec.json
,
without any other members (invalid JSON)"openap"
instead of"openapi"
(invalid OAS)"paths"
(invalid OAS).My ruleset is...
.spectral.yaml
The output is:
What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions