From: maopengzhang Date: Fri, 9 Feb 2018 09:54:57 +0000 (+0800) Subject: modify the swagger api bug X-Git-Tag: v1.1.0~143^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9586301e0f04ff26eaac0c589b1d405e61399fc1;p=vfc%2Fnfvo%2Flcm.git modify the swagger api bug add path parameter in the get method Change-Id: I550f550413a36a89f8e5b92864e1bd53552cd7c0 Issue-ID: VFC-635 Signed-off-by: maopengzhang --- diff --git a/lcm/swagger/vfc.nslcm.swagger.json b/lcm/swagger/vfc.nslcm.swagger.json index e8a83905..891e1789 100644 --- a/lcm/swagger/vfc.nslcm.swagger.json +++ b/lcm/swagger/vfc.nslcm.swagger.json @@ -166,7 +166,7 @@ } } }, - "/ns/{ns_instance_id}/heal": { + "/ns/{nsInstanceId}/heal": { "post": { "tags": [ "ns" @@ -179,7 +179,7 @@ "required": true, "type": "string", "description": "Identifier of the NS instance.", - "name": "ns_instance_id", + "name": "nsInstanceId", "in": "path" }, { @@ -208,7 +208,7 @@ } } }, - "/ns/{ns_instance_id}/terminate": { + "/ns/{nsInstanceId}/terminate": { "post": { "tags": [ "ns" @@ -221,7 +221,7 @@ "required": true, "type": "string", "description": "Identifier of the NS instance.", - "name": "ns_instance_id", + "name": "nsInstanceId", "in": "path" }, { @@ -247,7 +247,7 @@ } } }, - "/ns/{ns_instance_id}": { + "/ns/{nsInstanceId}": { "get": { "tags": [ "ns" @@ -255,7 +255,15 @@ "summary": "ns get", "description": "ns get", "operationId": "ns_instance_get", - "parameters": [], + "parameters": [ + { + "required": true, + "type": "string", + "description": "Identifier of the NS instance.", + "name": "nsInstanceId", + "in": "path" + } + ], "responses": { "200": { "description": "successful operation", @@ -277,7 +285,7 @@ "required": true, "type": "string", "description": "Identifier of the NS instance.", - "name": "ns_instance_id", + "name": "nsInstanceId", "in": "path" } ],