Merge pull request #156 from earksiinni/patch-1

Fix installation instructions for separate gems
This commit is contained in:
Richard Morris 2018-10-09 15:02:44 -07:00 committed by GitHub
commit a50bf616b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,13 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
rails g rswag:install
```
Or run the install generators for each package separately if you installed Rswag as separate gems, as indicated above:
```ruby
rails g rswag:api:install rswag:ui:install
RAILS_ENV=test rails g rswag:specs:install
```
3. Create an integration spec to describe and test your API.
```ruby