summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/deployment.json
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2018-08-20 15:15:53 +0200
committerSteve Azzopardi <steveazz@outlook.com>2018-09-13 17:30:20 +0200
commit3bc5f7113350096263d615de07afe143f602659d (patch)
tree2533c44e97e9b15abf9ba3fc8d658cddb202a2e4 /spec/fixtures/api/schemas/deployment.json
parentc7d1eef671dbf598814a6c2ff1f81b924583ae8a (diff)
downloadgitlab-ce-3bc5f7113350096263d615de07afe143f602659d.tar.gz
Add deployment information in job API
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50460
Diffstat (limited to 'spec/fixtures/api/schemas/deployment.json')
-rw-r--r--spec/fixtures/api/schemas/deployment.json70
1 files changed, 28 insertions, 42 deletions
diff --git a/spec/fixtures/api/schemas/deployment.json b/spec/fixtures/api/schemas/deployment.json
index 536e6475c23..8c8cdf8bcb2 100644
--- a/spec/fixtures/api/schemas/deployment.json
+++ b/spec/fixtures/api/schemas/deployment.json
@@ -1,45 +1,31 @@
{
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "iid": {
- "type": "integer"
- },
- "last?": {
- "type": "boolean"
- },
- "ref": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "sha": {
- "type": "string"
- },
- "tag": {
- "type": "boolean"
- }
+ "type": "object",
+ "required": [
+ "sha",
+ "created_at",
+ "iid",
+ "tag",
+ "last?",
+ "ref",
+ "id"
+ ],
+ "properties": {
+ "created_at": { "type": "string" },
+ "id": { "type": "integer" },
+ "iid": { "type": "integer" },
+ "last?": { "type": "boolean" },
+ "ref": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": { "type": "string" }
+ },
+ "additionalProperties": false
},
- "required": [
- "sha",
- "created_at",
- "iid",
- "tag",
- "last?",
- "ref",
- "id"
- ],
- "type": "object"
+ "sha": { "type": "string" },
+ "tag": { "type": "boolean" }
+ },
+ "additionalProperties": false
}