summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/issue.json
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2017-08-31 15:18:35 -0300
committerFelipe Artur <felipefac@gmail.com>2017-08-31 15:18:35 -0300
commit02fed9a905b65fb9b2a0d61500b51d44cd24ba28 (patch)
tree011068f576b9df4f3f50bd3c5bc9e4329308b5e4 /spec/fixtures/api/schemas/issue.json
parent8077b728bc26e9ece8055b8301033238ddbdf3f5 (diff)
downloadgitlab-ce-02fed9a905b65fb9b2a0d61500b51d44cd24ba28.tar.gz
Backport specs
Diffstat (limited to 'spec/fixtures/api/schemas/issue.json')
-rw-r--r--spec/fixtures/api/schemas/issue.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/issue.json b/spec/fixtures/api/schemas/issue.json
index b9d2d5befbb..e1f62508933 100644
--- a/spec/fixtures/api/schemas/issue.json
+++ b/spec/fixtures/api/schemas/issue.json
@@ -8,10 +8,15 @@
"properties" : {
"id": { "type": "integer" },
"iid": { "type": "integer" },
+ "project_id": { "type": ["integer", "null"] },
"title": { "type": "string" },
"confidential": { "type": "boolean" },
"due_date": { "type": ["date", "null"] },
"relative_position": { "type": "integer" },
+ "project": {
+ "id": { "type": "integer" },
+ "path": { "type": "string" }
+ },
"labels": {
"type": "array",
"items": {