Class: SwaggerYard::Rails::SwaggerController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- SwaggerYard::Rails::SwaggerController
- Defined in:
- app/controllers/swagger_yard/rails/swagger_controller.rb
Instance Method Summary collapse
Instance Method Details
#doc ⇒ Object
6 7 |
# File 'app/controllers/swagger_yard/rails/swagger_controller.rb', line 6 def doc end |
#index ⇒ Object
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 |