diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-02 21:19:13 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 12:58:58 -0300 |
commit | 296bcbd6640ddeb06093c2505ed749be07362975 (patch) | |
tree | 7864e4b47b6080f1128ac16dea9dc4d66d16bc19 /spec/fixtures/api | |
parent | 52b6a7e966670fd7320dc821d11311f50b3725e7 (diff) | |
download | gitlab-ce-296bcbd6640ddeb06093c2505ed749be07362975.tar.gz |
Add endpoint to list issues for a specific board list
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r-- | spec/fixtures/api/schemas/issue.json | 30 |
1 files changed, 30 insertions, 0 deletions
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 +} |