Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/entities/merge_request_noteable.json')
-rw-r--r--spec/fixtures/api/schemas/entities/merge_request_noteable.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/entities/merge_request_noteable.json b/spec/fixtures/api/schemas/entities/merge_request_noteable.json
index 4ef19ed32c2..4b790a2c34b 100644
--- a/spec/fixtures/api/schemas/entities/merge_request_noteable.json
+++ b/spec/fixtures/api/schemas/entities/merge_request_noteable.json
@@ -12,6 +12,8 @@
"state": { "type": "string" },
"source_branch": { "type": "string" },
"target_branch": { "type": "string" },
+ "source_branch_path": { "type": "string" },
+ "target_branch_path": { "type": "string" },
"diff_head_sha": { "type": "string" },
"create_note_path": { "type": ["string", "null"] },
"preview_note_path": { "type": ["string", "null"] },
@@ -22,11 +24,13 @@
"type": "object",
"required": [
"can_create_note",
- "can_update"
+ "can_update",
+ "can_approve"
],
"properties": {
"can_create_note": { "type": "boolean" },
- "can_update": { "type": "boolean" }
+ "can_update": { "type": "boolean" },
+ "can_approve": { "type": "boolean" }
},
"additionalProperties": false
},