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

feat(security): added option to exclude sec requirement #1055

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

alesbrelih
Copy link
Contributor

Added option to exclude security requirement for handlers.

This is useful in case you want to have multiple security providers with the same data.
For an example if you want to use both apikey and oauth security providers on one endpoint you want to check structure of a token first. If it starts with Bearer you want to skip bearer validation and just enforce the oauth validation.

Added option to exclude security requirement for handlers.
Added generated files.
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2b39139) 72.20% compared to head (e9a53cb) 72.20%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1055   +/-   ##
=======================================
  Coverage   72.20%   72.20%           
=======================================
  Files         192      192           
  Lines       15027    15027           
=======================================
  Hits        10850    10850           
  Misses       3641     3641           
  Partials      536      536           

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

@tdakkota tdakkota merged commit 4de9f05 into ogen-go:main Sep 21, 2023
14 checks passed
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.

2 participants