Skip to content
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

Warning on an unmatched JsonPath #1593

Open
MarcusAckermann opened this issue May 4, 2021 · 0 comments
Open

Warning on an unmatched JsonPath #1593

MarcusAckermann opened this issue May 4, 2021 · 0 comments
Labels

Comments

@MarcusAckermann
Copy link

When executing spectral lint -r developer.yaml openapi2.json on the files in the attached spectral.zip I get the following warning:

5:38 warning schemas-upper-camel-case Schemas must be named in UpperCamelCase. Components.schemas.Emissions_EN16258_2012

The JsonPath for that rule is $.components.schemas[*].properties but Components.schemas.Emissions_EN16258_2012 does not match this JsonPath which can be verified by http://jsonpath.com/.

This seems to be a false positive.

spectral.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants