diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index ddbc48c61..5b5719cc7 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -10397,6 +10397,10 @@ "searchAttributes": { "$ref": "#/definitions/v1SearchAttributes", "description": "Schedule search attributes to be updated.\nDo not set this field if you do not want to update the search attributes.\nA non-null empty object will set the search attributes to an empty map.\nNote: you cannot only update the search attributes with `UpdateScheduleRequest`,\nyou must also set the `schedule` field; otherwise, it will unset the schedule." + }, + "memo": { + "$ref": "#/definitions/v1Memo", + "description": "Schedule memo to replace. If set, replaces the entire memo.\nDo not set this field if you do not want to update the memo.\nA non-null empty object will clear the memo." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index cd503dccd..c2dbbc15d 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14797,6 +14797,13 @@ components: A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule. + memo: + allOf: + - $ref: '#/components/schemas/Memo' + description: |- + Schedule memo to replace. If set, replaces the entire memo. + Do not set this field if you do not want to update the memo. + A non-null empty object will clear the memo. UpdateScheduleResponse: type: object properties: {} diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index 2d9dd7b83..7bfcf236e 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -1355,6 +1355,10 @@ message UpdateScheduleRequest { // Note: you cannot only update the search attributes with `UpdateScheduleRequest`, // you must also set the `schedule` field; otherwise, it will unset the schedule. temporal.api.common.v1.SearchAttributes search_attributes = 7; + // Schedule memo to replace. If set, replaces the entire memo. + // Do not set this field if you do not want to update the memo. + // A non-null empty object will clear the memo. + temporal.api.common.v1.Memo memo = 8; } message UpdateScheduleResponse {