Class: SwaggerUiEngine2::SwaggerDocsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- SwaggerUiEngine2::SwaggerDocsController
- Includes:
- ConfigParser
- Defined in:
- app/controllers/swagger_ui_engine2/swagger_docs_controller.rb
Instance Method Summary collapse
Methods included from ConfigParser
#configuration, #set_validator_url, #validator_enabled?
Methods included from AuthConfigParser
#admin_password, #admin_username, #basic_authentication_enabled?, #configuration
Instance Method Details
#index ⇒ Object
9 10 11 |
# File 'app/controllers/swagger_ui_engine2/swagger_docs_controller.rb', line 9 def index @swagger_url = @swagger_url[params[:id].to_sym] unless single_doc_url? end |