richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Tags in Rails

hamza-intagleo opened this issue · comments

I have implemented the swagger using this library in my Rails application. In my Registration Controller I have added the below code:
swagger_controller :registrations, 'User Management'

This line creates a tag like "registrations : User Management " when execute the swagger.

Is there any option to replace this "registrations : User Management " with some other string to have more readable tags ?

Please guide ASAP
Thanks