Sha256: c5e75bb3a59880282c073d654729c6fcaa979ffeb8c7e7d5c2d3592d4624a7f0

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 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 }
  @info = {}
  @application_version = '1.0.0'
  @request_headers = []
  @server_urls = []
  @example_types = %i[request]

  class << self
    attr_accessor :path, :comment, :enable_example, :description_builder, :info, :application_version, :request_headers, :server_urls, :example_types
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-openapi-0.5.1 lib/rspec/openapi.rb
rspec-openapi-0.5.0 lib/rspec/openapi.rb
rspec-openapi-0.4.8 lib/rspec/openapi.rb
rspec-openapi-0.4.7 lib/rspec/openapi.rb