Skip to content

Commit

Permalink
add support for "application/x-www-form-urlencoded",
Browse files Browse the repository at this point in the history
add example petstore.yaml
  • Loading branch information
Daxten committed Feb 26, 2017
1 parent 6a40cb0 commit 5d20131
Show file tree
Hide file tree
Showing 2 changed files with 578 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codegen/src/main/scala/app/SwaggerCodegen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ object SwaggerCodegen extends App {
.getOrElse(List.empty)
.map(_.toLowerCase)
.collect {
case "application/x-www-form-urlencoded" =>
MultipartBody
case "multipart/form-data" =>
MultipartBody
case "application/json" =>
Expand Down
Loading

0 comments on commit 5d20131

Please sign in to comment.