Module: RSpec::Rails::Swagger

Defined in:
lib/rspec/rails/swagger/version.rb,
lib/rspec/rails/swagger.rb,
lib/rspec/rails/swagger/helpers.rb,
lib/rspec/rails/swagger/document.rb,
lib/rspec/rails/swagger/formatter.rb,
lib/rspec/rails/swagger/configuration.rb,
lib/rspec/rails/swagger/request_builder.rb

Overview

Version information for RSpec Swagger.

Defined Under Namespace

Modules: Helpers, Version Classes: Configuration, Document, Formatter, Railtie, RequestBuilder

Class Method Summary collapse

Class Method Details

.initialize_configuration(config) ⇒ Object



8
9
10
11
12
13
# File 'lib/rspec/rails/swagger/configuration.rb', line 8

def self.initialize_configuration(config)
  config.add_setting :swagger_root
  config.add_setting :swagger_docs, default: {}

  Helpers.add_swagger_type_configurations(config)
end