Skip to content

Commit 0d5224a

Browse files
authored
feat: update spec to include path in Run (#186)
1 parent 33a3e1c commit 0d5224a

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

spec.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,12 @@ paths:
325325
items:
326326
$ref: "#/components/schemas/LocalEvaluation"
327327
description: Optional array of local evaluations
328+
path:
329+
type: array
330+
items:
331+
$ref: "#/components/schemas/RunPathSection"
332+
description: Optional path which describes the organizational hierarchy of this test run in relation to all the pipeline tests.
333+
nullable: true
328334
error:
329335
type: string
330336
nullable: true
@@ -434,6 +440,12 @@ paths:
434440
type: array
435441
items:
436442
$ref: "#/components/schemas/StepRun"
443+
path:
444+
type: array
445+
items:
446+
$ref: "#/components/schemas/RunPathSection"
447+
description: Optional path which describes the organizational hierarchy of this test run in relation to all the pipeline tests.
448+
nullable: true
437449
error:
438450
type: string
439451
nullable: true
@@ -584,6 +596,12 @@ paths:
584596
items:
585597
$ref: "#/components/schemas/LocalEvaluation"
586598
description: Optional array of local evaluations
599+
path:
600+
type: array
601+
items:
602+
$ref: "#/components/schemas/RunPathSection"
603+
description: Optional path which describes the organizational hierarchy of this test run in relation to all the pipeline tests.
604+
nullable: true
587605
error:
588606
type: string
589607
nullable: true
@@ -658,6 +676,12 @@ paths:
658676
type: object
659677
additionalProperties: true
660678
description: The returned outputs for the test case
679+
path:
680+
type: array
681+
items:
682+
$ref: "#/components/schemas/RunPathSection"
683+
description: Optional path which describes the organizational hierarchy of this test run in relation to all the pipeline tests.
684+
nullable: true
661685
error:
662686
type: string
663687
nullable: true
@@ -1877,6 +1901,18 @@ components:
18771901
nullable: true
18781902
description: Error message if the test run failed
18791903

1904+
RunPathSection:
1905+
type: object
1906+
properties:
1907+
type:
1908+
type: string
1909+
enum: ["suite"]
1910+
name:
1911+
type: string
1912+
required:
1913+
- type
1914+
- name
1915+
18801916
FullRun:
18811917
type: object
18821918
required:
@@ -1933,6 +1969,11 @@ components:
19331969
additionalProperties:
19341970
$ref: "#/components/schemas/MetadataValueObject"
19351971
nullable: true
1972+
path:
1973+
type: array
1974+
items:
1975+
$ref: "#/components/schemas/RunPathSection"
1976+
nullable: true
19361977
error:
19371978
type: string
19381979
nullable: true
@@ -1961,6 +2002,11 @@ components:
19612002
resultId:
19622003
type: string
19632004
format: uuid
2005+
path:
2006+
type: array
2007+
items:
2008+
$ref: "#/components/schemas/RunPathSection"
2009+
nullable: true
19642010

19652011
ExpandedPipeline:
19662012
allOf:

0 commit comments

Comments
 (0)