From 296bcbd6640ddeb06093c2505ed749be07362975 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Tue, 2 Aug 2016 21:19:13 -0300 Subject: Add endpoint to list issues for a specific board list --- spec/fixtures/api/schemas/issue.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 spec/fixtures/api/schemas/issue.json (limited to 'spec/fixtures/api') diff --git a/spec/fixtures/api/schemas/issue.json b/spec/fixtures/api/schemas/issue.json new file mode 100644 index 00000000000..666e0cdf82c --- /dev/null +++ b/spec/fixtures/api/schemas/issue.json @@ -0,0 +1,30 @@ +{ + "type": "object", + "required" : [ + "id", + "title", + "confidential" + ], + "properties" : { + "id": { "type": "integer" }, + "title": { "type": "string" }, + "confidential": { "type": "boolean" }, + "labels": { + "type": ["array"], + "required": [ + "id", + "color", + "title" + ], + "properties": { + "id": { "type": "integer" }, + "color": { + "type": "string", + "pattern": "^#[0-9A-Fa-f]{3}{1,2}+$" + }, + "title": { "type": "string" } + } + } + }, + "additionalProperties": false +} -- cgit v1.2.1