From: maopengzhang Date: Wed, 23 Aug 2017 02:58:31 +0000 (+0800) Subject: Fix VFC swagger bug X-Git-Tag: v1.0.0~146^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F8371%2F1;p=vfc%2Fnfvo%2Flcm.git Fix VFC swagger bug Remove the GET nspakage API and data defintion Change-Id: Icea87ff90c7bc1d5f26425ef02050af1f66e0d18 Issue-ID: VFC-144 Signed-off-by: maopengzhang --- 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": {