Skip to content

Commit d25921c

Browse files
authored
fix(specs): Change trigger input for task update (#2147)
1 parent 12747b5 commit d25921c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

specs/ingestion/common/schemas/task.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ TaskUpdate:
9898
destinationID:
9999
$ref: './common.yml#/destinationID'
100100
trigger:
101-
$ref: '#/TriggerInput'
101+
$ref: '#/TriggerUpdateInput'
102102
input:
103103
$ref: '#/TaskInput'
104104
enabled:
@@ -151,6 +151,16 @@ TriggerInput:
151151
required:
152152
- type
153153

154+
TriggerUpdateInput:
155+
type: object
156+
additionalProperties: false
157+
description: The trigger input for a task update.
158+
properties:
159+
cron:
160+
$ref: '#/Cron'
161+
required:
162+
- cron
163+
154164
TriggerType:
155165
type: string
156166
description: >

0 commit comments

Comments
 (0)