Sha256: 5561ec1f5bb24f8589999e4a02eedb62c74c799e42018457eddcb3efe21619fb

Contents?: true

Size: 204 Bytes

Versions: 6

Compression:

Stored size: 204 Bytes

Contents

require 'fakeit/openapi/schema'

module OpenAPIParser
  module Schemas
    class Reference
      def to_example(_) = raise(Fakeit::Openapi::ReferenceError, "Invalid $ref at \"#{ref}\"")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fakeit-0.10.0 lib/fakeit/core_extensions/reference.rb
fakeit-0.9.2 lib/fakeit/core_extensions/reference.rb
fakeit-0.9.1 lib/fakeit/core_extensions/reference.rb
fakeit-0.9.0 lib/fakeit/core_extensions/reference.rb
fakeit-0.8.1 lib/fakeit/core_extensions/reference.rb
fakeit-0.8.0 lib/fakeit/core_extensions/reference.rb