From: Amichai Date: Mon, 2 Dec 2019 14:59:07 +0000 (+0200) Subject: [RICPLT-2813] Update Swagger: /e2t/list X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;ds=inline;h=3da846d52012fe6fc60228c5e94928d3588eae6b;p=ric-plt%2Fe2mgr.git [RICPLT-2813] Update Swagger: /e2t/list Change-Id: Ib396445d8452abd2f63eb9673a01b4675b43ff95 Signed-off-by: Amichai --- diff --git a/Swagger/E2Manager_API.yaml b/Swagger/E2Manager_API.yaml index 685ac2d..65d5014 100644 --- a/Swagger/E2Manager_API.yaml +++ b/Swagger/E2Manager_API.yaml @@ -20,7 +20,7 @@ openapi: 3.0.0 info: title: E2 Manager Service description: E2 Manager Service APIs - version: 2.0.5 + version: 3.0.3 servers: - url: 'http://{apiRoot}/v1' variables: @@ -205,6 +205,26 @@ paths: responses: '200': description: OK + /e2t/list: + get: + tags: + - e2t + summary: Gets a list of all E2T Instances address and their associated RANs + responses: + '200': + description: Successful operation + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/E2tIdentity' + '500': + description: Internal Error + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' components: schemas: SetupRequest: @@ -919,3 +939,27 @@ radioNetwork:pDCP-Overload] errorMessage: type: string description: Human readable text + E2tIdentity: + type: object + required: + - e2tAddress + - ranNames + properties: + e2tAddress: + type: string + ranNames: + items: + type: string + type: array + E2tErrorResponse: + type: object + required: + - errorCode + - errorMessage + properties: + errorCode: + type: string + description: '500 - RNIB error, 501 - internal problem' + errorMessage: + type: string + description: Human readable text \ No newline at end of file