Sha256: 1ff1b283738872b893120554455abc8d9a1c5bf0f45e5300a3ebdaa748d5e7cc

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

class OpenAPIParser::SchemaValidator
  class Base
    def initialize(validator, coerce_value)
      @validator = validator
      @coerce_value = coerce_value
    end

    attr_reader :validator

    # @!attribute [r] validator
    #   @return [OpenAPIParser::SchemaValidator]

    # return  [coerced_value, error]
    def coerce_and_validate(_value, _schema)
      raise 'need implement'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openapi_parser-0.1.5 lib/openapi_parser/schema_validators/base.rb
openapi_parser-0.1.4 lib/openapi_parser/schema_validators/base.rb
openapi_parser-0.1.3 lib/openapi_parser/schema_validators/base.rb