Skip to content

Commit

Permalink
fix(specs): Change trigger input for task update (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
damcou authored Oct 18, 2023
1 parent 12747b5 commit d25921c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion specs/ingestion/common/schemas/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ TaskUpdate:
destinationID:
$ref: './common.yml#/destinationID'
trigger:
$ref: '#/TriggerInput'
$ref: '#/TriggerUpdateInput'
input:
$ref: '#/TaskInput'
enabled:
Expand Down Expand Up @@ -151,6 +151,16 @@ TriggerInput:
required:
- type

TriggerUpdateInput:
type: object
additionalProperties: false
description: The trigger input for a task update.
properties:
cron:
$ref: '#/Cron'
required:
- cron

TriggerType:
type: string
description: >
Expand Down

0 comments on commit d25921c

Please sign in to comment.