summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/branch.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/branch.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/branch.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/branch.json b/spec/fixtures/api/schemas/public_api/v4/branch.json
new file mode 100644
index 00000000000..a3581178974
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/branch.json
@@ -0,0 +1,20 @@
+{
+ "type": "object",
+ "required" : [
+ "name",
+ "commit",
+ "merged",
+ "protected",
+ "developers_can_push",
+ "developers_can_merge"
+ ],
+ "properties" : {
+ "name": { "type": "string" },
+ "commit": { "$ref": "commit/basic.json" },
+ "merged": { "type": "boolean" },
+ "protected": { "type": "boolean" },
+ "developers_can_push": { "type": "boolean" },
+ "developers_can_merge": { "type": "boolean" }
+ },
+ "additionalProperties": false
+}