Closed musalser closed 1 month ago
Added support for collision pydantic schema names. For OpenAPI v3.0.3 and Pydantic V1 only yet.
Hi @musalser - thanks for your support! As Python 3.7 is EOL i'm going to decline this one - to keep the code simpler and maintenance easier we're only looking to target the currently supported versions, apologies for any inconvenience!
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!