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

Extend operation info #97

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 3947 (+74) 2945 (+56) 214 (+1) 788 (+17) 800 (+16) 90.8K (+1.2K)
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) 42.0% changed lines: (statements) 0.0%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines | File | Function | Coverage | |--------------------------|--------------|----------| | Total | | 0.0% | | openapi3/reflect.go | | 0.0% | | openapi3/reflect.go:131 | Tags | 0.0% | | openapi3/reflect.go:139 | IsDeprecated | 0.0% | | openapi3/reflect.go:147 | Summary | 0.0% | | openapi3/reflect.go:159 | Description | 0.0% | | openapi3/reflect.go:171 | ID | 0.0% | | openapi31/reflect.go | | 0.0% | | openapi31/reflect.go:139 | Tags | 0.0% | | openapi31/reflect.go:147 | IsDeprecated | 0.0% | | openapi31/reflect.go:155 | Summary | 0.0% | | openapi31/reflect.go:167 | Description | 0.0% | | openapi31/reflect.go:179 | ID | 0.0% |
Coverage diff with base branch | File | Function | Base Coverage | Current Coverage | |----------------------|--------------|---------------|------------------| | Total | | 42.1% | 42.0% (-0.1%) | | openapi3/reflect.go | Description | no function | 0.0% | | openapi3/reflect.go | ID | no function | 0.0% | | openapi3/reflect.go | IsDeprecated | no function | 0.0% | | openapi3/reflect.go | Summary | no function | 0.0% | | openapi3/reflect.go | Tags | no function | 0.0% | | openapi31/reflect.go | Description | no function | 0.0% | | openapi31/reflect.go | ID | no function | 0.0% | | openapi31/reflect.go | IsDeprecated | no function | 0.0% | | openapi31/reflect.go | Summary | no function | 0.0% | | openapi31/reflect.go | Tags | no function | 0.0% |
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 36.84%. Comparing base (ee06401) to head (75a72c8).

Files Patch % Lines
openapi3/reflect.go 0.00% 11 Missing :warning:
openapi31/reflect.go 0.00% 11 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #97 +/- ## ========================================== - Coverage 36.97% 36.84% -0.13% ========================================== Files 14 14 Lines 6421 6443 +22 ========================================== Hits 2374 2374 - Misses 3622 3644 +22 Partials 425 425 ``` | [Flag](https://app.codecov.io/gh/swaggest/openapi-go/pull/97/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/97/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggest) | `36.84% <0.00%> (-0.13%)` | :arrow_down: | 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.