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

Check reflect type before using #95

Closed vearutop closed 5 months ago

vearutop commented 5 months ago

Relates to https://github.com/swaggest/rest/issues/186.

github-actions[bot] commented 5 months ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 21 3873 (+4) 2889 (+3) 213 771 (+1) 784 (+2) 89.6K (+61B)
github-actions[bot] commented 5 months ago

Go API Changes

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

Unit Test Coverage

total: (statements) 42.1%

Coverage of changed lines No changes in testable statements.
Coverage diff with base branch No changes in coverage.
codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (ac93ece) 36.97% compared to head (268962c) 36.97%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #95 +/- ## ======================================= Coverage 36.97% 36.97% ======================================= Files 14 14 Lines 6421 6421 ======================================= Hits 2374 2374 Misses 3622 3622 Partials 425 425 ``` | [Flag](https://app.codecov.io/gh/swaggest/openapi-go/pull/95/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/95/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=swaggest) | `36.97% <ø> (ø)` | | 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.