Commit 08f5f897 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix project id param for merge request version API

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 69096ad9
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment