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

Prefer less-known field tags to json when deciding on param content type #70

Closed vearutop closed 11 months ago

github-actions[bot] commented 11 months ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 7 1329 995 64 270 307 (+1) 30.2K (+47B)
Go (test) 7 2033 (+10) 1475 319 (+10) 239 27 52.6K (+454B)
github-actions[bot] commented 11 months ago

Go API Changes

# summary
Inferred base version: v0.2.32
Suggested version: v0.2.33
github-actions[bot] commented 11 months ago

Unit Test Coverage

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

Coverage of changed lines | File | Function | Coverage | |-------------------------|-------------------|----------| | Total | | 100.0% | | openapi3/reflect.go | | 100.0% | | openapi3/reflect.go:250 | parseParametersIn | 100.0% |
Coverage diff with base branch No changes in coverage.
codecov[bot] commented 11 months ago

Codecov Report

Merging #70 (7f93372) into master (8a71b2d) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   42.24%   42.24%           
=======================================
  Files           5        5           
  Lines        3589     3589           
=======================================
  Hits         1516     1516           
  Misses       1784     1784           
  Partials      289      289           
Flag Coverage Δ
unittests 42.24% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
openapi3/reflect.go 87.08% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more