summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/protected_branch.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/protected_branch.json')
-rw-r--r--spec/fixtures/api/schemas/protected_branch.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/protected_branch.json b/spec/fixtures/api/schemas/protected_branch.json
new file mode 100644
index 00000000000..4ad5dbe2313
--- /dev/null
+++ b/spec/fixtures/api/schemas/protected_branch.json
@@ -0,0 +1,33 @@
+{
+ "type": "object",
+ "required": [
+ "id",
+ "name",
+ "push_access_levels",
+ "merge_access_levels",
+ "allow_force_push"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "push_access_levels": {
+ "type": "array",
+ "items": {
+ "$ref": "entities/protected_ref_access.json"
+ }
+ },
+ "merge_access_levels": {
+ "type": "array",
+ "items": {
+ "$ref": "entities/protected_ref_access.json"
+ }
+ },
+ "allow_force_push": {
+ "type": "boolean"
+ }
+ }
+}