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

does-spec-contains-valid-http-verbs generates false positive for "parameters" as a verb #29

Open
jbend opened this issue Aug 15, 2023 · 1 comment

Comments

@jbend
Copy link
Member

jbend commented Aug 15, 2023

The open api spec allows for "parameters" as a child of a path. It is not a verb but shoudl be accounted for (also include "servers" and check for others

does-spec-contains-valid-http-verbs

https://spec.openapis.org/oas/latest.html#fixed-fields-6

Also "connect" as a verb? Where does that come from

@SnehaThangavelu1603
Copy link
Collaborator

Sure Jeff, will make changes to allow 'parameters' and other allowed keys inside the path. Also connect is listed as a http verb in this list below:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

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