Class: DryCrudJsonapiSwagger::ApidocsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/dry_crud_jsonapi_swagger/apidocs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



8
9
10
11
12
13
# File 'app/controllers/dry_crud_jsonapi_swagger/apidocs_controller.rb', line 8

def show
  respond_to do |format|
    format.html
    format.json { render json: generate_doc }
  end
end