Skip to content

Commit e1052e6

Browse files
committed
update comment, clarify the behaviour for reset
1 parent e36b42c commit e1052e6

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
@@ -8197,7 +8197,7 @@
81978197
},
81988198
"restoreOriginal": {
81998199
"type": "boolean",
8200-
"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."
8200+
"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."
82018201
}
82028202
}
82038203
},

openapi/openapiv3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11774,6 +11774,8 @@ components:
1177411774
If set, the activity options will be restored to the default.
1177511775
Default options are then options activity was created with.
1177611776
They are part of the first SCHEDULE event.
11777+
This flag cannot be combined with any other option; if you supply
11778+
restore_original together with other options, the request will be rejected.
1177711779
UpdateActivityOptionsResponse:
1177811780
type: object
1177911781
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)