Problem You built a REST API server using Rails and you need to document and test the endpoints. The Setup Let's assume the following: REST endpoint: /api/v1/posts Rails controller: app/controllers/api/v1/posts_controller.rb Steps 1 - Add the following to the Gemfile and run bundle afterwards. # Swagger gem 'swagger-docs' $ bundle 2 - Say you decide to structure your REST path in the following for