From 246f8200670437c7b9f3c80f4defe6b0237eea91 Mon Sep 17 00:00:00 2001 From: Cristian Camargo Date: Wed, 14 Aug 2019 11:37:51 -0500 Subject: [PATCH] se realiza ajuste para idime-salud-orden agregar obligatoriedad de paramentros --- apigee/salud-afiliados.json | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) 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": "" } -- libgit2 0.26.0