openapi-pydantic icon indicating copy to clipboard operation
openapi-pydantic copied to clipboard

python <= 3.7 compatibility, support for collision pydantic schema names

Open musalser opened this issue 11 months ago • 1 comments

The only difference comparing to upstream library (openapi-schema-pydantic), that increases requirements from Python >=3.6.1 to Python >=3.8 i see is imports TypedDict and Literal from typing

Fixed it with sys.version_info checking before imports and importing it from typing_extensions All tests ran successfully!

musalser avatar Mar 14 '24 14:03 musalser