Skip to content

Commit af1ed4f

Browse files
committed
docs: older servers may omit the combined field, so check it defensively
1 parent f62dde7 commit af1ed4f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/v3-openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4456,8 +4456,9 @@ components:
44564456
type: object
44574457
description: |
44584458
The combined concurrency cap across all `concurrencyKey` values of the queue.
4459-
Always present; `current` is null when the queue has no combined limit, so
4460-
check `combined.current !== null` rather than the field's presence.
4459+
Servers on this version always emit it, with `current` null when the queue
4460+
has no combined limit; older servers may omit the field entirely, so check
4461+
`combined?.current != null` rather than relying on its presence.
44614462
properties:
44624463
current:
44634464
type: integer

0 commit comments

Comments
 (0)