swaggest / openapi-go

OpenAPI structures for Go
https://pkg.go.dev/github.com/swaggest/openapi-go/openapi3
MIT License
248 stars 23 forks source link

Fix once again oneOf constraint for HTTP Bearer scheme #102

Closed vearutop closed 6 months ago

vearutop commented 6 months ago

Iterates on #100.

github-actions[bot] commented 6 months ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go (gen) 2 14253 (+4) 9801 (+3) 1212 3240 (+1) 2038 (+2) 315.2K (+95B)
Go (test) 22 5981 (+42) 4518 (+36) 660 803 (+6) 59 155.1K (+851B)
github-actions[bot] commented 6 months ago

Unit Test Coverage

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

Coverage of changed lines | File | Function | Coverage | |----------------------------|---------------|----------| | Total | | 100.0% | | openapi31/entities.go | | 100.0% | | openapi31/entities.go:4321 | UnmarshalJSON | 100.0% |
Coverage diff with base branch No changes in coverage.
github-actions[bot] commented 6 months ago

Go API Changes

# summary
Inferred base version: v0.2.48
Suggested version: v0.2.49
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.91%. Comparing base (7eb17ad) to head (e658a40).

:exclamation: Current head e658a40 differs from pull request most recent head a34d584. Consider uploading reports for the commit a34d584 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #102 +/- ## ========================================== + Coverage 39.83% 39.91% +0.07% ========================================== Files 16 16 Lines 6595 6597 +2 ========================================== + Hits 2627 2633 +6 + Misses 3500 3497 -3 + Partials 468 467 -1 ``` | [Flag](https://app.codecov.io/gh/swaggest/openapi-go/pull/102/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggest) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/swaggest/openapi-go/pull/102/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggest) | `39.91% <100.00%> (+0.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggest#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.