[RICPLT-2813] Update Swagger: /e2t/list 02/1902/1
authorAmichai <amichai.sichel@intl.att.com>
Mon, 2 Dec 2019 14:59:07 +0000 (16:59 +0200)
committerAmichai <amichai.sichel@intl.att.com>
Mon, 2 Dec 2019 14:59:24 +0000 (16:59 +0200)
Change-Id: Ib396445d8452abd2f63eb9673a01b4675b43ff95
Signed-off-by: Amichai <amichai.sichel@intl.att.com>
Swagger/E2Manager_API.yaml

index 685ac2d..65d5014 100644 (file)
@@ -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