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

Optional Security improperly handled #97

Closed
AidanWelch opened this issue Oct 13, 2024 · 1 comment · Fixed by #98
Closed

Optional Security improperly handled #97

AidanWelch opened this issue Oct 13, 2024 · 1 comment · Fixed by #98

Comments

@AidanWelch
Copy link
Contributor

According to OAI/OpenAPI-Specification#14 (comment) passing an empty object for security would allow the option of no security, however the validator will still fail at least in the case of cookie authentication, because of the cookie being undefined.

@daveshanley
Copy link
Member

fixed in v0.2.1

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