Change rails rswag UI command to last one

This commit is contained in:
Benoit Tigeot 2016-10-12 18:19:56 +02:00
parent 45263ab1ac
commit 7333fb8993

View File

@ -317,7 +317,8 @@ end
The swagger-ui provides several options for customizing it's behavior, all of which are documented here https://github.com/swagger-api/swagger-ui#swaggerui. If you need to tweak these or customize the overall look and feel of your swagger-ui, then you'll need to provide your own version of index.html. You can do this with the following generator.
```ruby
rails g rswag:ui:custom_ui
rails g rswag:ui:custom
```
This will add a local version that you can modify at _app/views/rswag/ui/home/index.html.erb_