modify the swagger api bug 49/31049/1
authormaopengzhang <zhang.maopeng1@zte.com.cn>
Fri, 9 Feb 2018 09:54:57 +0000 (17:54 +0800)
committermaopengzhang <zhang.maopeng1@zte.com.cn>
Fri, 9 Feb 2018 09:54:57 +0000 (17:54 +0800)
add path parameter in the get method

Change-Id: I550f550413a36a89f8e5b92864e1bd53552cd7c0
Issue-ID: VFC-635
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
lcm/swagger/vfc.nslcm.swagger.json

index e8a8390..891e178 100644 (file)
         }\r
       }\r
     },\r
-    "/ns/{ns_instance_id}/heal": {\r
+    "/ns/{nsInstanceId}/heal": {\r
       "post": {\r
         "tags": [\r
           "ns"\r
             "required": true,\r
             "type": "string",\r
             "description": "Identifier of the NS instance.",\r
-            "name": "ns_instance_id",\r
+            "name": "nsInstanceId",\r
             "in": "path"\r
           },\r
           {\r
         }\r
       }\r
     },\r
-    "/ns/{ns_instance_id}/terminate": {\r
+    "/ns/{nsInstanceId}/terminate": {\r
       "post": {\r
         "tags": [\r
           "ns"\r
             "required": true,\r
             "type": "string",\r
             "description": "Identifier of the NS instance.",\r
-            "name": "ns_instance_id",\r
+            "name": "nsInstanceId",\r
             "in": "path"\r
           },\r
           {\r
         }\r
       }\r
     },\r
-    "/ns/{ns_instance_id}": {\r
+    "/ns/{nsInstanceId}": {\r
       "get": {\r
         "tags": [\r
           "ns"\r
         "summary": "ns get",\r
         "description": "ns get",\r
         "operationId": "ns_instance_get",\r
-        "parameters": [],\r
+        "parameters": [\r
+          {\r
+            "required": true,\r
+            "type": "string",\r
+            "description": "Identifier of the NS instance.",\r
+            "name": "nsInstanceId",\r
+            "in": "path"\r
+          }\r
+        ],\r
         "responses": {\r
           "200": {\r
             "description": "successful operation",\r
             "required": true,\r
             "type": "string",\r
             "description": "Identifier of the NS instance.",\r
-            "name": "ns_instance_id",\r
+            "name": "nsInstanceId",\r
             "in": "path"\r
           }\r
         ],\r