diff options
Diffstat (limited to 'ms/vlantag-api/src/main/resources/META-INF/resources/swagger-ui/dist/swagger.json')
-rw-r--r-- | ms/vlantag-api/src/main/resources/META-INF/resources/swagger-ui/dist/swagger.json | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/ms/vlantag-api/src/main/resources/META-INF/resources/swagger-ui/dist/swagger.json b/ms/vlantag-api/src/main/resources/META-INF/resources/swagger-ui/dist/swagger.json new file mode 100644 index 00000000..8f3ca122 --- /dev/null +++ b/ms/vlantag-api/src/main/resources/META-INF/resources/swagger-ui/dist/swagger.json @@ -0,0 +1,161 @@ +{
+ "swagger" : "2.0",
+ "info" : {
+ "version" : "0.0.1-SNAPSHOT",
+ "title" : "vlantag-api Service"
+ },
+ "basePath" : "/vlantagapi",
+ "schemes" : [ "http", "https" ],
+ "paths" : {
+ "/v1/assign" : {
+ "post" : {
+ "operationId" : "assignVlanTag",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "successful operation",
+ "schema" : {
+ "$ref" : "#/definitions/AssignVlanTagResponse"
+ }
+ }
+ }
+ }
+ },
+ "/v1/ping/{name}" : {
+ "get" : {
+ "operationId" : "getPing",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "successful operation",
+ "schema" : {
+ "$ref" : "#/definitions/PingResponse"
+ }
+ }
+ }
+ }
+ },
+ "/v1/unassign" : {
+ "post" : {
+ "operationId" : "unassignVlanTag",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "successful operation",
+ "schema" : {
+ "$ref" : "#/definitions/UnassignVlanTagResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions" : {
+ "AssignVlanTagResponse" : {
+ "type" : "object",
+ "properties" : {
+ "output" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/AssignVlanTagResponseOutput"
+ }
+ },
+ "error-code" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "error-message" : {
+ "type" : "string"
+ }
+ }
+ },
+ "AssignVlanTagResponseOutput" : {
+ "type" : "object",
+ "properties" : {
+ "resource-name" : {
+ "type" : "string"
+ },
+ "resource-value" : {
+ "type" : "string"
+ },
+ "resource-vlan-role" : {
+ "type" : "string"
+ },
+ "stored-elements" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/VlanTag"
+ }
+ }
+ }
+ },
+ "PingResponse" : {
+ "type" : "object",
+ "properties" : {
+ "message" : {
+ "type" : "string"
+ }
+ }
+ },
+ "UnassignVlanTagResponse" : {
+ "type" : "object",
+ "properties" : {
+ "output" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/UnassignVlanTagResponseOutput"
+ }
+ },
+ "error-code" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "error-message" : {
+ "type" : "string"
+ }
+ }
+ },
+ "UnassignVlanTagResponseOutput" : {
+ "type" : "object",
+ "properties" : {
+ "vlan-type" : {
+ "type" : "string"
+ },
+ "key" : {
+ "type" : "string"
+ },
+ "vlantag-name" : {
+ "type" : "string"
+ }
+ }
+ },
+ "VlanTag" : {
+ "type" : "object",
+ "properties" : {
+ "vlan-uuid" : {
+ "type" : "string"
+ },
+ "vlantag-name" : {
+ "type" : "string"
+ },
+ "vlantag-value" : {
+ "type" : "string"
+ },
+ "element-vlan-role" : {
+ "type" : "string"
+ }
+ }
+ },
+ "VlantagApiService" : {
+ "type" : "object"
+ }
+ }
+}
\ No newline at end of file |