richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.
MIT License
749 stars 150 forks source link

Custom Tags in Rails #178

Open hamza-intagleo opened 5 years ago

hamza-intagleo commented 5 years ago

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