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 file uploads in 3.1, remove file uploads nullability in 3.0 #94

Closed vearutop closed 6 months ago

vearutop commented 6 months ago
image
github-actions[bot] commented 6 months ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 21 3869 (+25) 2886 (+22) 213 770 (+3) 782 (+5) 89.5K (+663B)
Go (test) 21 (+2) 5816 (+80) 4371 (+58) 660 785 (+22) 59 151.7K (+2K)
JSON 18 (+2) 5605 (+51) 5605 (+51) 0 0 0 135.3K (+1.8K)
github-actions[bot] commented 6 months ago

Go API Changes

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

Unit Test Coverage

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

Coverage of changed lines | File | Function | Coverage | |--------------------------|------------------|-------------| | Total | | 100.0% | | openapi3/reflect.go | | 100.0% | | openapi3/reflect.go:313 | parseRequestBody | 100.0% | | openapi31/reflect.go | | 100.0% | | openapi31/reflect.go:260 | parseRequestBody | 100.0% | | internal/json_schema.go | | no coverage |
Coverage diff with base branch No changes in coverage.