Implement health check for xApp
[ric-plt/ricdms.git] / api / ric-dms-api-2.0.yaml
index 421dbcd..f9e8434 100644 (file)
@@ -49,7 +49,6 @@ paths:
     get:
       produces:
         - application/zip
-        - text/json
       parameters:
         - in: path
           name: xApp_name
@@ -63,8 +62,7 @@ paths:
         '200':
           description: Download helm chart OK
           schema:
-            format: binary
-            type: string
+            type: file
         '500':
           description: Get helm chart values.yaml failed
           schema:
@@ -128,7 +126,6 @@ paths:
     get:
       produces:
         - application/json
-        - application/gzip
       parameters:
         - in: path
           name: xApp_name
@@ -140,11 +137,11 @@ paths:
           type: string
       responses:
         '200':
-          description: Get helm chart package OK
+          description: Get helm chart details OK
           schema:
-            type: file
+            type: object
         '500':
-          description: Get helm chart package failed
+          description: Get helm chart details failed
           schema:
             $ref: '#/definitions/error_message'
       tags:
@@ -197,7 +194,7 @@ paths:
           description: successful un-deploy xApp
           schema:
             type: object
-        '501':
+        '500':
           description: un-deployment failed
           schema:
             $ref: '#/definitions/error_message'
@@ -221,7 +218,7 @@ paths:
           description: successful deployment of xApp
           schema:
             type: object
-        '501':
+        '500':
           description: deployment failed
           schema:
             $ref: '#/definitions/error_message'