We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beccebd commit d11de95Copy full SHA for d11de95
src/main/scala/com/github/swagger/scala/converter/SwaggerScalaModelConverter.scala
@@ -46,7 +46,9 @@ class SwaggerScalaModelConverter extends ModelResolver(Json.mapper()) {
46
case Some(property) => {
47
if (isIterable(cls)) {
48
//untidy solution for https://github.com/swagger-akka-http/swagger-scala-module/issues/48
49
- property.getRequired.remove("traversableAgain")
+ val required = property.getRequired
50
+ required.remove("traversableAgain")
51
+ required.remove("empty")
52
val props = property.getProperties
53
props.remove("traversableAgain")
54
props.remove("empty")
0 commit comments