Merge pull request #122 from gouthamvel/patch-1

Add alternative way to load gem for optimization
This commit is contained in:
Richard Morris 2018-05-20 09:33:08 -07:00 committed by GitHub
commit d4b6848fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,19 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
```ruby ```ruby
gem 'rswag' gem 'rswag'
``` ```
or if you like to avoid loading rspec in other bundler groups.
```ruby
# Gemfile
gem 'rswag-api'
gem 'rswag-ui'
groups :test do
gem 'rspec-rails'
gem 'rswag-specs'
end
```
2. Run the install generator 2. Run the install generator