diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 5fe09704e..3fc37019d 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -8936,6 +8936,10 @@ "identity": { "type": "string", "title": "The identity of the worker/client" + }, + "resetOptions": { + "$ref": "#/definitions/v1ResetOptions", + "description": "Describes where to reset to and how. If set, `workflow_task_finish_event_id` is ignored." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 51d896b69..94fc256c6 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -11898,6 +11898,10 @@ components: identity: type: string description: The identity of the worker/client + resetOptions: + allOf: + - $ref: '#/components/schemas/ResetOptions' + description: Describes where to reset to and how. If set, `workflow_task_finish_event_id` is ignored. ResetWorkflowExecutionResponse: type: object properties: diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index 18c27d854..652a0ffaa 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -830,6 +830,8 @@ message ResetWorkflowExecutionRequest { repeated temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8; // The identity of the worker/client string identity = 9; + // Describes where to reset to and how. If set, `workflow_task_finish_event_id` is ignored. + temporal.api.common.v1.ResetOptions reset_options = 10; } message ResetWorkflowExecutionResponse {