mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Merge branch 'master' into dry-run-env
This commit is contained in:
commit
9916d3f0b0
@ -455,7 +455,7 @@ end
|
|||||||
You need to disable `--dry-run` option for Rspec > 3. You can do one of the following:
|
You need to disable `--dry-run` option for Rspec > 3. You can do one of the following:
|
||||||
|
|
||||||
- use environment varible `SWAGGER_DRY_RUN` set to `1` during generation command
|
- use environment varible `SWAGGER_DRY_RUN` set to `1` during generation command
|
||||||
- or add the following to your `application.rb`:
|
- or add the following to your `config/environments/test.rb`:
|
||||||
```ruby
|
```ruby
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.swagger_dry_run = false
|
config.swagger_dry_run = false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user