Neo Oc-Scheduler

This commit is contained in:
mr
2024-10-15 10:55:07 +02:00
parent 092c1cc403
commit 5244676987
8 changed files with 125 additions and 115 deletions

View File

@@ -15,6 +15,50 @@
},
"basePath": "/oc/",
"paths": {
"/": {
"get": {
"tags": [
"oc-scheduler/controllersWorkflowExecutionController"
],
"description": "find workflow by workflowid\n\u003cbr\u003e",
"operationId": "WorkflowExecutionController.GetAll",
"responses": {
"200": {
"description": "{workflow} models.workflow"
}
}
}
},
"/search/{start_date}/{end_date}": {
"get": {
"tags": [
"oc-scheduler/controllersWorkflowExecutionController"
],
"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"
}
}
}
},
"/version/": {
"get": {
"tags": [
@@ -43,54 +87,10 @@
}
}
},
"/workflow_execution/": {
"/{id}": {
"get": {
"tags": [
"workflow_execution"
],
"description": "find workflow by workflowid\n\u003cbr\u003e",
"operationId": "WorkflowExecutionController.GetAll",
"responses": {
"200": {
"description": "{workflow} models.workflow"
}
}
}
},
"/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"
"oc-scheduler/controllersWorkflowExecutionController"
],
"description": "find workflow by workflowid\n\u003cbr\u003e",
"operationId": "WorkflowExecutionController.Get",
@@ -113,7 +113,7 @@
},
"tags": [
{
"name": "workflow_execution",
"name": "oc-scheduler/controllersWorkflowExecutionController",
"description": "Operations about workflow\n"
},
{

View File

@@ -12,6 +12,56 @@ info:
url: https://opensource.org/license/mit
basePath: /oc/
paths:
/:
get:
tags:
- oc-scheduler/controllersWorkflowExecutionController
description: |-
find workflow by workflowid
<br>
operationId: WorkflowExecutionController.GetAll
responses:
"200":
description: '{workflow} models.workflow'
/{id}:
get:
tags:
- oc-scheduler/controllersWorkflowExecutionController
description: |-
find workflow by workflowid
<br>
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'
/search/{start_date}/{end_date}:
get:
tags:
- oc-scheduler/controllersWorkflowExecutionController
description: |-
search workspace
<br>
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'
/version/:
get:
tags:
@@ -34,58 +84,8 @@ paths:
responses:
"200":
description: ""
/workflow_execution/:
get:
tags:
- workflow_execution
description: |-
find workflow by workflowid
<br>
operationId: WorkflowExecutionController.GetAll
responses:
"200":
description: '{workflow} models.workflow'
/workflow_execution/{id}:
get:
tags:
- workflow_execution
description: |-
find workflow by workflowid
<br>
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'
/workflow_execution/search/{start_date}/{end_date}:
get:
tags:
- workflow_execution
description: |-
search workspace
<br>
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'
tags:
- name: workflow_execution
- name: oc-scheduler/controllersWorkflowExecutionController
description: |
Operations about workflow
- name: version