Sha256: 034e162359530305314c575fe1cc8ebc57290f9ae8e9fd9e627eda2d43f22384

Contents?: true

Size: 755 Bytes

Versions: 6

Compression:

Stored size: 755 Bytes

Contents

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

      attr_reader validatable: OpenAPIParser::SchemaValidator::Validatable

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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
openapi_parser-2.2.2 sig/openapi_parser/schema_validators/base.rbs
openapi_parser-2.2.1 sig/openapi_parser/schema_validators/base.rbs
openapi_parser-2.2.0 sig/openapi_parser/schema_validators/base.rbs
openapi_parser-2.1.0 sig/openapi_parser/schema_validators/base.rbs
openapi_parser-2.0.0 sig/openapi_parser/schema_validators/base.rbs
openapi_parser_firetail-1.0.0 sig/openapi_parser/schema_validators/base.rbs