summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/merge_requests.md2
-rw-r--r--lib/api/merge_request_diffs.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 68b5172ed0d..0c06cfcd876 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -905,7 +905,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions
| Attribute | Type | Required | Description |
| --------- | ------- | -------- | --------------------- |
-| `id` | integer | yes | The ID of the project |
+| `id` | String | yes | The ID of the project |
| `merge_request_id` | integer | yes | The ID of the merge request |
```bash
diff --git a/lib/api/merge_request_diffs.rb b/lib/api/merge_request_diffs.rb
index be954ff96ac..a2f92f81107 100644
--- a/lib/api/merge_request_diffs.rb
+++ b/lib/api/merge_request_diffs.rb
@@ -10,8 +10,8 @@ module API
end
params do
- requires :id, type: Integer, desc: 'The ID of a project'
- requests :merge_request_id, type: Integer, desc: 'The ID of a merge request'
+ requires :id, type: String, desc: 'The ID of a project'
+ requires :merge_request_id, type: Integer, desc: 'The ID of a merge request'
end
get ":id/merge_requests/:merge_request_id/versions" do