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

Add support for multiple possible security schemes without requiring they're all true #98

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

AidanWelch
Copy link
Contributor

Match OAPI spec by validating security if 1 of any of the schemes is true, including an empty scheme. Fixes #97

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.80%. Comparing base (0a73ef5) to head (daf83d5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #98   +/-   ##
=======================================
  Coverage   99.80%   99.80%           
=======================================
  Files          28       28           
  Lines        2501     2512   +11     
=======================================
+ Hits         2496     2507   +11     
  Misses          5        5           
Flag Coverage Δ
unittests 99.80% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@daveshanley daveshanley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thank you for your contribution.

@daveshanley daveshanley merged commit c4e3ad1 into pb33f:main Oct 16, 2024
3 checks passed
@AidanWelch
Copy link
Contributor Author

Thank you for this project!

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

Successfully merging this pull request may close these issues.

Optional Security improperly handled
2 participants