Closed vearutop closed 1 year ago
Language | Files | Lines | Code | Comments | Blanks | Complexity | Bytes |
---|---|---|---|---|---|---|---|
Go | 14 (+1) | 2124 (+40) | 1554 (+24) | 134 (+6) | 436 (+10) | 412 (+4) | 49.8K (+936B) |
Go (test) | 10 | 3352 (+6) | 2595 (+6) | 333 | 424 | 32 | 87.9K (+237B) |
JSON | 7 (+1) | 2230 (+24) | 2230 (+24) | 0 | 0 | 0 | 51K (+969B) |
# github.com/swaggest/openapi-go ## incompatible changes Reflector.JSONSchemaReflector: added Reflector.SpecSchema: added ## compatible changes SpecSchema: added # github.com/swaggest/openapi-go/openapi3 ## compatible changes (*Reflector).JSONSchemaReflector: added (*Reflector).SpecSchema: added (*Spec).SetDescription: added (*Spec).SetTitle: added (*Spec).SetVersion: added # summary Inferred base version: v0.2.35 Suggested version: v0.3.0
total: (statements) 50.9% changed lines: (statements) 53.8%, coverage is less than 90.0%, consider testing the changes more thoroughly
Merging #73 (f3dd446) into master (709f0d7) will increase coverage by
0.10%
. The diff coverage is43.75%
.
@@ Coverage Diff @@
## master #73 +/- ##
==========================================
+ Coverage 43.12% 43.23% +0.10%
==========================================
Files 8 8
Lines 3810 3819 +9
==========================================
+ Hits 1643 1651 +8
Misses 1859 1859
- Partials 308 309 +1
Flag | Coverage Δ | |
---|---|---|
unittests | 43.23% <43.75%> (+0.10%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Files Changed | Coverage Δ | |
---|---|---|
openapi3/reflect.go | 81.15% <30.76%> (+0.03%) |
:arrow_up: |
openapi3/helper.go | 90.38% <100.00%> (+0.58%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
In order to prepare for OpenAPI 3.1 addition, current OpenAPI 3.0 implementation has to be generalized and decoupled from useful public API.