aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2018-02-09 17:54:57 +0800
committermaopengzhang <zhang.maopeng1@zte.com.cn>2018-02-09 17:54:57 +0800
commit9586301e0f04ff26eaac0c589b1d405e61399fc1 (patch)
tree4ea5d358594978ee19c3f0b6f1a9419f59abcfea
parent726b1dc6e7830dea06ff5dee0a047282b6315af4 (diff)
modify the swagger api bug
add path parameter in the get method Change-Id: I550f550413a36a89f8e5b92864e1bd53552cd7c0 Issue-ID: VFC-635 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
-rw-r--r--lcm/swagger/vfc.nslcm.swagger.json22
1 files changed, 15 insertions, 7 deletions
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"
}
],