Skip to content

Commit 379ccf7

Browse files
committed
Merge branch 'master' of github.com:temporalio/api into versioning-override
2 parents 4245e89 + 709bd13 commit 379ccf7

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

openapi/openapiv2.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9052,6 +9052,14 @@
90529052
},
90539053
"internal": {
90549054
"$ref": "#/definitions/CallbackInternal"
9055+
},
9056+
"links": {
9057+
"type": "array",
9058+
"items": {
9059+
"type": "object",
9060+
"$ref": "#/definitions/apicommonv1Link"
9061+
},
9062+
"description": "Links associated with the callback. It can be used to link to underlying resources of the\ncallback."
90559063
}
90569064
},
90579065
"description": "Callback to attach to various events in the system, e.g. workflow run completion."

openapi/openapiv3.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6596,6 +6596,13 @@ components:
65966596
$ref: '#/components/schemas/Callback_Nexus'
65976597
internal:
65986598
$ref: '#/components/schemas/Callback_Internal'
6599+
links:
6600+
type: array
6601+
items:
6602+
$ref: '#/components/schemas/Link'
6603+
description: |-
6604+
Links associated with the callback. It can be used to link to underlying resources of the
6605+
callback.
65996606
description: Callback to attach to various events in the system, e.g. workflow run completion.
66006607
CallbackInfo:
66016608
type: object

temporal/api/common/v1/message.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ message Callback {
211211
Nexus nexus = 2;
212212
Internal internal = 3;
213213
}
214+
215+
// Links associated with the callback. It can be used to link to underlying resources of the
216+
// callback.
217+
repeated Link links = 100;
214218
}
215219

216220
// Link can be associated with history events. It might contain information about an external entity

0 commit comments

Comments
 (0)