diff options
Diffstat (limited to 'spec/fixtures/api/schemas/feature_flag.json')
-rw-r--r-- | spec/fixtures/api/schemas/feature_flag.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/feature_flag.json b/spec/fixtures/api/schemas/feature_flag.json new file mode 100644 index 00000000000..5f8cedc1132 --- /dev/null +++ b/spec/fixtures/api/schemas/feature_flag.json @@ -0,0 +1,23 @@ +{ + "type": "object", + "required" : [ + "id", + "name" + ], + "properties" : { + "id": { "type": "integer" }, + "iid": { "type": ["integer", "null"] }, + "version": { "type": "string" }, + "created_at": { "type": "date" }, + "updated_at": { "type": "date" }, + "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 +} |