X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=api%2Fric-dms-api-2.0.yaml;h=f9e84341a15c7d3fe1e58506b3a017036e78e5d7;hb=7193da1e75b1185e19a635227b3d2f1f721012d9;hp=7d027c6e8bffffb39ceba32bb1d5b59f19a17dc2;hpb=a54c7929be0d1ea66d36f932db327165d5e14b84;p=ric-plt%2Fricdms.git diff --git a/api/ric-dms-api-2.0.yaml b/api/ric-dms-api-2.0.yaml index 7d027c6..f9e8434 100644 --- a/api/ric-dms-api-2.0.yaml +++ b/api/ric-dms-api-2.0.yaml @@ -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: @@ -87,7 +85,9 @@ paths: '200': description: Get helm chart schema: - type: object + type: array + items: + type: object '500': description: Get helm chart failed schema: @@ -126,7 +126,6 @@ paths: get: produces: - application/json - - application/gzip parameters: - in: path name: xApp_name @@ -138,11 +137,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: @@ -195,7 +194,7 @@ paths: description: successful un-deploy xApp schema: type: object - '501': + '500': description: un-deployment failed schema: $ref: '#/definitions/error_message' @@ -219,7 +218,7 @@ paths: description: successful deployment of xApp schema: type: object - '501': + '500': description: deployment failed schema: $ref: '#/definitions/error_message' @@ -393,13 +392,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