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(spec): add SetSecuritySchemes to declare the securitySchemes in the specification #77

Merged
merged 3 commits into from
Apr 13, 2022

Conversation

rbeuque74
Copy link
Collaborator

Security mecanisms need to be declared at the top level of the
specification, in order to be used on operations. SetSecuritySchemes
allow user to personalize securitySchemes of the specification.

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
@rbeuque74 rbeuque74 added the enhancement New feature or request label Apr 13, 2022
@rbeuque74 rbeuque74 requested a review from wI2L April 13, 2022 11:19
@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #77 (e77ea97) into master (cc49074) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
- Coverage   95.01%   94.91%   -0.10%     
==========================================
  Files           7        7              
  Lines         963      964       +1     
==========================================
  Hits          915      915              
- Misses         32       33       +1     
  Partials       16       16              
Impacted Files Coverage Δ
openapi/generator.go 93.86% <0.00%> (-0.15%) ⬇️
openapi/spec.go 82.05% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc49074...e77ea97. Read the comment docs.

…the specification

Security mecanisms need to be declared at the top level of the
specification, in order to be used on operations. SetSecuritySchemes
allow user to personalize securitySchemes of the specification.

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
@rbeuque74 rbeuque74 force-pushed the dev/rbeuque/security-schemes branch from 050155e to 11aa913 Compare April 13, 2022 12:14
@wI2L wI2L merged commit aaea309 into master Apr 13, 2022
@wI2L wI2L deleted the dev/rbeuque/security-schemes branch April 13, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants