Feat: dynamic crons fixes (#1073)

This commit is contained in:
Gabe Ruttner
2024-11-26 07:47:30 -08:00
committed by GitHub
parent 8da776f5e9
commit 23201665a6
12 changed files with 574 additions and 521 deletions
@@ -843,24 +843,12 @@ scheduledCreate:
format: uuid
minLength: 36
maxLength: 36
- description: The workflow id
- description: The workflow name
in: path
name: workflow
required: true
schema:
type: string
format: uuid
minLength: 36
maxLength: 36
- description: The workflow version. If not supplied, the latest version is fetched.
in: query
name: version
required: false
schema:
type: string
format: uuid
minLength: 36
maxLength: 36
requestBody:
content:
application/json:
@@ -1201,7 +1189,7 @@ crons:
cronsCreate:
post:
x-resources: ["tenant", "workflow"]
x-resources: ["tenant"]
description: Create a new cron job workflow trigger for a tenant
operationId: cron-workflow-trigger:create
parameters:
@@ -1214,24 +1202,12 @@ cronsCreate:
format: uuid
minLength: 36
maxLength: 36
- description: The workflow id
- description: The workflow name
in: path
name: workflow
required: true
schema:
type: string
format: uuid
minLength: 36
maxLength: 36
- description: The workflow version. If not supplied, the latest version is fetched.
in: query
name: version
required: false
schema:
type: string
format: uuid
minLength: 36
maxLength: 36
requestBody:
content:
application/json: