Skip to content

Commit 2f3ec47

Browse files
committed
fix(docs): openapi labels for different bulk api variants
1 parent b4866f0 commit 2f3ec47

1 file changed

Lines changed: 35 additions & 12 deletions

File tree

docs/v3-openapi.yaml

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4827,16 +4827,31 @@ components:
48274827
type: string
48284828
CreateBulkActionRequestBody:
48294829
oneOf:
4830-
- type: object
4830+
- title: Cancel by filter
4831+
type: object
48314832
required:
48324833
- action
4834+
- filter
48334835
properties:
48344836
action:
48354837
type: string
48364838
enum:
48374839
- cancel
48384840
filter:
48394841
$ref: "#/components/schemas/BulkActionFilter"
4842+
name:
4843+
type: string
4844+
maxLength: 255
4845+
- title: Cancel by run IDs
4846+
type: object
4847+
required:
4848+
- action
4849+
- runIds
4850+
properties:
4851+
action:
4852+
type: string
4853+
enum:
4854+
- cancel
48404855
runIds:
48414856
type: array
48424857
minItems: 1
@@ -4846,21 +4861,34 @@ components:
48464861
name:
48474862
type: string
48484863
maxLength: 255
4849-
oneOf:
4850-
- required:
4851-
- filter
4852-
- required:
4853-
- runIds
4854-
- type: object
4864+
- title: Replay by filter
4865+
type: object
48554866
required:
48564867
- action
4868+
- filter
48574869
properties:
48584870
action:
48594871
type: string
48604872
enum:
48614873
- replay
48624874
filter:
48634875
$ref: "#/components/schemas/BulkActionFilter"
4876+
name:
4877+
type: string
4878+
maxLength: 255
4879+
targetRegion:
4880+
type: string
4881+
description: Region identifier to replay runs in. When omitted, each replay keeps the original run's region.
4882+
- title: Replay by run IDs
4883+
type: object
4884+
required:
4885+
- action
4886+
- runIds
4887+
properties:
4888+
action:
4889+
type: string
4890+
enum:
4891+
- replay
48644892
runIds:
48654893
type: array
48664894
minItems: 1
@@ -4873,11 +4901,6 @@ components:
48734901
targetRegion:
48744902
type: string
48754903
description: Region identifier to replay runs in. When omitted, each replay keeps the original run's region.
4876-
oneOf:
4877-
- required:
4878-
- filter
4879-
- required:
4880-
- runIds
48814904
BulkActionObject:
48824905
type: object
48834906
required:

0 commit comments

Comments
 (0)