Class: SwaggerYard::Rails::SwaggerController

Inherits:
ApplicationController show all
Defined in:
app/controllers/swagger_yard/rails/swagger_controller.rb

Instance Method Summary collapse

Instance Method Details

#docObject



6
7
# File 'app/controllers/swagger_yard/rails/swagger_controller.rb', line 6

def doc
end

#indexObject



9
10
11
# File 'app/controllers/swagger_yard/rails/swagger_controller.rb', line 9

def index
  render :json => Swagger.new.to_h, :layout => false
end