swagger1st icon indicating copy to clipboard operation
swagger1st copied to clipboard

Fix parsing array values nested in body object

Open sbgreene1307 opened this issue 7 years ago • 1 comments

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'.

sbgreene1307 avatar Nov 04 '17 19:11 sbgreene1307

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@58a83c0). Click here to learn what that means. The diff coverage is 100%.

Impacted file tree graph

@@            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.

codecov-io avatar Nov 04 '17 19:11 codecov-io