summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/api/schemas/issue.json6
-rw-r--r--spec/fixtures/api/schemas/list.json6
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" },