summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2017-08-23 10:58:31 +0800
committermaopengzhang <zhang.maopeng1@zte.com.cn>2017-08-23 10:58:31 +0800
commitf1c40075a52847e632feb050700cf7fe87e8cc4b (patch)
tree4f14b360be183be811deed7c8afab6c35946cdb3
parent8107557f8ab5272fcf83a38d95fe4f2e129061e8 (diff)
Fix VFC swagger bug
Remove the GET nspakage API and data defintion Change-Id: Icea87ff90c7bc1d5f26425ef02050af1f66e0d18 Issue-ID: VFC-144 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
-rw-r--r--lcm/ns/swagger.json42
1 files changed, 1 insertions, 41 deletions
diff --git a/lcm/ns/swagger.json b/lcm/ns/swagger.json
index 6087a92e..e8a1f388 100644
--- a/lcm/ns/swagger.json
+++ b/lcm/ns/swagger.json
@@ -12,33 +12,6 @@
],
"paths": {
"/nspackage": {
- "get": {
- "tags": [
- "ns package Resource"
- ],
- "summary": "query ns package info",
- "description": "query ns package info",
- "operationId": "query_ns_package",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "$ref": "#/definitions/NsPackageListInfo"
- }
- },
- "500": {
- "description": "internal error"
- }
- }
- },
"post": {
"tags": [
"ns package Resource"
@@ -972,20 +945,7 @@
}
}
},
- "NsPackageListInfo": {
- "type": "object",
- "properties": {
- "csars": {
- "$ref": "#/definitions/NsPkgListInfo"
- }
- }
- },
- "NsPkgListInfo": {
- "type": "array",
- "items": {
- "type": "object"
- }
- },
+
"NsPackageInfo": {
"type": "object",
"properties": {