summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2018-09-27 09:04:51 +0200
committerSteve Azzopardi <steveazz@outlook.com>2018-09-27 11:40:50 +0200
commit0599a25f9570d7af2c0b76c4165612962a9ccd85 (patch)
tree533bd3556dd80d70b0def83b8bbe8a2e95b5f742 /spec/fixtures/api/schemas
parentc052f5a942152982124315791aad10da5fec11d5 (diff)
downloadgitlab-ce-0599a25f9570d7af2c0b76c4165612962a9ccd85.tar.gz
Add has_trace to Projects::JobController#show.json
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51925
Diffstat (limited to 'spec/fixtures/api/schemas')
-rw-r--r--spec/fixtures/api/schemas/job/job_details.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/job/job_details.json b/spec/fixtures/api/schemas/job/job_details.json
index cd67d3e4160..70d59c6e621 100644
--- a/spec/fixtures/api/schemas/job/job_details.json
+++ b/spec/fixtures/api/schemas/job/job_details.json
@@ -3,12 +3,16 @@
{ "$ref": "job.json" }
],
"description": "An extension of job.json with more detailed information",
+ "required": [
+ "has_trace"
+ ],
"properties": {
"artifact": { "$ref": "artifact.json" },
"terminal_path": { "type": "string" },
"trigger": { "$ref": "trigger.json" },
"deployment_status": { "$ref": "deployment_status.json" },
"runner": { "$ref": "runner.json" },
- "runners": { "type": "runners.json" }
+ "runners": { "type": "runners.json" },
+ "has_trace": { "type": "boolean" }
}
}