Class: Dry::Schema::OpenAPI::SchemaCompiler Private

Inherits:
JSONSchema::SchemaCompiler show all
Defined in:
lib/dry/schema/extensions/open_api/schema_compiler.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

UnknownConversionError =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Class.new(StandardError)

Constants inherited from JSONSchema::SchemaCompiler

JSONSchema::SchemaCompiler::IDENTITY, JSONSchema::SchemaCompiler::PREDICATE_TO_TYPE, JSONSchema::SchemaCompiler::TO_INTEGER

Instance Attribute Summary

Attributes inherited from JSONSchema::SchemaCompiler

#keys, #required

Instance Method Summary collapse

Methods inherited from JSONSchema::SchemaCompiler

#call, #fetch_filled_options, #fetch_type_opts_for_predicate, #initialize, #loose?, #merge_opts!, #raise_unknown_conversion_error!, #root?, #visit, #visit_and, #visit_each, #visit_implication, #visit_key, #visit_not, #visit_predicate, #visit_set

Constructor Details

This class inherits a constructor from Dry::Schema::JSONSchema::SchemaCompiler

Instance Method Details

#to_hashObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



13
14
15
# File 'lib/dry/schema/extensions/open_api/schema_compiler.rb', line 13

def to_hash
  transform_json_schema_hash!(super)
end