-
Notifications
You must be signed in to change notification settings - Fork 78
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
Allow pattern matching on key #239
Conversation
Unsure what I can do about the breaking builds. Seems |
@pderaaij I think you're right. Also patch LGTM for the approach. |
I have been testing this new rule together with the linter update (Mermade/oas-kit@310fd30) for the 'responses' object. '{ I think code in speccy - linter.js should be With 'response' object only I do not get the key value, but the string referring to the pattern (eg. response) generic question:
Cheers, |
Hi @bottoy I think @pderaaij has just fixed this over in |
This PR makes it possible to create rules that does pattern matching on the key of an object.
For example, for the key of a path you can create the following rule:
This relates to #214