debian-mirror-gitlab/spec/fixtures/api/schemas/feature_flag.json

21 lines
795 B
JSON
Raw Normal View History

2021-01-03 14:25:43 +05:30
{
"type": "object",
2021-11-11 11:23:49 +05:30
"required": ["id", "name"],
"properties": {
2021-01-03 14:25:43 +05:30
"id": { "type": "integer" },
"iid": { "type": ["integer", "null"] },
"version": { "type": "string" },
2021-06-08 01:23:25 +05:30
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" },
2021-01-03 14:25:43 +05:30
"name": { "type": "string" },
"active": { "type": "boolean" },
"description": { "type": ["string", "null"] },
"edit_path": { "type": ["string", "null"] },
"update_path": { "type": ["string", "null"] },
"destroy_path": { "type": ["string", "null"] },
"scopes": { "type": "array", "items": { "$ref": "feature_flag_scope.json" } },
"strategies": { "type": "array", "items": { "$ref": "feature_flag_strategy.json" } }
},
"additionalProperties": false
}