Commit 7f4b14b1 authored by Rémy Coutable's avatar Rémy Coutable

Port spec/fixtures/api/schemas/deployment.json from EE

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent de67c597
{
"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"
}
},
"required": [
"sha",
"created_at",
"iid",
"tag",
"last?",
"ref",
"id"
],
"type": "object"
}
...@@ -3,49 +3,7 @@ ...@@ -3,49 +3,7 @@
"properties": { "properties": {
"deployments": { "deployments": {
"items": { "items": {
"additionalProperties": false, "$ref": "deployment.json"
"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"
}
},
"required": [
"sha",
"created_at",
"iid",
"tag",
"last?",
"ref",
"id"
],
"type": "object"
}, },
"minItems": 1, "minItems": 1,
"type": "array" "type": "array"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment