* Add support for `oneOf` type parsing with validation and example cases * Improve `oneOf` type parsing: refine validators, add discriminator support, and expand test coverage * Add hashable and non-hashable value support to `ConstTypeParser` with expanded test cases * Refine `field_props` check in `_type_parser` for cleaner default handling * Update `StringTypeParser` to refine `format` handling and enrich `json_schema_extra` * Remove outdated `oneOf` examples from docs, expand test cases and provide refined examples with discriminator support
32 lines
988 B
Python
32 lines
988 B
Python
from ._type_parser import GenericTypeParser
|
|
from .allof_type_parser import AllOfTypeParser
|
|
from .anyof_type_parser import AnyOfTypeParser
|
|
from .array_type_parser import ArrayTypeParser
|
|
from .boolean_type_parser import BooleanTypeParser
|
|
from .const_type_parser import ConstTypeParser
|
|
from .enum_type_parser import EnumTypeParser
|
|
from .float_type_parser import FloatTypeParser
|
|
from .int_type_parser import IntTypeParser
|
|
from .null_type_parser import NullTypeParser
|
|
from .object_type_parser import ObjectTypeParser
|
|
from .oneof_type_parser import OneOfTypeParser
|
|
from .ref_type_parser import RefTypeParser
|
|
from .string_type_parser import StringTypeParser
|
|
|
|
|
|
__all__ = [
|
|
"GenericTypeParser",
|
|
"EnumTypeParser",
|
|
"ConstTypeParser",
|
|
"AllOfTypeParser",
|
|
"AnyOfTypeParser",
|
|
"ArrayTypeParser",
|
|
"BooleanTypeParser",
|
|
"FloatTypeParser",
|
|
"IntTypeParser",
|
|
"NullTypeParser",
|
|
"ObjectTypeParser",
|
|
"OneOfTypeParser",
|
|
"StringTypeParser",
|
|
"RefTypeParser",
|
|
] |