8 9 10 11 12 13 14 15
# File 'app/controllers/oas_rails/oas_rails_controller.rb', line 8 def index respond_to do |format| format.html { render "index", layout: @config.layout } format.json do render json: OasRails.build(config: @config).to_json, status: :ok end end end