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

fix: Consider as valid multiple schemes in a security requirement object #109

Conversation

jormaechea
Copy link
Contributor

Multiple security schemes are now considered as valid and flagged as used.
Added unit tests for the new code.

Fixes #108

Multiple security schemes are now considered as valid and flagged as used

Fixes IBM#108
@CLAassistant
Copy link

CLAassistant commented Oct 4, 2019

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Oct 4, 2019

Codecov Report

Merging #109 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   92.32%   92.37%   +0.04%     
==========================================
  Files          55       55              
  Lines        1941     1940       -1     
==========================================
  Hits         1792     1792              
+ Misses        149      148       -1
Impacted Files Coverage Δ
...lidation/2and3/semantic-validators/security-ibm.js 100% <100%> (+1.81%) ⬆️
...d3/semantic-validators/security-definitions-ibm.js 100% <100%> (ø) ⬆️

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 80f556a...4501f19. Read the comment docs.

@jormaechea
Copy link
Contributor Author

This is ready for review!

@dpopp07 dpopp07 self-requested a review October 4, 2019 16:43
Copy link
Member

@dpopp07 dpopp07 left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Thanks for the PR!

@dpopp07 dpopp07 merged commit f02ef2b into IBM:master Oct 4, 2019
dpopp07 pushed a commit that referenced this pull request Oct 4, 2019
## [0.15.1](v0.15.0...v0.15.1) (2019-10-04)

### Bug Fixes

* allow multiple schemes in a security requirement object ([#109](#109)) ([f02ef2b](f02ef2b)), closes [#108](#108)
@dpopp07
Copy link
Member

dpopp07 commented Oct 4, 2019

🎉 This PR is included in version 0.15.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jormaechea jormaechea deleted the Issue-108-Multiple-security-schemes-validation branch June 20, 2020 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple scheme security requirement should be allowed
3 participants