Update README

This commit is contained in:
Laura Watson 2019-10-17 17:18:27 +01:00
parent d12c018cb7
commit ea2ed6ca49

View File

@ -26,14 +26,15 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
gem 'rswag' gem 'rswag'
``` ```
or if you like to avoid loading rspec in other bundler groups. or if you like to avoid loading rspec in other bundler groups load the rswag-specs component separately.
Note: Adding it to the :development group is not strictly necessary, but without it, generators and rake tasks must be preceded by RAILS_ENV=test.
```ruby ```ruby
# Gemfile # Gemfile
gem 'rswag-api' gem 'rswag-api'
gem 'rswag-ui' gem 'rswag-ui'
group :test do group :development, :test do
gem 'rspec-rails' gem 'rspec-rails'
gem 'rswag-specs' gem 'rswag-specs'
end end