oc-workflow plantuml

This commit is contained in:
mr
2026-03-18 09:45:26 +01:00
parent 738bd10ce2
commit c3f4e9b5c4
7 changed files with 299 additions and 10 deletions

View File

@@ -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": [