mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Merge pull request #156 from earksiinni/patch-1
Fix installation instructions for separate gems
This commit is contained in:
commit
a50bf616b9
@ -44,6 +44,13 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
|
|||||||
```ruby
|
```ruby
|
||||||
rails g rswag:install
|
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.
|
3. Create an integration spec to describe and test your API.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user