Skip to content

Commit 7829554

Browse files
committed
restore deleted comments about meaning of unversioned
1 parent 7e3392d commit 7829554

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

openapi/openapiv2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7594,7 +7594,8 @@
75947594
"$ref": "#/definitions/v1WorkerDeploymentVersion"
75957595
},
75967596
"unversionedDeploymentName": {
7597-
"type": "string"
7597+
"type": "string",
7598+
"title": "Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)"
75987599
},
75997600
"conflictToken": {
76007601
"type": "string",
@@ -7627,7 +7628,8 @@
76277628
"$ref": "#/definitions/v1WorkerDeploymentVersion"
76287629
},
76297630
"unversionedDeploymentName": {
7630-
"type": "string"
7631+
"type": "string",
7632+
"title": "Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)"
76317633
},
76327634
"percentage": {
76337635
"type": "number",

openapi/openapiv3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10461,6 +10461,7 @@ components:
1046110461
$ref: '#/components/schemas/WorkerDeploymentVersion'
1046210462
unversionedDeploymentName:
1046310463
type: string
10464+
description: Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
1046410465
conflictToken:
1046510466
type: string
1046610467
description: |-
@@ -10521,6 +10522,7 @@ components:
1052110522
$ref: '#/components/schemas/WorkerDeploymentVersion'
1052210523
unversionedDeploymentName:
1052310524
type: string
10525+
description: Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
1052410526
percentage:
1052510527
type: number
1052610528
description: 'Ramp percentage to set. Valid range: [0,100].'

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,6 +2032,7 @@ message SetWorkerDeploymentCurrentVersionRequest {
20322032
// Required.
20332033
oneof current {
20342034
temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 7;
2035+
// Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
20352036
string unversioned_deployment_name = 8;
20362037
};
20372038
// Optional. This can be the value of conflict_token from a Describe, or another Worker
@@ -2081,6 +2082,7 @@ message SetWorkerDeploymentRampingVersionRequest {
20812082
// Pass an empty value to unset the Ramping Version. Must be paired with `percentage=0`.
20822083
oneof ramping {
20832084
temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 8;
2085+
// Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
20842086
string unversioned_deployment_name = 9;
20852087
};
20862088
// Ramp percentage to set. Valid range: [0,100].

0 commit comments

Comments
 (0)