diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 8b083a4e9..2e9a6a64b 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -12615,6 +12615,10 @@ "reportedProblemsSearchAttribute": { "type": "boolean", "title": "True if the namespace supports reported problems search attribute" + }, + "workflowPause": { + "type": "boolean", + "title": "True if the namespace supports pausing workflows" } }, "description": "Namespace capability details. Should contain what features are enabled in a namespace." diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index f1374bfc5..045315d92 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -9344,6 +9344,9 @@ components: reportedProblemsSearchAttribute: type: boolean description: True if the namespace supports reported problems search attribute + workflowPause: + type: boolean + description: True if the namespace supports pausing workflows description: Namespace capability details. Should contain what features are enabled in a namespace. NamespaceInfo_Limits: type: object diff --git a/temporal/api/namespace/v1/message.proto b/temporal/api/namespace/v1/message.proto index 2774cc7fc..dd864df10 100644 --- a/temporal/api/namespace/v1/message.proto +++ b/temporal/api/namespace/v1/message.proto @@ -38,6 +38,8 @@ message NamespaceInfo { bool worker_heartbeats = 4; // True if the namespace supports reported problems search attribute bool reported_problems_search_attribute = 5; + // True if the namespace supports pausing workflows + bool workflow_pause = 6; } // Namespace configured limits