Skip to content

Commit 8db1c11

Browse files
committed
Update openapi defs
1 parent fb018d2 commit 8db1c11

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8125,6 +8125,10 @@
81258125
"type": "object",
81268126
"$ref": "#/definitions/v1WorkerHeartbeat"
81278127
}
8128+
},
8129+
"leaseDuration": {
8130+
"type": "string",
8131+
"description": "Duration for which the worker lease should be valid.\nServer will calculate the actual expiration time based on when it receives this request.\nIf not specified or zero, the server will use a default lease duration (typically 60 seconds)."
81288132
}
81298133
}
81308134
},

openapi/openapiv3.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10355,6 +10355,13 @@ components:
1035510355
type: array
1035610356
items:
1035710357
$ref: '#/components/schemas/WorkerHeartbeat'
10358+
leaseDuration:
10359+
pattern: ^-?(?:0|[1-9][0-9]{0,11})(?:\.[0-9]{1,9})?s$
10360+
type: string
10361+
description: |-
10362+
Duration for which the worker lease should be valid.
10363+
Server will calculate the actual expiration time based on when it receives this request.
10364+
If not specified or zero, the server will use a default lease duration (typically 60 seconds).
1035810365
RecordWorkerHeartbeatResponse:
1035910366
type: object
1036010367
properties: {}

0 commit comments

Comments
 (0)