This commit is contained in:
mr
2025-02-11 11:29:28 +01:00
parent 2a331bdf8f
commit d1e5b59eb9
9 changed files with 229 additions and 45 deletions

View File

@@ -133,10 +133,40 @@
"/workflow/{id}": {
"post": {
"tags": [
"oc-scheduler/controllersWorkflowExecutionController"
"workflow"
],
"description": "schedule workflow\n\u003cbr\u003e",
"operationId": "WorkflowExecutionController.ScheduleWorkflow",
"operationId": "WorkflowSchedulerController.Schedule",
"parameters": [
{
"in": "path",
"name": "id",
"description": "id execution",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "body",
"description": "The compute content",
"required": true,
"schema": {
"$ref": "#/definitions/models.compute"
}
}
],
"responses": {
"200": {
"description": "{workspace} models.workspace"
}
}
},
"delete": {
"tags": [
"workflow"
],
"description": "schedule workflow\n\u003cbr\u003e",
"operationId": "WorkflowSchedulerController.UnSchedule",
"parameters": [
{
"in": "path",
@@ -197,6 +227,10 @@
"name": "oc-scheduler/controllersWorkflowExecutionController",
"description": "Operations about workflow\n"
},
{
"name": "workflow",
"description": "Operations about workflow\n"
},
{
"name": "version",
"description": "VersionController operations for Version\n"

View File

@@ -117,11 +117,33 @@ paths:
/workflow/{id}:
post:
tags:
- oc-scheduler/controllersWorkflowExecutionController
- workflow
description: |-
schedule workflow
<br>
operationId: WorkflowExecutionController.ScheduleWorkflow
operationId: WorkflowSchedulerController.Schedule
parameters:
- in: path
name: id
description: id execution
required: true
type: string
- in: body
name: body
description: The compute content
required: true
schema:
$ref: '#/definitions/models.compute'
responses:
"200":
description: '{workspace} models.workspace'
delete:
tags:
- workflow
description: |-
schedule workflow
<br>
operationId: WorkflowSchedulerController.UnSchedule
parameters:
- in: path
name: id
@@ -145,6 +167,9 @@ tags:
- name: oc-scheduler/controllersWorkflowExecutionController
description: |
Operations about workflow
- name: workflow
description: |
Operations about workflow
- name: version
description: |
VersionController operations for Version