Closed stefan521 closed 3 months ago
Hey @gracekarina, thank you for looking at my PR! 🙂
I updated the two existing tests that were failing.
securitySchemes:
api_key:
type: apiKey
namex: api_key
in: not
Now we get 20 messages instead of 19 because the validation I am adding complains that api_key.in
is invalid.
Thanks!
This is a valid API key definition.
There already is validation that checks the
in
attribute is present. The purpose of this PR is to validate that the attribute value is one of "header", "query", or "cookie".Swagger docs for reference.