Sha256: 90d4950b0a2ddd7a593c85f7ede7e62c0f15af701acdb75e102ecf57ae3473eb

Contents?: true

Size: 691 Bytes

Versions: 2

Compression:

Stored size: 691 Bytes

Contents

# Classes
module OpenAPIParser
  class SchemaValidator
    class Base
      @coerce_value: bool | nil

      def initialize: (OpenAPIParser::SchemaValidator::Validatable validatable, (bool | nil) coerce_value) -> untyped
      attr_reader validatable: OpenAPIParser::SchemaValidator::Validatable
      def coerce_and_validate: (Object _value, OpenAPIParser::Schemas::Schema _schema, **untyped) -> bot
      def validate_discriminator_schema: (
        OpenAPIParser::Schemas::Discriminator discriminator, 
        Hash[String, bot] value,
        ?parent_discriminator_schemas: Array[OpenAPIParser::Schemas::Schema]
      ) -> [Object | nil, OpenAPIParser::validate_error]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openapi_parser-1.0.0 sig/openapi_parser/schema_validators/base.rbs
openapi_parser-1.0.0.beta1 sig/openapi_parser/schema_validators/base.rbs