diff options
author | Steve Azzopardi <steveazz@outlook.com> | 2018-09-28 14:51:22 +0300 |
---|---|---|
committer | Steve Azzopardi <steveazz@outlook.com> | 2018-09-28 14:51:22 +0300 |
commit | c6139a03eb2c991d05e130ab0b29c31d8a971f65 (patch) | |
tree | 1acdfa933c06e91ca96980dcd826f1f7437797cc /spec/fixtures | |
parent | ba66e0cc9cc26df686ed47d926a3edcde497baa1 (diff) |
Fix job_details.json schema
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51927
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/job/job_details.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/job/job_details.json b/spec/fixtures/api/schemas/job/job_details.json index 70d59c6e621..07e674216fa 100644 --- a/spec/fixtures/api/schemas/job/job_details.json +++ b/spec/fixtures/api/schemas/job/job_details.json @@ -4,6 +4,9 @@ ], "description": "An extension of job.json with more detailed information", "required": [ + "artifact", + "runner", + "runners", "has_trace" ], "properties": { @@ -12,7 +15,7 @@ "trigger": { "$ref": "trigger.json" }, "deployment_status": { "$ref": "deployment_status.json" }, "runner": { "$ref": "runner.json" }, - "runners": { "type": "runners.json" }, + "runners": { "$ref": "runners.json" }, "has_trace": { "type": "boolean" } } } |