Fix get charts API
[ric-plt/ricdms.git] / api / ric-dms-api-2.0.yaml
index 7d027c6..ff55bf9 100644 (file)
@@ -87,7 +87,9 @@ paths:
         '200':
           description: Get helm chart
           schema:
-            type: object
+            type: array
+            items:
+              type: object
         '500':
           description: Get helm chart failed
           schema:
@@ -126,7 +128,6 @@ paths:
     get:
       produces:
         - application/json
-        - application/gzip
       parameters:
         - in: path
           name: xApp_name
@@ -138,11 +139,11 @@ paths:
           type: string
       responses:
         '200':
-          description: Get helm chart package OK
+          description: Get helm chart details OK
           schema:
             type: object
         '500':
-          description: Get helm chart package failed
+          description: Get helm chart details failed
           schema:
             $ref: '#/definitions/error_message'
       tags:
@@ -393,13 +394,13 @@ definitions:
     properties:
       config:
         description: represents content of config file for xApp onboarding.
-        type: string
+        type: object
       config-file_url:
         description: specify url of config-file.
         type: string
       schema:
         description: represents conent of schema file for xApp onboarding.
-        type: string
+        type: object
       schema-file_url:
         description: specify url of schema-file.
         type: string