Commit ab03f77e authored by Noel's avatar Noel
Browse files

Elimina additionalProperties a falso por defecto

parent 710f1c2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -702,7 +702,7 @@ class JsonSchemaGenerator
                thisObjectNode: ObjectNode =>

                  thisObjectNode.put("type", "object")
                  thisObjectNode.put("additionalProperties", false)
                  //thisObjectNode.put("additionalProperties", false)

                  // If class is annotated with JsonSchemaFormat, we should add it
                  val ac = AnnotatedClass.construct(_type, objectMapper.getDeserializationConfig())