Skip to content

Commit a4661ba

Browse files
committed
Renamed to ExternalPayloadDetails
1 parent 99cb346 commit a4661ba

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

openapi/openapiv2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7648,16 +7648,16 @@
76487648
}
76497649
}
76507650
},
7651-
"PayloadExternalReference": {
7651+
"PayloadExternalPayloadDetails": {
76527652
"type": "object",
76537653
"properties": {
76547654
"sizeBytes": {
76557655
"type": "string",
76567656
"format": "int64",
7657-
"title": "Size in bytes of the externally stored object"
7657+
"title": "Size in bytes of the externally stored payload"
76587658
}
76597659
},
7660-
"description": "Describes an externally stored object referenced by this Payload."
7660+
"description": "Describes an externally stored object referenced by this payload."
76617661
},
76627662
"PendingActivityInfoPauseInfo": {
76637663
"type": "object",

openapi/openapiv3.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9823,13 +9823,13 @@ components:
98239823
Represents some binary (byte array) data (ex: activity input parameters or workflow result) with
98249824
metadata which describes this binary data (format, encoding, encryption, etc). Serialization
98259825
of the data may be user-defined.
9826-
Payload_ExternalReference:
9826+
Payload_ExternalPayloadDetails:
98279827
type: object
98289828
properties:
98299829
sizeBytes:
98309830
type: string
9831-
description: Size in bytes of the externally stored object
9832-
description: Describes an externally stored object referenced by this Payload.
9831+
description: Size in bytes of the externally stored payload
9832+
description: Describes an externally stored object referenced by this payload.
98339833
Payloads:
98349834
type: object
98359835
properties:

temporal/api/common/v1/message.proto

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ message Payloads {
3232
message Payload {
3333
map<string,bytes> metadata = 1;
3434
bytes data = 2;
35-
// References to data stored externally rather than embedded in the payload.
36-
// A Payload can reference zero or more external objects.
37-
repeated ExternalReference external_references = 3;
35+
// Details about externally stored payloads associated with this payload.
36+
repeated ExternalPayloadDetails external_payloads = 3;
3837

39-
// Describes an externally stored object referenced by this Payload.
40-
message ExternalReference {
41-
// Size in bytes of the externally stored object
38+
// Describes an externally stored object referenced by this payload.
39+
message ExternalPayloadDetails {
40+
// Size in bytes of the externally stored payload
4241
int64 size_bytes = 1;
4342
}
4443
}

0 commit comments

Comments
 (0)