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

tas-openapi-v3-schema-properties-names-camel-case is falsely match fields that are camelCase #30

Open
jbend opened this issue Aug 15, 2023 · 2 comments

Comments

@jbend
Copy link
Member

jbend commented Aug 15, 2023

This rule is generating false positives

https://api-standards.trimble-pnp.com/api-standard/http#field-names

@jbend
Copy link
Member Author

jbend commented Aug 15, 2023

I believe the pattern match should be "$..properties." not "$..properties.." (ending double period)
Also while the regex looks to correctly match it claims an error when it matches camelCase, should be the other way around

@SnehaThangavelu1603
Copy link
Collaborator

Changed the double period to single period. Also this rule mandates to match the key to the regex if not matches then error message block will be executed which is working as expected.

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

No branches or pull requests

2 participants