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
api keyword without specifying the verb/path loads values from routes #194
Conversation
Nice, thanks for the multiple routes additional feature! |
I've done more testing on our project, discovered and fixed some issues with more complex nesting of routes (with constraints, scopes etc). We will probably want to be able to determine the way of processing of the route specs into https://github.com/Pajk/apipie-rails/pull/194/files#diff-c252ba104efd0ecb906ad2edd58ce884R71 as folks might have different preferences on if to include the format, braces for optional params etc. What do you think? |
Yes, it would be nice having a configuration setting for the formatter of the route path, to have more flexibility. |
I added the functionality here ifeelgoods@624cbf3 (I reset my branch on yours #187 ) |
does this allow you to still give a description for the route? like: api :description => "This is the route description to the following controller action." |
@komidore64 Yes, it should keep all others previous behaviors. (otherwise it means there is a bug) |
We can close this PR @iNecas |
No description provided.