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

Update deps, fix lint #98

Closed vearutop closed 3 months ago

github-actions[bot] commented 3 months ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 21 3953 (+6) 2945 214 794 (+6) 800 90.8K (+6B)
Go (test) 21 5817 (+1) 4371 660 786 (+1) 59 151.7K (-20B)
github-actions[bot] commented 3 months ago

Go API Changes

# github.com/swaggest/openapi-go
## incompatible changes
OperationInfoReader.Description: added
OperationInfoReader.ID: added
OperationInfoReader.IsDeprecated: added
OperationInfoReader.Summary: added
OperationInfoReader.Tags: added
## compatible changes
OperationInfoReader: added

# summary
Inferred base version: v0.2.45
Suggested version: v0.3.0
github-actions[bot] commented 3 months ago

Unit Test Coverage

total: (statements) 43.0% changed lines: (statements) 81.8%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines | File | Function | Coverage | |----------------------------|--------------------|----------| | Total | | 81.8% | | internal/json_schema.go | | 66.7% | | internal/json_schema.go:29 | sanitizeDefName | 0.0% | | internal/json_schema.go:36 | ReflectRequestBody | 0.0% | | openapi3/reflect.go | | 100.0% | | openapi3/reflect.go:409 | parseParametersIn | 100.0% | | openapi3/reflect.go:540 | sanitizeDefName | 100.0% | | openapi31/reflect.go | | 100.0% | | openapi31/reflect.go:361 | parseParametersIn | 100.0% | | openapi31/reflect.go:488 | sanitizeDefName | 100.0% |
Coverage diff with base branch No changes in coverage.
codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 37.99%. Comparing base (2112af7) to head (e711ecf).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #98 +/- ## ========================================== + Coverage 36.84% 37.99% +1.14% ========================================== Files 14 16 +2 Lines 6443 6591 +148 ========================================== + Hits 2374 2504 +130 - Misses 3644 3654 +10 - Partials 425 433 +8 ``` | [Flag](https://app.codecov.io/gh/swaggest/openapi-go/pull/98/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/98/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggest) | `37.99% <100.00%> (+1.14%)` | :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.