Skip to content

Commit c5d43d8

Browse files
committed
coderabbit reviews
1 parent d4b9e85 commit c5d43d8

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

docs/v3-openapi.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,12 +2196,7 @@ paths:
21962196
21972197
"/api/v1/batches/{batchId}":
21982198
parameters:
2199-
- name: batchId
2200-
in: path
2201-
required: true
2202-
schema:
2203-
type: string
2204-
description: The batch ID.
2199+
- $ref: "#/components/parameters/batchId"
22052200
get:
22062201
operationId: retrieve_batch_v1
22072202
summary: Retrieve a batch
@@ -2280,7 +2275,7 @@ paths:
22802275
schema:
22812276
$ref: "#/components/schemas/ErrorResponse"
22822277
tags:
2283-
- tasks
2278+
- batches
22842279
security:
22852280
- secretKey: []
22862281
x-codeSamples:
@@ -2296,12 +2291,7 @@ paths:
22962291
22972292
"/api/v1/batches/{batchId}/results":
22982293
parameters:
2299-
- name: batchId
2300-
in: path
2301-
required: true
2302-
schema:
2303-
type: string
2304-
description: The batch ID.
2294+
- $ref: "#/components/parameters/batchId"
23052295
get:
23062296
operationId: get_batch_results_v1
23072297
summary: Retrieve batch results
@@ -2361,7 +2351,7 @@ paths:
23612351
schema:
23622352
$ref: "#/components/schemas/ErrorResponse"
23632353
tags:
2364-
- tasks
2354+
- batches
23652355
security:
23662356
- secretKey: []
23672357
x-codeSamples:
@@ -2741,6 +2731,14 @@ components:
27412731
description: |
27422732
The ID of an run, starts with `run_`. The run ID will be returned when you trigger a run on a task.
27432733
example: run_1234
2734+
batchId:
2735+
in: path
2736+
name: batchId
2737+
required: true
2738+
schema:
2739+
type: string
2740+
description: The ID of the batch, starts with `batch_`.
2741+
example: batch_1234
27442742
projectRef:
27452743
in: path
27462744
name: projectRef

0 commit comments

Comments
 (0)