diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-18 17:45:08 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-30 23:55:09 +0900 |
commit | 20a07d26ff4be9c82271297e516df912109b05aa (patch) | |
tree | 2447be0ae059fc48964c62dfff80ce88a9681615 /spec/fixtures | |
parent | 17b9128b305aefc29fddae3b51d13c61ae7dfef9 (diff) | |
download | gitlab-ce-20a07d26ff4be9c82271297e516df912109b05aa.tar.gz |
Include owner for pipeline_schedules. Improve N+1 spec. Use PipelineBasic for small payload.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/pipeline_schedule.json | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/spec/fixtures/api/schemas/pipeline_schedule.json b/spec/fixtures/api/schemas/pipeline_schedule.json index 46309b212a1..9d7853d0f78 100644 --- a/spec/fixtures/api/schemas/pipeline_schedule.json +++ b/spec/fixtures/api/schemas/pipeline_schedule.json @@ -17,29 +17,7 @@ "id": { "type": "integer" }, "sha": { "type": "string" }, "ref": { "type": "string" }, - "status": { "type": "string" }, - "before_sha": { "type": ["string", "null"] }, - "tag": { "type": ["boolean", "null"] }, - "yaml_errors": { "type": ["string", "null"] }, - "user": { - "type": ["object", "null"], - "properties": { - "name": { "type": "string" }, - "username": { "type": "string" }, - "id": { "type": "integer" }, - "state": { "type": "string" }, - "avatar_url": { "type": "uri" }, - "web_url": { "type": "uri" } - }, - "additionalProperties": false - }, - "created_at": { "type": "date" }, - "updated_at": { "type": "date" }, - "started_at": { "type": "date" }, - "finished_at": { "type": "date" }, - "committed_at": { "type": ["string", "null"] }, - "duration": { "type": ["integer", "null"] }, - "coverage": { "type": ["string", "null"] } + "status": { "type": "string" } }, "additionalProperties": false }, |