Skip to content

Remove equivalent paths

Eugene Lim requested to merge elim-ext-user-keys-equivalent-paths into master

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:

Screenshot_2022-11-08_at_6.10.35_PM

By renaming the path parameter name to the same user_id, the error is resolved.

Merge request reports