BigW Consortium Gitlab

Fix project id param for merge request version API

parent 69096ad9
...@@ -905,7 +905,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions ...@@ -905,7 +905,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions
| Attribute | Type | Required | Description | | 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 | | `merge_request_id` | integer | yes | The ID of the merge request |
```bash ```bash
......
...@@ -10,8 +10,8 @@ module API ...@@ -10,8 +10,8 @@ module API
end end
params do params do
requires :id, type: Integer, desc: 'The ID of a project' requires :id, type: String, desc: 'The ID of a project'
requests :merge_request_id, type: Integer, desc: 'The ID of a merge request' requires :merge_request_id, type: Integer, desc: 'The ID of a merge request'
end end
get ":id/merge_requests/:merge_request_id/versions" do 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