Module: Rswag::Api
- Defined in:
- lib/rswag/api.rb,
lib/rswag/api/engine.rb,
lib/rswag/api/middleware.rb,
lib/rswag/api/configuration.rb,
lib/generators/rswag/api/install/install_generator.rb
Defined Under Namespace
Classes: Configuration, Engine, InstallGenerator, Middleware
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
16
17
18
|
# File 'lib/rswag/api.rb', line 16
def self.config
@config ||= Configuration.new
end
|
12
13
14
|
# File 'lib/rswag/api.rb', line 12
def self.configure
yield(config)
end
|
.deprecator ⇒ Object
20
21
22
|
# File 'lib/rswag/api.rb', line 20
def self.deprecator
@deprecator ||= ActiveSupport::Deprecation.new('3.0', 'rswag-api')
end
|