Commit ec16585f authored by Noel Alonso's avatar Noel Alonso
Browse files

Arregla test por cambio en dto

parent bd5a28c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ public class JsonSchemaGenerationTest {
		properties.put("controller.mapping.SPECIES", "/operator/taxons/species");
		properties.put("controller.mapping.MISIDENTIFICATION", "/operator/taxons/misidentification");
		properties.put("controller.mapping.THEME_INSPIRE", "/operator/themeinspire");
		properties.put("controller.mapping.RESOURCE_TYPE", "/operator/resourcetype");

		Whitebox.setInternalState(jsonSchemaUtil, HashMap.class, properties);
		Whitebox.invokeMethod(jsonSchemaUtil, "jsonSchemaGeneratorInit");
+4 −18
Original line number Diff line number Diff line
@@ -166,22 +166,11 @@
			"type": "object",
			"properties": {
				"id": {
					"type": [
						"integer",
						"null"
					]
					"type": ["integer", "null"]
				},
				"name": {
				"resourceType": {
					"type": "string",
					"minLength": 1,
					"maxLength": 100
				},
				"description": {
					"type": [
						"string",
						"null"
					],
					"maxLength": 1500
					"url": "/operator/resourcetype"
				},
				"urlResource": {
					"type": "string",
@@ -189,10 +178,7 @@
					"maxLength": 500
				}
			},
			"required": [
				"name",
				"urlResource"
			]
			"required": ["resourceType", "urlResource"]
		},
		"ActivityDocumentDTO": {
			"type": "object",