From 7959da388d083b15468b266f980ff12906fbc11c Mon Sep 17 00:00:00 2001 From: Mohamed Abukar Date: Fri, 5 Jul 2019 16:21:18 +0300 Subject: [PATCH] Update HTTP status for subscriptions update Change-Id: Ib38452b1775a5059397c86e9608da4851945a92e Signed-off-by: Mohamed Abukar --- api/appmgr_rest_api.json | 8 ++++---- api/appmgr_rest_api.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/appmgr_rest_api.json b/api/appmgr_rest_api.json index 9e8f076..a6e339a 100644 --- a/api/appmgr_rest_api.json +++ b/api/appmgr_rest_api.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "description": "This is a draft API for RIC appmgr", - "version": "0.1.5", + "version": "0.1.6", "title": "RIC appmgr", "license": { "name": "Apache 2.0", @@ -394,7 +394,7 @@ ], "responses": { "204": { - "description": "Successful deletion of xApp" + "description": "Successful deletion of xApp config" }, "400": { "description": "Invalid parameters supplied" @@ -431,8 +431,8 @@ } ], "responses": { - "200": { - "description": "Subscription successful", + "201": { + "description": "Subscription successfully created", "schema": { "$ref": "#/definitions/subscriptionResponse" } diff --git a/api/appmgr_rest_api.yaml b/api/appmgr_rest_api.yaml index a15448f..de1f9bc 100644 --- a/api/appmgr_rest_api.yaml +++ b/api/appmgr_rest_api.yaml @@ -1,7 +1,7 @@ swagger: '2.0' info: description: This is a draft API for RIC appmgr - version: 0.1.5 + version: 0.1.6 title: RIC appmgr license: name: Apache 2.0 @@ -265,7 +265,7 @@ paths: $ref: '#/definitions/ConfigMetadata' responses: '204': - description: Successful deletion of xApp + description: Successful deletion of xApp config '400': description: Invalid parameters supplied '500': @@ -289,8 +289,8 @@ paths: schema: $ref: '#/definitions/subscriptionRequest' responses: - '200': - description: Subscription successful + '201': + description: Subscription successfully created schema: $ref: '#/definitions/subscriptionResponse' '400': -- 2.16.6