swaggest / openapi-go

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

Fix Header OneOf check in OpenAPI 3.1 #120

Closed vearutop closed 3 days ago

github-actions[bot] commented 3 days ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go (gen) 2 14261 (-12) 9808 (-9) 1212 (-2) 3241 (-1) 2043 (-23) 315.5K (-384B)
Go (test) 22 6431 (+9) 4922 (+9) 660 849 61 165.4K (+208B)
github-actions[bot] commented 3 days ago

Unit Test Coverage

total: (statements) 46.6% changed lines: (statements) 91.7%

Coverage of changed lines | File | Function | Coverage | |----------------------------|---------------|----------| | Total | | 91.7% | | openapi31/entities.go | | 91.7% | | openapi31/entities.go:2062 | UnmarshalJSON | 100.0% | | openapi31/entities.go:1745 | UnmarshalJSON | 87.5% |
Coverage diff with base branch | File | Function | Base Coverage | Current Coverage | |-----------------------|----------|---------------|------------------| | Total | | 46.6% | 46.6% (0.0%) | | openapi31/entities.go | IsZero | 100.0% | no function |
github-actions[bot] commented 3 days ago

Go API Changes

# summary
Inferred base version: v0.2.51
Suggested version: v0.2.52