From 9c35fe82d67bf269c5064034ed996a936ed640e7 Mon Sep 17 00:00:00 2001 From: mounicasagi Date: Tue, 5 Jan 2021 14:03:25 +0530 Subject: [PATCH] Mounica | change /hi-services/{service-id} api specification --- contracts/gateway.yaml | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/contracts/gateway.yaml b/contracts/gateway.yaml index a51fbe2..5c6e007 100644 --- a/contracts/gateway.yaml +++ b/contracts/gateway.yaml @@ -4513,22 +4513,53 @@ components: type: $ref: '#/components/schemas/ServiceRole' endpoints: - type: array - items: $ref: '#/components/schemas/Endpoint' active: type: boolean xml: name: ServiceProfileResponse Endpoint: + type: object + properties: + hipEndpoints: + type: array + items: + $ref: '#/components/schemas/EndpointDetails' + hiuEndpoints: + type: array + items: + $ref: '#/components/schemas/EndpointDetails' + healthLockerEndpoints: + type: array + items: + $ref: '#/components/schemas/EndpointDetails' + xml: + name: Endpoint + EndpointDetails: type: object properties: use: - type: string + $ref: '#/components/schemas/EndpointUse' connectionType: - type: string + $ref: '#/components/schemas/EndpointConnectionType' address: type: string + xml: + name: EndpointDetails + EndpointUse: + type: string + enum: + - registration + - data-upload + xml: + name: EndpointUse + EndpointConnectionType: + type: string + enum: + - HTTPS + - APP + xml: + name: EndpointConnectionType ServiceRole: type: string enum: [HIP, HIU, HIP_AND_HIU, HEALTH_LOCKER] \ No newline at end of file