This is assuming you already have:
- An existing Ruby/Rails API
- Local server can start without issues
Steps:
-
Add
gem "rswag"
to your Gemfile -
Add
gem "rspec-rails"
andgem "rswag-specs"
to your Gemfile within thegroup :development, :test do...end
block