From 6272d2cd7d3bd20c584a2fa592eaebdbfe26d476 Mon Sep 17 00:00:00 2001 From: Stephan Behnke Date: Wed, 21 Aug 2024 15:15:54 -0700 Subject: [PATCH] Document invalid workflow_start_delay option (#446) --- openapi/openapiv2.json | 2 +- openapi/openapiv3.yaml | 1 + temporal/api/workflowservice/v1/request_response.proto | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 4a5ab1d6..39ca265b 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -4725,7 +4725,7 @@ "properties": { "startWorkflow": { "$ref": "#/definitions/v1StartWorkflowExecutionRequest", - "title": "Additional restrictions:\n- setting `cron_schedule` is invalid\n- setting `request_eager_execution` is invalid" + "title": "Additional restrictions:\n- setting `cron_schedule` is invalid\n- setting `request_eager_execution` is invalid\n- setting `workflow_start_delay` is invalid" }, "updateWorkflow": { "$ref": "#/definitions/v1UpdateWorkflowExecutionRequest", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 6d9d73fa..a1994628 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -5234,6 +5234,7 @@ components: Additional restrictions: - setting `cron_schedule` is invalid - setting `request_eager_execution` is invalid + - setting `workflow_start_delay` is invalid updateWorkflow: allOf: - $ref: '#/components/schemas/UpdateWorkflowExecutionRequest' diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index e086d72f..ad5918b0 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -1632,6 +1632,7 @@ message ExecuteMultiOperationRequest { // Additional restrictions: // - setting `cron_schedule` is invalid // - setting `request_eager_execution` is invalid + // - setting `workflow_start_delay` is invalid StartWorkflowExecutionRequest start_workflow = 1; // Additional restrictions: