mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Merge pull request #122 from gouthamvel/patch-1
Add alternative way to load gem for optimization
This commit is contained in:
commit
d4b6848fa5
13
README.md
13
README.md
@ -17,6 +17,19 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
|
||||
```ruby
|
||||
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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user