Commit 65b3cf94 authored by Noel Alonso's avatar Noel Alonso
Browse files

Cambia tipo de propiedad para las relaciones

parent a49cbc46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
	<groupId>es.redmic.lib</groupId>
	<artifactId>jackson-jsonschema</artifactId>
	<packaging>jar</packaging>
	<version>0.8.0</version>
	<version>0.8.0-feature-changeUrlType</version>
	<name>Jackson JsonSchema</name>
	<description>JsonSchema generator</description>
	
+1 −1
Original line number Diff line number Diff line
@@ -982,7 +982,7 @@ class JsonSchemaGenerator
                            Option(p.getAnnotation(classOf[JsonSchemaUrl])).map(_.value())
                        }.map {
                          url =>
                            setType(thisPropertyNode.meta, prop, "integer")
                            setType(thisPropertyNode.meta, prop, "string")
                            //thisPropertyNode.meta.put("type", "integer")
                            thisPropertyNode.meta.put("url", resources.properties.get(url).getOrElse("none"))
                            thisPropertyNode.meta.remove("$ref")