Eli Bishop
Eli Bishop
> Unfortunately it's not possible to render every OpenAPI document into idiomatic Python. For example, enum variants should, idiomatically, be screaming snake case. But obviously that auto-conversion doesn't always work....
I think I see how this is happening. There are two related issues here: 1. The current allOf logic only works for object schemas, not for unions of "could be...
I think that my https://github.com/openapi-generators/openapi-python-client/issues/1090 is the same thing. I'm not sure which part of your spec it was failing on, but I tried your spec locally using my changes...
@dbanty, I'll close this - it does seem to have been fixed as described above.
I believe the problem has to do with the deferred way in which model schemas are resolved. The parser processes the `schemas` section in two passes. In the first pass,...
Seems to me like the only reason there's a variable name at all in that last part is that `additional_properties` needs to be set separately— it's been deliberately declared as...
Also, if my https://github.com/openapi-generators/openapi-python-client/pull/1156 is accepted, this is another kind of thing that would be well suited to unit tests of the generated code. For instance, test classes for model...