From 14fd5d85f3ccb3465e76a70ad0ce7a24e807037c Mon Sep 17 00:00:00 2001 From: Faber Murillo Date: Thu, 8 Aug 2019 16:46:57 +0000 Subject: [PATCH] Update medicamentos-direccion.json --- app-medicamentos/medicamentos-direccion.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-medicamentos/medicamentos-direccion.json b/app-medicamentos/medicamentos-direccion.json index cde8cb0..950e222 100644 --- a/app-medicamentos/medicamentos-direccion.json +++ b/app-medicamentos/medicamentos-direccion.json @@ -1 +1 @@ -{"swagger":"2.0","info":{"version":"1.0.0","title":"Información de los servicios de medicamentos pedidos"},"host":"localhost","basePath":"/","tags":[{"name":"address-controller-service","description":"Address Controller Service"}],"paths":{"/direccion/consultarDireccionIdPaciente":{"get":{"tags":["address-controller-service"],"summary":"getAddressByIdPatient","operationId":"getAddressByIdPatientUsingGET","produces":["application/json"],"parameters":[{"name":"id","in":"query","description":"id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Address"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"apiKey":["global"]}]}},"/direccion/consultarDireccionPorPaciente":{"get":{"tags":["address-controller-service"],"summary":"Consulta las dirreciones del paciente","operationId":"getAddressByPatientUsingGET","produces":["application/json"],"parameters":[{"name":"identification_type","in":"query","description":"Tipo identificación paciente","required":false,"type":"string"},{"name":"identification","in":"query","description":"Identificación paciente","required":false,"type":"string"},{"name":"available","in":"query","description":"Direcciones activas 1(si), 0(no)","required":false,"type":"string","default":"1"},{"name":"idPharmacy","in":"query","description":"Id de la droguería, si la dirección pertenece a una droguería","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Address"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"apiKey":["global"]}]}},"/direccion/crearDireccion":{"post":{"tags":["address-controller-service"],"summary":"Crea una dirección","operationId":"createAddressUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"address","description":"address","required":true,"schema":{"$ref":"#/definitions/Address"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Address"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"apiKey":["global"]}]}}},"securityDefinitions":{"apiKey":{"type":"apiKey","name":"Authorization","in":"header"}},"definitions":{"Address":{"type":"object","properties":{"address":{"type":"string"},"available":{"type":"string"},"channel":{"type":"string"},"comments":{"type":"string"},"idAddress":{"type":"integer","format":"int32"},"idCity":{"type":"string"},"idPatient":{"type":"integer","format":"int32"},"idPharmacy":{"type":"string"},"identification":{"type":"string"},"identificationType":{"type":"string"},"name":{"type":"string"}},"title":"Address"}}} \ No newline at end of file +{"swagger":"2.0","info":{"version":"1.0.0","title":"Información de los servicios de medicamentos pedidos"},"host":"40.117.63.112/ordermedbackend","basePath":"/","tags":[{"name":"address-controller-service","description":"Address Controller Service"}],"paths":{"/direccion/consultarDireccionIdPaciente":{"get":{"tags":["address-controller-service"],"summary":"getAddressByIdPatient","operationId":"getAddressByIdPatientUsingGET","produces":["application/json"],"parameters":[{"name":"id","in":"query","description":"id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Address"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"apiKey":["global"]}]}},"/direccion/consultarDireccionPorPaciente":{"get":{"tags":["address-controller-service"],"summary":"Consulta las dirreciones del paciente","operationId":"getAddressByPatientUsingGET","produces":["application/json"],"parameters":[{"name":"identification_type","in":"query","description":"Tipo identificación paciente","required":false,"type":"string"},{"name":"identification","in":"query","description":"Identificación paciente","required":false,"type":"string"},{"name":"available","in":"query","description":"Direcciones activas 1(si), 0(no)","required":false,"type":"string","default":"1"},{"name":"idPharmacy","in":"query","description":"Id de la droguería, si la dirección pertenece a una droguería","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Address"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"apiKey":["global"]}]}},"/direccion/crearDireccion":{"post":{"tags":["address-controller-service"],"summary":"Crea una dirección","operationId":"createAddressUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"address","description":"address","required":true,"schema":{"$ref":"#/definitions/Address"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Address"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"apiKey":["global"]}]}}},"securityDefinitions":{"apiKey":{"type":"apiKey","name":"Authorization","in":"header"}},"definitions":{"Address":{"type":"object","properties":{"address":{"type":"string"},"available":{"type":"string"},"channel":{"type":"string"},"comments":{"type":"string"},"idAddress":{"type":"integer","format":"int32"},"idCity":{"type":"string"},"idPatient":{"type":"integer","format":"int32"},"idPharmacy":{"type":"string"},"identification":{"type":"string"},"identificationType":{"type":"string"},"name":{"type":"string"}},"title":"Address"}}} \ No newline at end of file -- libgit2 0.26.0