swagger1st
swagger1st copied to clipboard
Fix parsing array values nested in body object
Resolves #80
I added an additional check to account for when the body of a request isn't just an array object, but rather an object with an array parameter. Like {"words":["foo","bar"]} or a csv array {"words":"foo,bar"} that is defined by the schema as 'in: body'.
Codecov Report
:exclamation: No coverage uploaded for pull request base (
master@58a83c0
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## master #81 +/- ##
=========================================
Coverage ? 81.49%
=========================================
Files ? 11
Lines ? 881
Branches ? 22
=========================================
Hits ? 718
Misses ? 141
Partials ? 22
Impacted Files | Coverage Δ | |
---|---|---|
src/io/sarnowski/swagger1st/parser.clj | 86.51% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 58a83c0...e240179. Read the comment docs.