Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

also include paramType when serializing a parameter

  • Loading branch information...
commit 069e45f766f69a6254101de05991f2c686d3a031 1 parent 2a1061b
@casualjim casualjim authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  swagger/src/main/scala/org/scalatra/swagger/Swagger.scala
View
1  swagger/src/main/scala/org/scalatra/swagger/Swagger.scala
@@ -110,6 +110,7 @@ private object SwaggerSerializers {
("defaultValue" -> x.defaultValue) ~
("allowableValues" -> Extraction.decompose(x.allowableValues)) ~
("required" -> x.required) ~
+ ("paramType" -> x.paramType.toString) ~
("allowMultiple" -> x.allowMultiple) merge serializeDataType("dataType", x.dataType)
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.