Module: Openapi::Rswag::Api

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

Defined Under Namespace

Classes: Configuration, Engine, Middleware

Class Method Summary collapse

Class Method Details

.configObject



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

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

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

Yields:



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

def self.configure
  yield(config)
end