summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2017-08-19 23:54:35 +0800
committermaopeng zhang <zhang.maopeng1@zte.com.cn>2017-08-19 17:32:20 +0000
commit2ba0a2baf53890db419dcca0dc044358afc2c190 (patch)
tree7aecb79f2f2d65d06e1c56ee3106261d75b8addf
parentd1b52d475a5f17b3ee2e069de17ccb6c5e34cd49 (diff)
Fix VFC swagger bug
Fix VFC swagger title;Fix NS Scale swagger bug; Change-Id: Id8582db9264ed5055b0dd66db8217878f7f92319 Issue-ID: VFC-117 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
-rw-r--r--lcm/ns/swagger.json24
1 files changed, 10 insertions, 14 deletions
diff --git a/lcm/ns/swagger.json b/lcm/ns/swagger.json
index 301dc164..6087a92e 100644
--- a/lcm/ns/swagger.json
+++ b/lcm/ns/swagger.json
@@ -2,12 +2,12 @@
"swagger": "2.0",
"info": {
"version": "1.0.0",
- "title": "ZTE vManager Service rest API"
+ "title": "ONAP VFC Service Rest API"
},
"basePath": "/api/nslcm/v1",
"tags": [
{
- "name": "lcm Resource"
+ "name": "vfc nslcm resource"
}
],
"paths": {
@@ -675,20 +675,13 @@
"name": "nsInstanceId",
"in": "path"
},
- {
- "required": true,
- "type": "Enum",
- "description": "",
- "name": "scaleType",
- "in": "body"
- },
{
"in": "body",
- "name": "scaleNsData",
- "description": "scaleNsData",
+ "name": "ScaleNSRequest",
+ "description": "Scale NS Request Body",
"required": true,
"schema": {
- "$ref": "#/definitions/ScaleNsData"
+ "$ref": "#/definitions/ScaleNsRequest"
}
}
],
@@ -1417,9 +1410,12 @@
}
}
},
- "ScaleNsData": {
+ "ScaleNsRequest": {
"type": "object",
"properties": {
+ "scaleType":{
+ "type": "string"
+ },
"scaleNsByStepsData": {
"$ref": "#/definitions/ScaleNsByStepsData"
}
@@ -1429,7 +1425,7 @@
"type": "object",
"properties": {
"scalingDirection": {
- "type": "Enum"
+ "type": "string"
},
"aspectId": {
"type": "string"