Module: EasySwaggerUi

Defined in:
lib/easy_swagger_ui.rb,
lib/easy_swagger_ui/engine.rb,
lib/easy_swagger_ui/version.rb,
lib/easy_swagger_ui/configuration.rb,
lib/easy_swagger_ui/route_matcher.rb,
app/helpers/easy_swagger_ui/application_helper.rb,
app/controllers/easy_swagger_ui/swagger_controller.rb,
app/controllers/easy_swagger_ui/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, RouteMatcher Classes: ApplicationController, Configuration, Engine, SwaggerController

Constant Summary collapse

VERSION =
'0.1.1'.freeze
SWAGGER_UI_VERSION =
'2.2.10'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject



11
12
13
# File 'lib/easy_swagger_ui.rb', line 11

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/easy_swagger_ui.rb', line 15

def configure
  yield configuration
end