Port spec/fixtures/api/schemas/deployment.json from EE
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
de67c59720
commit
7f4b14b104
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"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 @@
|
|||
"properties": {
|
||||
"deployments": {
|
||||
"items": {
|
||||
"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"
|
||||
"$ref": "deployment.json"
|
||||
},
|
||||
"minItems": 1,
|
||||
"type": "array"
|
||||
|
|
Loading…
Reference in New Issue