Skip to content

Commit 56175e5

Browse files
committed
Commit openapi spec
1 parent a236aa5 commit 56175e5

3 files changed

Lines changed: 25 additions & 6 deletions

File tree

‎openapi/openapiv2.json‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11464,6 +11464,17 @@
1146411464
}
1146511465
}
1146611466
},
11467+
"v1ExternalPayload": {
11468+
"type": "object",
11469+
"properties": {
11470+
"sizeBytes": {
11471+
"type": "string",
11472+
"format": "int64",
11473+
"title": "Size in bytes of the externally stored object"
11474+
}
11475+
},
11476+
"title": "Metadata describing an externally stored object that can be referenced by Payload"
11477+
},
1146711478
"v1ExternalWorkflowExecutionCancelRequestedEventAttributes": {
1146811479
"type": "object",
1146911480
"properties": {

‎openapi/openapiv3.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8343,6 +8343,13 @@ components:
83438343
$ref: '#/components/schemas/StartWorkflowExecutionResponse'
83448344
updateWorkflow:
83458345
$ref: '#/components/schemas/UpdateWorkflowExecutionResponse'
8346+
ExternalPayload:
8347+
type: object
8348+
properties:
8349+
sizeBytes:
8350+
type: string
8351+
description: Size in bytes of the externally stored object
8352+
description: Metadata describing an externally stored object that can be referenced by Payload
83468353
ExternalWorkflowExecutionCancelRequestedEventAttributes:
83478354
type: object
83488355
properties:

‎temporal/api/common/v1/message.proto‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ message Payload {
3434
bytes data = 2;
3535
// References to data stored externally rather than embedded in the payload.
3636
// A Payload can reference zero or more external objects.
37-
repeated ExternalPayload external_payloads = 3;
38-
}
37+
repeated ExternalReference external_references = 3;
3938

40-
// Metadata describing an externally stored object that can be referenced by Payload
41-
message ExternalPayload {
42-
// Size in bytes of the externally stored object
43-
int64 size_bytes = 1;
39+
// Describes an externally stored object referenced by this Payload.
40+
message ExternalReference {
41+
// Size in bytes of the externally stored object
42+
int64 size_bytes = 1;
43+
}
4444
}
4545

46+
4647
// A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows.
4748
// The payload is not serialized in a user-defined way.
4849
message SearchAttributes {

0 commit comments

Comments
 (0)