Fix VFC swagger bug 71/8371/1
authormaopengzhang <zhang.maopeng1@zte.com.cn>
Wed, 23 Aug 2017 02:58:31 +0000 (10:58 +0800)
committermaopengzhang <zhang.maopeng1@zte.com.cn>
Wed, 23 Aug 2017 02:58:31 +0000 (10:58 +0800)
Remove the GET nspakage API and data defintion

Change-Id: Icea87ff90c7bc1d5f26425ef02050af1f66e0d18
Issue-ID: VFC-144
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
lcm/ns/swagger.json

index 6087a92..e8a1f38 100644 (file)
     ],
     "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"
                 }
             }
         },
-        "NsPackageListInfo": {
-            "type": "object",
-            "properties": {
-                "csars": {
-                    "$ref": "#/definitions/NsPkgListInfo"
-                }
-            }
-        },
-        "NsPkgListInfo": {
-            "type": "array",
-            "items": {
-                "type": "object"
-            }
-        },
+       
         "NsPackageInfo": {
             "type": "object",
             "properties": {