diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-01 15:06:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-01 15:06:05 +0000 |
commit | 05f4b2fb34dbb051b2ce5ddbc801ec42998c019c (patch) | |
tree | 0fd7a153f3ed7d00d40e428c08ab81ae3d863afe /spec/fixtures | |
parent | 9e27f0d920cc3891fa7644c5cc0bc280c519fb20 (diff) | |
download | gitlab-ce-05f4b2fb34dbb051b2ce5ddbc801ec42998c019c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/evidences/author.json | 14 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/evidences/issue.json | 26 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/evidences/milestone.json | 27 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/evidences/project.json | 16 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/evidences/release.json | 25 |
5 files changed, 108 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/evidences/author.json b/spec/fixtures/api/schemas/evidences/author.json new file mode 100644 index 00000000000..1b49446900a --- /dev/null +++ b/spec/fixtures/api/schemas/evidences/author.json @@ -0,0 +1,14 @@ +{ + "type": "object", + "required": [ + "id", + "name", + "email" + ], + "properties": { + "id": { "type": "integer" }, + "name": { "type": "string" }, + "email": { "type": "string" } + }, + "additionalProperties": false +} diff --git a/spec/fixtures/api/schemas/evidences/issue.json b/spec/fixtures/api/schemas/evidences/issue.json new file mode 100644 index 00000000000..10e90dff455 --- /dev/null +++ b/spec/fixtures/api/schemas/evidences/issue.json @@ -0,0 +1,26 @@ +{ + "type": "object", + "required": [ + "id", + "title", + "description", + "author", + "state", + "iid", + "confidential", + "created_at", + "due_date" + ], + "properties": { + "id": { "type": "integer" }, + "title": { "type": "string" }, + "description": { "type": "string" }, + "author": { "$ref": "author.json" }, + "state": { "type": "string" }, + "iid": { "type": "integer" }, + "confidential": { "type": "boolean" }, + "created_at": { "type": "date" }, + "due_date": { "type": "date" } + }, + "additionalProperties": false +} diff --git a/spec/fixtures/api/schemas/evidences/milestone.json b/spec/fixtures/api/schemas/evidences/milestone.json new file mode 100644 index 00000000000..91f0f48bd4c --- /dev/null +++ b/spec/fixtures/api/schemas/evidences/milestone.json @@ -0,0 +1,27 @@ +{ + "type": "object", + "required": [ + "id", + "title", + "description", + "state", + "iid", + "created_at", + "due_date", + "issues" + ], + "properties": { + "id": { "type": "integer" }, + "title": { "type": "string" }, + "description": { "type": "string" }, + "state": { "type": "string" }, + "iid": { "type": "integer" }, + "created_at": { "type": "date" }, + "due_date": { "type": "date" }, + "issues": { + "type": "array", + "items": { "$ref": "issue.json" } + } + }, + "additionalProperties": false +} diff --git a/spec/fixtures/api/schemas/evidences/project.json b/spec/fixtures/api/schemas/evidences/project.json new file mode 100644 index 00000000000..542686542f8 --- /dev/null +++ b/spec/fixtures/api/schemas/evidences/project.json @@ -0,0 +1,16 @@ +{ + "type": "object", + "required": [ + "id", + "name", + "description", + "created_at" + ], + "properties": { + "id": { "type": "integer" }, + "name": { "type": "string" }, + "description": { "type": "string" }, + "created_at": { "type": "date" } + }, + "additionalProperties": false +} diff --git a/spec/fixtures/api/schemas/evidences/release.json b/spec/fixtures/api/schemas/evidences/release.json new file mode 100644 index 00000000000..68c872a9dc8 --- /dev/null +++ b/spec/fixtures/api/schemas/evidences/release.json @@ -0,0 +1,25 @@ +{ + "type": "object", + "required": [ + "id", + "tag", + "name", + "description", + "created_at", + "project", + "milestones" + ], + "properties": { + "id": { "type": "integer" }, + "tag": { "type": "string" }, + "name": { "type": "string" }, + "description": { "type": "string" }, + "created_at": { "type": "date" }, + "project": { "$ref": "project.json" }, + "milestones": { + "type": "array", + "items": { "$ref": "milestone.json" } + } + }, + "additionalProperties": false +} |