Module: Rswag::Specs

Defined in:
lib/rswag/specs.rb,
lib/rswag/specs/railtie.rb,
lib/rswag/specs/configuration.rb,
lib/rswag/specs/example_helpers.rb,
lib/rswag/specs/extended_schema.rb,
lib/rswag/specs/request_factory.rb,
lib/rswag/specs/swagger_formatter.rb,
lib/rswag/specs/response_validator.rb,
lib/rswag/specs/example_group_helpers.rb,
lib/generators/rswag/specs/install/install_generator.rb

Defined Under Namespace

Modules: ExampleGroupHelpers, ExampleHelpers Classes: Configuration, ConfigurationError, ExtendedSchema, ExtendedTypeAttribute, InstallGenerator, Railtie, RequestFactory, ResponseValidator, SwaggerFormatter, UnexpectedResponse

Constant Summary collapse

RAILS_VERSION =

Support Rails 3+ and RSpec 2+ (sigh!)

Rails::VERSION::MAJOR
RSPEC_VERSION =
RSpec::Core::Version::STRING.split('.').first.to_i

Class Method Summary collapse

Class Method Details

.configObject



20
21
22
# File 'lib/rswag/specs.rb', line 20

def self.config
  @config ||= Configuration.new(RSpec.configuration)
end