openapi-python-client
openapi-python-client copied to clipboard
Name conflict between `models.Response` and `types.Response`
I ran into an OpenAPI spec which included a Response type. That caused a name conflict in the generated python code:
from ...models.response import Response
from ...types import Response
This was fixed easily enough using a class_overrides config, but since the classes in types.py are pretty generic I think it would be better if the classes were just fully qualified to avoid this kind of conflict.
@drwilly could you add the class_overrides stanza you used here?