oc-workflow plantuml
This commit is contained in:
@@ -101,6 +101,64 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/plantuml": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"oc-workflow/controllersWorkflowController"
|
||||
],
|
||||
"description": "parse plantuml text and return the formed workflow object\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowController.PostPlantUML",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "body",
|
||||
"name": "body",
|
||||
"description": "PlantUML text content",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/models.workflow"
|
||||
}
|
||||
},
|
||||
"406": {
|
||||
"description": "{string} string \"Bad request\""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/plantuml/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"oc-workflow/controllersWorkflowController"
|
||||
],
|
||||
"description": "export a workflow as plantuml text\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowController.GetPlantUML",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the workflow id to export",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{string} string \"PlantUML text\""
|
||||
},
|
||||
"404": {
|
||||
"description": "{string} string \"Not found\""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/publish/{id}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
|
||||
@@ -131,6 +131,48 @@ paths:
|
||||
description: ""
|
||||
schema:
|
||||
$ref: '#/definitions/models.object'
|
||||
/plantuml:
|
||||
post:
|
||||
tags:
|
||||
- oc-workflow/controllersWorkflowController
|
||||
description: |-
|
||||
parse plantuml text and return the formed workflow object
|
||||
<br>
|
||||
operationId: WorkflowController.PostPlantUML
|
||||
parameters:
|
||||
- in: body
|
||||
name: body
|
||||
description: PlantUML text content
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
schema:
|
||||
$ref: '#/definitions/models.workflow'
|
||||
"406":
|
||||
description: '{string} string "Bad request"'
|
||||
/plantuml/{id}:
|
||||
get:
|
||||
tags:
|
||||
- oc-workflow/controllersWorkflowController
|
||||
description: |-
|
||||
export a workflow as plantuml text
|
||||
<br>
|
||||
operationId: WorkflowController.GetPlantUML
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the workflow id to export
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{string} string "PlantUML text"'
|
||||
"404":
|
||||
description: '{string} string "Not found"'
|
||||
/publish/{id}:
|
||||
post:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user