Swagger API update 19/5319/1
authorMohamed Abukar <abukar.mohamed@nokia.com>
Fri, 11 Dec 2020 14:42:55 +0000 (16:42 +0200)
committerMohamed Abukar <abukar.mohamed@nokia.com>
Fri, 11 Dec 2020 14:43:33 +0000 (16:43 +0200)
Change-Id: I297fbc5b38572687cb456cc04702909c9b1e408e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
api/xapp_rest_api.yaml

index e229422..6f7211e 100755 (executable)
@@ -19,6 +19,7 @@ paths:
       operationId: getXappConfigList
       produces:
         - application/json
+        - application/xml
       responses:
         '200':
           description: successful query of xApp config
@@ -115,6 +116,22 @@ paths:
         '500':
           description: Internal error
 definitions:
+  ConfigMetadata:
+    type: object
+    required:
+      - xappName
+      - configType
+    properties:
+      xappName:
+        type: string
+        description: Name of the xApp
+      configType:
+        type: string
+        description: The type of the content
+        enum:
+        - json
+        - xml
+        - other
   XAppConfig:
     type: object
     required: