-
Notifications
You must be signed in to change notification settings - Fork 465
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
[Feature Request] Define custom apidoc section independent from the controller name #730
Comments
Hey :) Thanks for using the library and sorry for the delay. Have you tried to use class JobsController
resource_description do
name 'CustomJobs'
end
end ? |
Hey! thanks for your reply :) Unfortunately, it doesn't change the order where the entry is listed at the apidoc page. I thought it would be generated alphabetically & change the order if I change the name. Do you have an idea on how to fix this @ofedoren ? |
. |
did you mean to say something here @vinczedani ? |
yup I wanted to, but then I realised its not in the scope of this issue, so moved it to #759 |
I think @vinczedani is correct that it would help to remove the default resource tag to allow the fix from @ofedoren to work. |
Alright, thanks for your help! @davidwessman |
Hey! I've had a look at your documentation and I can't find a command to achieve the following:
I have an existing controller which is called
JobsController
. apidoc creates a corresponding section which is calledJobs
. Now, I want to change the section name without changing the controller name. Is there any apipie command to define a custom apidoc section name such that it doesn't use the controller name anymore? Something like:The reason for this is that I don't want to rename the whole controller (and all its occurrences), but the corresponding documentation shall be listed under a different section name.
Maybe I just overlooked it and the functionality is already given by a command.
The text was updated successfully, but these errors were encountered: