summaryrefslogtreecommitdiffstats
path: root/swagger_restconfcollector.json
diff options
context:
space:
mode:
authormukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>2020-07-22 17:51:38 +0530
committermukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>2020-07-24 15:29:47 +0530
commit82cc8ead6b2d25336f9b346d021e87983b2d9887 (patch)
tree0d810857f3ab16e81c062c7cf9d6d37f6699d2ea /swagger_restconfcollector.json
parentdb410668b9e3eca991a55d5ed43981ade4978689 (diff)
RESTConf java upgrade
Issue-ID: DCAEGEN2-2281 Signed-off-by: mukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com> Change-Id: I4c9f3cab5dc8f27b63b4245fa3a74dcbfaf8051f
Diffstat (limited to 'swagger_restconfcollector.json')
-rw-r--r--swagger_restconfcollector.json315
1 files changed, 315 insertions, 0 deletions
diff --git a/swagger_restconfcollector.json b/swagger_restconfcollector.json
new file mode 100644
index 0000000..964e8b4
--- /dev/null
+++ b/swagger_restconfcollector.json
@@ -0,0 +1,315 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "Api Documentation",
+ "version": "1.2.2",
+ "title": "Api Documentation",
+ "termsOfService": "urn:tos",
+ "contact": {},
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0"
+ }
+ },
+ "host": "localhost:8080",
+ "basePath": "/",
+ "tags": [{
+ "name": "restconf-colletcor",
+ "description": "Generic Restconf event Colletcor"
+ }, {
+ "name": "restconf-Colletcor",
+ "description": "Restconf Colletcor"
+ }],
+ "paths": {
+ "/": {
+ "get": {
+ "tags": ["restconf-colletcor"],
+ "summary": "mainPage",
+ "operationId": "mainPageUsingGET",
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ }
+ },
+ "/error": {
+ "get": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingGET",
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ },
+ "head": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingHEAD",
+ "consumes": ["application/json"],
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ }
+ }
+ },
+ "post": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingPOST",
+ "consumes": ["application/json"],
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "201": {
+ "description": "Created"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ },
+ "put": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingPUT",
+ "consumes": ["application/json"],
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "201": {
+ "description": "Created"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ },
+ "delete": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingDELETE",
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ }
+ }
+ },
+ "options": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingOPTIONS",
+ "consumes": ["application/json"],
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ }
+ }
+ },
+ "patch": {
+ "tags": ["basic-error-controller"],
+ "summary": "error",
+ "operationId": "errorUsingPATCH",
+ "consumes": ["application/json"],
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ }
+ }
+ }
+ },
+ "/healthcheck": {
+ "get": {
+ "tags": ["basic-healthcheck"],
+ "summary": "healthcheckHtml",
+ "operationId": "healthcheckUsingGET",
+ "produces": ["*/*"],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized"
+ },
+ "403": {
+ "description": "Forbidden"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ModelAndView": {
+ "type": "object",
+ "properties": {
+ "empty": {
+ "type": "boolean"
+ },
+ "model": {
+ "type": "object"
+ },
+ "modelMap": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "reference": {
+ "type": "boolean"
+ },
+ "status": {
+ "type": "string",
+ "enum": ["100", "101", "102", "103", "200", "201", "202", "203", "204", "205", "206", "207", "208", "226", "300", "301", "302", "303", "304", "305", "307", "308", "400", "401", "402", "403", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421", "422", "423", "424", "426", "428", "429", "431", "451", "500", "501", "502", "503", "504", "505", "506", "507", "508", "509", "510", "511"]
+ },
+ "view": {
+ "$ref": "#/definitions/View"
+ },
+ "viewName": {
+ "type": "string"
+ }
+ },
+ "title": "ModelAndView"
+ },
+ "View": {
+ "type": "object",
+ "properties": {
+ "contentType": {
+ "type": "string"
+ }
+ },
+ "title": "View"
+ }
+ }
+} \ No newline at end of file