Sha256: a7ad72ae3d3634ee83cb53a8b961f7b514d9587ee8ef13b180f1d4b63a0540b1

Contents?: true

Size: 391 Bytes

Versions: 9

Compression:

Stored size: 391 Bytes

Contents

require 'rspec/openapi/version'
require 'rspec/openapi/hooks' if ENV['OPENAPI']

module RSpec::OpenAPI
  @path = 'doc/openapi.yaml'
  @comment = nil
  @enable_example = true
  @description_builder = -> (example) { example.description }
  @application_version = '1.0.0'

  class << self
    attr_accessor :path, :comment, :enable_example, :description_builder, :application_version
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rspec-openapi-0.3.18 lib/rspec/openapi.rb
rspec-openapi-0.3.17 lib/rspec/openapi.rb
rspec-openapi-0.3.16 lib/rspec/openapi.rb
rspec-openapi-0.3.15 lib/rspec/openapi.rb
rspec-openapi-0.3.14 lib/rspec/openapi.rb
rspec-openapi-0.3.13 lib/rspec/openapi.rb
rspec-openapi-0.3.12 lib/rspec/openapi.rb
rspec-openapi-0.3.11 lib/rspec/openapi.rb
rspec-openapi-0.3.10 lib/rspec/openapi.rb