Skip to content

Commit 9c8bb77

Browse files
committed
update comment, clarify the behaviour for reset
1 parent 5c16c8d commit 9c8bb77

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

openapi/openapiv2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8181,7 +8181,7 @@
81818181
},
81828182
"restoreOriginal": {
81838183
"type": "boolean",
8184-
"description": "If set, the activity options will be restored to the default.\nDefault options are then options activity was created with.\nThey are part of the first SCHEDULE event."
8184+
"description": "If set, the activity options will be restored to the default.\nDefault options are then options activity was created with.\nThey are part of the first SCHEDULE event.\nThis flag cannot be combined with any other option; if you supply\nrestore_original together with other options, the request will be rejected."
81858185
}
81868186
}
81878187
},

openapi/openapiv3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11759,6 +11759,8 @@ components:
1175911759
If set, the activity options will be restored to the default.
1176011760
Default options are then options activity was created with.
1176111761
They are part of the first SCHEDULE event.
11762+
This flag cannot be combined with any other option; if you supply
11763+
restore_original together with other options, the request will be rejected.
1176211764
UpdateActivityOptionsResponse:
1176311765
type: object
1176411766
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,8 @@ message UpdateActivityOptionsRequest {
18461846
// If set, the activity options will be restored to the default.
18471847
// Default options are then options activity was created with.
18481848
// They are part of the first SCHEDULE event.
1849+
// This flag cannot be combined with any other option; if you supply
1850+
// restore_original together with other options, the request will be rejected.
18491851
bool restore_original = 8;
18501852
}
18511853

0 commit comments

Comments
 (0)