diff --git a/apigee/salud-afiliados.json b/apigee/salud-afiliados.json index 59f36db..e30a535 100644 --- a/apigee/salud-afiliados.json +++ b/apigee/salud-afiliados.json @@ -186,7 +186,7 @@ "name": "tipoId", "in": "query", "description": "tipo de documento.", - "required": false, + "required": true, "schema": { "type": "string" } @@ -195,7 +195,7 @@ "name": "numId", "in": "query", "description": "numero de documento.", - "required": false, + "required": true, "schema": { "type": "string" } @@ -360,13 +360,8 @@ "sede": { "$ref": "#/components/schemas/sede" }, - "responsable": { - "type": "string", - "description": "usuario valida" - }, - "firmaResponsable": { - "type": "string", - "description": "usuario firma" + "responsable": { + "$ref": "#/components/schemas/responsable" }, "codigoDatalap": { "type": "string", @@ -543,14 +538,27 @@ } } }, + "responsable": { + "type": "object", + "properties": { + "nombre": { + "type": "string", + "description": "" + }, + "firma": { + "type": "string", + "description": "" + } + } + }, "prueba": { "type": "object", "properties": { - "idPrueba": { + "id": { "type": "string", "description": "" }, - "nombrePrueba": { + "nombre": { "type": "string", "description": "" }