Update HTTP status for subscriptions update 75/475/1
authorMohamed Abukar <abukar.mohamed@nokia.com>
Fri, 5 Jul 2019 13:21:18 +0000 (16:21 +0300)
committerMohamed Abukar <abukar.mohamed@nokia.com>
Fri, 5 Jul 2019 13:21:22 +0000 (16:21 +0300)
Change-Id: Ib38452b1775a5059397c86e9608da4851945a92e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
api/appmgr_rest_api.json
api/appmgr_rest_api.yaml

index 9e8f076..a6e339a 100644 (file)
@@ -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",
         ],
         "responses": {
           "204": {
-            "description": "Successful deletion of xApp"
+            "description": "Successful deletion of xApp config"
           },
           "400": {
             "description": "Invalid parameters supplied"
           }
         ],
         "responses": {
-          "200": {
-            "description": "Subscription successful",
+          "201": {
+            "description": "Subscription successfully created",
             "schema": {
               "$ref": "#/definitions/subscriptionResponse"
             }
index a15448f..de1f9bc 100644 (file)
@@ -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':