From d25921cb3c9dad44bf626dbe665f65f9c77c2392 Mon Sep 17 00:00:00 2001 From: Damien Couchez Date: Wed, 18 Oct 2023 12:31:23 +0200 Subject: [PATCH] fix(specs): Change trigger input for task update (#2147) --- specs/ingestion/common/schemas/task.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/specs/ingestion/common/schemas/task.yml b/specs/ingestion/common/schemas/task.yml index 9e0e9b39e4..c67ecd6da6 100644 --- a/specs/ingestion/common/schemas/task.yml +++ b/specs/ingestion/common/schemas/task.yml @@ -98,7 +98,7 @@ TaskUpdate: destinationID: $ref: './common.yml#/destinationID' trigger: - $ref: '#/TriggerInput' + $ref: '#/TriggerUpdateInput' input: $ref: '#/TaskInput' enabled: @@ -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: >