gitlab-org--gitlab-foss/spec/fixtures/api/schemas/public_api/v4/environment.json

24 lines
502 B
JSON

{
"type": "object",
"required": [
"id",
"name",
"slug",
"external_url",
"last_deployment"
],
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"slug": { "type": "string" },
"external_url": { "$ref": "../../types/nullable_string.json" },
"last_deployment": {
"oneOf": [
{ "type": "null" },
{ "$ref": "deployment.json" }
]
},
"state": { "type": "string" }
},
"additionalProperties": false
}