Skip to content

Commit 8423bff

Browse files
committed
Write api reference differently.
1 parent 82a4f65 commit 8423bff

File tree

1 file changed

+15
-30
lines changed

1 file changed

+15
-30
lines changed

hydra-api.yaml

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,29 +1023,21 @@ components:
10231023
buildId:
10241024
description: Same as id, exists for backwards compatibility.
10251025
type: integer
1026-
finished:
1027-
<<: *schema_finished
1026+
finished: *schema_finished
10281027
steps:
10291028
description: List of steps that make up this build.
10301029
type: array
10311030
items:
10321031
type: object
10331032
additionalProperties:
10341033
$ref: '#/components/schemas/BuildStep'
1035-
job:
1036-
<<: *schema_job
1037-
system:
1038-
<<: *schema_system
1039-
buildstatus:
1040-
<<: *schema_status
1041-
jobset:
1042-
<<: *schema_jobset
1043-
project:
1044-
<<: *schema_project
1045-
timestamp:
1046-
<<: *schema_timestamp
1047-
nixname:
1048-
<<: *schema_nixname
1034+
job: *schema_job
1035+
system: *schema_system
1036+
buildstatus: *schema_status
1037+
jobset: *schema_jobset
1038+
project: *schema_project
1039+
timestamp: *schema_timestamp
1040+
nixname: *schema_nixname
10491041
drvPath:
10501042
description: Same as drvpath, exists for backwards compatibility.
10511043
type: string
@@ -1059,24 +1051,18 @@ components:
10591051
stepnr:
10601052
description: The step number, this number can be used when retrieving logs for a particular step.
10611053
type: integer
1062-
starttime:
1063-
<<: *schema_starttime
1064-
stoptime:
1065-
<<: *schema_stoptime
1066-
status:
1067-
<<: *schema_status
1068-
system:
1069-
<<: *schema_system
1054+
starttime: *schema_starttime
1055+
stoptime: *schema_stoptime
1056+
status: *schema_status
1057+
system: *schema_system
10701058
propagatedfrom:
10711059
description: Null if the result was not propagated.
10721060
nullable: true
10731061
type: object
10741062
additionalProperties:
10751063
$ref: '#/components/schemas/Build'
1076-
errormsg:
1077-
<<: *schema_errormsg
1078-
haserrormsg:
1079-
<<: *schema_haserrormsg
1064+
errormsg: *schema_errormsg
1065+
haserrormsg: *schema_haserrormsg
10801066
machine:
10811067
description: Machine on which this step was executed.
10821068
type: string
@@ -1094,8 +1080,7 @@ components:
10941080
<li>* : unknown</li>
10951081
</ul>
10961082
type: integer
1097-
drvpath:
1098-
<<: *schema_drvpath
1083+
drvpath: *schema_drvpath
10991084
build:
11001085
description: Id of the build this step is a part of.
11011086
type: integer

0 commit comments

Comments
 (0)