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:
authorHeinrich Lee Yu <heinrich@gitlab.com>2018-11-30 06:16:40 +0300
committerHeinrich Lee Yu <hleeyu@gmail.com>2018-12-19 12:58:53 +0300
commit199a4db2c4854b101370970546637c0d68e0b854 (patch)
tree4989028824595375ef0d2de4aea111e650e86ceb /spec/fixtures/api/schemas/entities/issue_sidebar_extras.json
parentddb1d326e06cc40d87b8eaa40aab7019447d6e5e (diff)
Add schema tests
Diffstat (limited to 'spec/fixtures/api/schemas/entities/issue_sidebar_extras.json')
-rw-r--r--spec/fixtures/api/schemas/entities/issue_sidebar_extras.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/entities/issue_sidebar_extras.json b/spec/fixtures/api/schemas/entities/issue_sidebar_extras.json
new file mode 100644
index 00000000000..11be903b083
--- /dev/null
+++ b/spec/fixtures/api/schemas/entities/issue_sidebar_extras.json
@@ -0,0 +1,18 @@
+{
+ "type": "object",
+ "properties" : {
+ "subscribed": { "type": "boolean" },
+ "time_estimate": { "type": "integer" },
+ "total_time_spent": { "type": "integer" },
+ "human_time_estimate": { "type": ["integer", "null"] },
+ "human_total_time_spent": { "type": ["integer", "null"] },
+ "participants": {
+ "type": "array",
+ "items": { "$ref": "../public_api/v4/user/basic.json" }
+ },
+ "assignees": {
+ "type": "array",
+ "items": { "$ref": "../public_api/v4/user/basic.json" }
+ }
+ }
+}