diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index b34d7c7fe..4e83aaf24 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -16289,7 +16289,7 @@ "properties": { "deploymentName": { "type": "string", - "description": "Required. Worker Deployment name." + "description": "Required when `worker_versioning_mode==VERSIONED`." }, "buildId": { "type": "string", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 9ee818520..84115cc6b 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14796,7 +14796,7 @@ components: properties: deploymentName: type: string - description: Required. Worker Deployment name. + description: Required when `worker_versioning_mode==VERSIONED`. buildId: type: string description: |- diff --git a/temporal/api/deployment/v1/message.proto b/temporal/api/deployment/v1/message.proto index 3973f0afb..b4b7883dd 100644 --- a/temporal/api/deployment/v1/message.proto +++ b/temporal/api/deployment/v1/message.proto @@ -18,7 +18,7 @@ import "temporal/api/common/v1/message.proto"; // Worker Deployment options set in SDK that need to be sent to server in every poll. // Experimental. Worker Deployments are experimental and might significantly change in the future. message WorkerDeploymentOptions { - // Required. Worker Deployment name. + // Required when `worker_versioning_mode==VERSIONED`. string deployment_name = 1; // The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case, // the worker will be part of a Deployment Version.