openapi-pydantic
openapi-pydantic copied to clipboard
python <= 3.7 compatibility, support for collision pydantic schema names
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!