Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't override nickname when using namespaces and route params #481

Closed
pbendersky opened this issue Jul 26, 2016 · 3 comments · Fixed by #483
Closed

Can't override nickname when using namespaces and route params #481

pbendersky opened this issue Jul 26, 2016 · 3 comments · Fixed by #483

Comments

@pbendersky
Copy link
Contributor

I have the following API end-point:

    class Products < Grape::API
      namespace :products do
        route_param :product_id, type: Integer
          desc 'Return a given product by id.', nickname: 'getProductById'
          get do
          end
        end
      end
    end

In this case, overriding the nickname doesn't work and I get the auto-generated one. Any idea? I'm using grape-swagger 0.22.

@LeFnord
Copy link
Member

LeFnord commented Jul 26, 2016

@pbendersky … sorry, this isn't re-implemented yet

@pbendersky
Copy link
Contributor Author

@LeFnord any pointer on where to look to contribute it?

@LeFnord
Copy link
Member

LeFnord commented Jul 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants