Skip to content

Commit 493c9c4

Browse files
committed
feat: run/step errors
1 parent 6c8a4b5 commit 493c9c4

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

spec.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ paths:
325325
items:
326326
$ref: "#/components/schemas/LocalEvaluation"
327327
description: Optional array of local evaluations
328+
error:
329+
type: string
330+
nullable: true
328331
required:
329332
- stepRuns
330333
required:
@@ -431,6 +434,9 @@ paths:
431434
type: array
432435
items:
433436
$ref: "#/components/schemas/StepRun"
437+
error:
438+
type: string
439+
nullable: true
434440
required:
435441
- stepRuns
436442
responses:
@@ -578,6 +584,9 @@ paths:
578584
items:
579585
$ref: "#/components/schemas/LocalEvaluation"
580586
description: Optional array of local evaluations
587+
error:
588+
type: string
589+
nullable: true
581590
required:
582591
- caseId
583592
- inputs
@@ -649,6 +658,9 @@ paths:
649658
type: object
650659
additionalProperties: true
651660
description: The returned outputs for the test case
661+
error:
662+
type: string
663+
nullable: true
652664
required:
653665
- caseId
654666
- inputs
@@ -1860,6 +1872,10 @@ components:
18601872
type: array
18611873
items:
18621874
$ref: "#/components/schemas/TestEvaluation"
1875+
error:
1876+
type: string
1877+
nullable: true
1878+
description: Error message if the test run failed
18631879

18641880
FullRun:
18651881
type: object
@@ -1917,6 +1933,9 @@ components:
19171933
additionalProperties:
19181934
$ref: "#/components/schemas/MetadataValueObject"
19191935
nullable: true
1936+
error:
1937+
type: string
1938+
nullable: true
19201939

19211940
TestRun:
19221941
type: object
@@ -2038,6 +2057,9 @@ components:
20382057
type: array
20392058
items:
20402059
$ref: "#/components/schemas/StepRun"
2060+
error:
2061+
type: string
2062+
nullable: true
20412063
required:
20422064
- stepRuns
20432065
- id
@@ -2085,6 +2107,9 @@ components:
20852107
endTime:
20862108
type: string
20872109
format: date-time
2110+
error:
2111+
type: string
2112+
nullable: true
20882113
required:
20892114
- providerName
20902115
- invocation
@@ -2126,6 +2151,10 @@ components:
21262151
pipelineRunId:
21272152
type: string
21282153
format: uuid
2154+
error:
2155+
type: string
2156+
nullable: true
2157+
description: Error message if the step run failed
21292158

21302159
RunResponse:
21312160
type: object
@@ -2222,6 +2251,9 @@ components:
22222251
additionalProperties:
22232252
$ref: "#/components/schemas/MetadataValueObject"
22242253
nullable: true
2254+
error:
2255+
type: string
2256+
nullable: true
22252257
required:
22262258
- stepRunId
22272259
- stepId

0 commit comments

Comments
 (0)