Module: RSpec::Swag

Defined in:
lib/rspec/swag.rb,
lib/rspec/swag/version.rb,
lib/rspec/swag/configuration.rb,
lib/rspec/swag/example_helpers.rb,
lib/rspec/swag/extended_schema.rb,
lib/rspec/swag/request_factory.rb,
lib/rspec/swag/swagger_formatter.rb,
lib/rspec/swag/response_validator.rb,
lib/rspec/swag/project_initializer.rb,
lib/rspec/swag/example_group_helpers.rb

Defined Under Namespace

Modules: ExampleGroupHelpers, ExampleHelpers Classes: Configuration, ConfigurationError, ExtendedSchema, MissingParameterError, ProjectInitializer, RequestFactory, ResponseValidator, SwaggerFormatter, UnexpectedResponse

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.configObject



21
22
23
# File 'lib/rspec/swag.rb', line 21

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

.deprecatorObject



25
26
27
# File 'lib/rspec/swag.rb', line 25

def self.deprecator
  @deprecator ||= ActiveSupport::Deprecation.new("3.0", "rspec-swag")
end