-
\ No newline at end of file
+{\r
+ "swagger": "2.0",\r
+ "info": {\r
+ "version": "1.0.0",\r
+ "title": "ONAP VFC Service Internal DB Rest API"\r
+ },\r
+ "basePath": "/api/nslcm/v1",\r
+ "paths": {\r
+ "/mandb/{modelName}": {\r
+ "get": {\r
+ "tags": [\r
+ "Database"\r
+ ],\r
+ "summary": "query ns table info",\r
+ "description": "query ns table info",\r
+ "operationId": "query_ns_table",\r
+ "consumes": [\r
+ "application/json"\r
+ ],\r
+ "produces": [\r
+ "application/json"\r
+ ],\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "model Name.",\r
+ "name": "modelName",\r
+ "in": "path"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "200": {\r
+ "description": "successful operation",\r
+ "schema": {\r
+ "$ref": "#/definitions/TableInfo"\r
+ }\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ },\r
+ "500": {\r
+ "description": "the url is invalid"\r
+ }\r
+ }\r
+ },\r
+ "delete": {\r
+ "tags": [\r
+ "Database"\r
+ ],\r
+ "summary": "ns table delete",\r
+ "description": "ns table delete",\r
+ "operationId": "ns_table_delete",\r
+ "consumes": [\r
+ "application/json"\r
+ ],\r
+ "produces": [\r
+ "application/json"\r
+ ],\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "model Name.",\r
+ "name": "modelName",\r
+ "in": "path"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "204": {\r
+ "description": "The tables were deleted successfully."\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "definitions": {\r
+ "TableInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "count": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ }\r
+ }\r
+}
\ No newline at end of file