Module: Openapi::Rswag::Ui

Defined in:
lib/openapi/rswag/ui.rb,
lib/openapi/rswag/ui/engine.rb,
lib/openapi/rswag/ui/middleware.rb,
lib/openapi/rswag/ui/configuration.rb

Defined Under Namespace

Classes: Configuration, Engine, Middleware

Class Method Summary collapse

Class Method Details

.configObject



11
12
13
# File 'lib/openapi/rswag/ui.rb', line 11

def self.config
  @config ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



7
8
9
# File 'lib/openapi/rswag/ui.rb', line 7

def self.configure
  yield(config)
end