Closed vearutop closed 2 years ago
Language | Files | Lines | Code | Comments | Blanks | Complexity | Bytes |
---|---|---|---|---|---|---|---|
Go | 98 | 6542 (+80) | 4750 (+60) | 437 (+8) | 1355 (+12) | 750 (+20) | 158.2K (+2K) |
Go (test) | 43 | 4417 (+49) | 3392 (+37) | 125 | 900 (+12) | 118 | 123K (+1.5K) |
JSON | 3 | 1259 (-8) | 1259 (-8) | 0 | 0 | 0 | 51.7K (-38B) |
Markdown | 3 | 412 (+6) | 318 (+5) | 0 | 94 (+1) | 0 | 14.3K (+290B) |
YAML | 10 | 675 | 592 | 46 | 37 | 0 | 20.9K (+3B) |
# github.com/swaggest/rest/jsonschema ## compatible changes (*Validator).ForbidUnknownParams: added # summary Inferred base version: v0.2.25 Suggested version: v0.3.0
total: (statements) 82.8%
Merging #72 (7814063) into master (53f20ea) will increase coverage by
0.02%
. The diff coverage is69.56%
.
@@ Coverage Diff @@
## master #72 +/- ##
==========================================
+ Coverage 76.81% 76.83% +0.02%
==========================================
Files 27 27
Lines 1324 1347 +23
==========================================
+ Hits 1017 1035 +18
- Misses 194 199 +5
Partials 113 113
Flag | Coverage Δ | |
---|---|---|
unittests | 76.83% <69.56%> (+0.02%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
openapi/collector.go | 58.59% <0.00%> (-0.79%) |
:arrow_down: |
request/decoder.go | 70.21% <60.00%> (-2.77%) |
:arrow_down: |
jsonschema/validator.go | 79.79% <100.00%> (+4.51%) |
:arrow_up: |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
Resolves #68.
Unknown request parameters (not only in body) can be now forbidden with struct tags
or with an global interceptor