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 oneOf constraint for HTTP Bearer scheme #101

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

vearutop
Copy link
Member

@vearutop vearutop commented Mar 5, 2024

Fixes #100

Copy link

github-actions bot commented Mar 5, 2024

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go (gen) 2 14249 (+5) 9798 (+4) 1212 3239 (+1) 2036 (+2) 315.1K (+130B)
Go (test) 22 (+1) 5939 (+98) 4482 (+87) 660 797 (+11) 59 154.3K (+2.1K)

Copy link

github-actions bot commented Mar 5, 2024

Go API Changes

# summary
Inferred base version: v0.2.47
Suggested version: v0.2.48

Copy link

github-actions bot commented Mar 5, 2024

Unit Test Coverage

total: (statements) 45.5%
changed lines: (statements) 100.0%

Coverage of changed lines
File Function Coverage
Total 100.0%
openapi31/entities.go 100.0%
openapi31/entities.go:4247 UnmarshalJSON 100.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 43.0% 45.5% (+2.5%)
openapi31/entities.go UnmarshalJSON 0.0% 77.8% (+77.8%)

@vearutop vearutop merged commit 7eb17ad into master Mar 5, 2024
7 checks passed
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.83%. Comparing base (d6a28d7) to head (e25ab2e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #101      +/-   ##
==========================================
+ Coverage   38.01%   39.83%   +1.82%     
==========================================
  Files          16       16              
  Lines        6593     6595       +2     
==========================================
+ Hits         2506     2627     +121     
+ Misses       3654     3500     -154     
- Partials      433      468      +35     
Flag Coverage Δ
unittests 39.83% <100.00%> (+1.82%) ⬆️

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.

@vearutop vearutop deleted the openapi31-bearer branch March 5, 2024 11:11
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.

Error with UnmarshalYAML() using http/bearer auth scheme
1 participant