mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-01 23:20:09 -05:00
Feat: dynamic crons fixes (#1073)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user