Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-03 03:19:13 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-17 18:58:58 +0300
commit296bcbd6640ddeb06093c2505ed749be07362975 (patch)
tree7864e4b47b6080f1128ac16dea9dc4d66d16bc19 /spec/fixtures/api/schemas/issue.json
parent52b6a7e966670fd7320dc821d11311f50b3725e7 (diff)
Add endpoint to list issues for a specific board list
Diffstat (limited to 'spec/fixtures/api/schemas/issue.json')
-rw-r--r--spec/fixtures/api/schemas/issue.json30
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
+}