Module: Rswag3::Api

Defined in:
lib/rswag3/api.rb,
lib/rswag3/api/engine.rb,
lib/rswag3/api/middleware.rb,
lib/rswag3/api/configuration.rb,
lib/generators/rswag3/api/install/install_generator.rb

Defined Under Namespace

Classes: Configuration, Engine, InstallGenerator, Middleware

Class Method Summary collapse

Class Method Details

.configObject



10
11
12
# File 'lib/rswag3/api.rb', line 10

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

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

Yields:



6
7
8
# File 'lib/rswag3/api.rb', line 6

def self.configure
  yield(config)
end