diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-09 18:03:00 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 12:58:59 -0300 |
commit | 215bfd1c9d50089afc7f9b730a6b46b17730b5fb (patch) | |
tree | c43547501afb049924b0c848319c32bc7ab578fb /spec/fixtures | |
parent | 1b7f137e95ca1cadfcc74fcc0971a0bdf39e9590 (diff) | |
download | gitlab-ce-215bfd1c9d50089afc7f9b730a6b46b17730b5fb.tar.gz |
Returns label priority in JSON when listing lists/issues
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/issue.json | 6 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/list.json | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/spec/fixtures/api/schemas/issue.json b/spec/fixtures/api/schemas/issue.json index 3da9b241047..24bac4fef91 100644 --- a/spec/fixtures/api/schemas/issue.json +++ b/spec/fixtures/api/schemas/issue.json @@ -14,7 +14,8 @@ "required": [ "id", "color", - "title" + "title", + "priority" ], "properties": { "id": { "type": "integer" }, @@ -22,7 +23,8 @@ "type": "string", "pattern": "^#[0-9A-Fa-f]{3}{1,2}+$" }, - "title": { "type": "string" } + "title": { "type": "string" }, + "priority": { "type": ["integer", "null"] } } }, "assignee": { diff --git a/spec/fixtures/api/schemas/list.json b/spec/fixtures/api/schemas/list.json index 21239f136cd..177754db73a 100644 --- a/spec/fixtures/api/schemas/list.json +++ b/spec/fixtures/api/schemas/list.json @@ -17,7 +17,8 @@ "required": [ "id", "color", - "title" + "title", + "priority" ], "properties": { "id": { "type": "integer" }, @@ -25,7 +26,8 @@ "type": "string", "pattern": "^#[0-9A-Fa-f]{3}{1,2}+$" }, - "title": { "type": "string" } + "title": { "type": "string" }, + "priority": { "type": ["integer", "null"] } } }, "title": { "type": "string" }, |