Auto generates swagger JSON documentation for a Rails based app
Add this line to your application's Gemfile:
gem 'swaggerize', git: 'https://github.com/KLCrow/swaggerize.git'
And then execute:
$ bundle install
Include Swaggerize in parent ApiController
include Concerns::Swaggerize
You can exclude gem execution for a specific controller or action by adding
skip_after_action :swaggerize, only: [:index, :show]