This MR fixes an error in OpenAPI generation caused be equivalent paths. lib/api/users.rb defines the get ':user_id/keys'``post ":id/keys" routes, but since these are equivalent paths in OpenAPI an error is created:
By renaming the path parameter name to the same user_id, the error is resolved.