{ "swagger": "2.0", "info": { "title": "beego Test API", "description": "beego has a very cool tools to autogenerate documents for your API\n", "version": "1.0.0", "termsOfService": "http://beego.me/", "contact": { "email": "astaxie@gmail.com" }, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "basePath": "/oc/", "paths": { "/version/": { "get": { "tags": [ "version" ], "description": "get version\n\u003cbr\u003e", "operationId": "VersionController.GetAll", "responses": { "200": { "description": "" } } } }, "/workflow_execution/": { "get": { "tags": [ "workflow_execution" ], "description": "find workflow by workflowid\n\u003cbr\u003e", "operationId": "WorkflowExecutionController.GetAll", "responses": { "200": { "description": "{workflow} models.workflow" } } } }, "/workflow_execution/check/{start_date}/{end_date}": { "get": { "tags": [ "workflow_execution" ], "description": "check booking\n\u003cbr\u003e", "operationId": "WorkflowExecutionController.Check", "parameters": [ { "in": "path", "name": "start_date", "description": "2006-01-02T15:04:05", "type": "string", "default": "the booking start date" }, { "in": "path", "name": "end_date", "description": "2006-01-02T15:04:05", "type": "string", "default": "the booking end date" } ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/models.object" } } } } }, "/workflow_execution/search/{start_date}/{end_date}": { "get": { "tags": [ "workflow_execution" ], "description": "search workspace\n\u003cbr\u003e", "operationId": "WorkflowExecutionController.Search", "parameters": [ { "in": "path", "name": "start_date", "description": "the word search you want to get", "required": true, "type": "string" }, { "in": "path", "name": "end_date", "description": "the word search you want to get", "required": true, "type": "string" } ], "responses": { "200": { "description": "{workspace} models.workspace" } } } }, "/workflow_execution/{id}": { "get": { "tags": [ "workflow_execution" ], "description": "find workflow by workflowid\n\u003cbr\u003e", "operationId": "WorkflowExecutionController.Get", "parameters": [ { "in": "path", "name": "id", "description": "the workflowid you want to get", "required": true, "type": "string" } ], "responses": { "200": { "description": "{workflow} models.workflow" } } } } }, "definitions": { "models.object": { "title": "object", "type": "object" } }, "tags": [ { "name": "workflow_execution", "description": "Operations about workflow\n" }, { "name": "version", "description": "VersionController operations for Version\n" } ] }