I have problem with rswag spec/integration/*_spec.rb files witch goes in the main thread when I run rspec. In my project I use rswag lib only for creating documentation but not testing.
Result: rspec - run all tests except rswag. And rake rswag run only spec/integration/* for documentation.