MarcoMuellner / openapi-python-generator

A client generator from openapi for python.
MIT License
54 stars 22 forks source link

Added --dict-arg option for configuring how pydantic models are serialized. #38

Closed alliefitter closed 1 year ago

alliefitter commented 1 year ago

Example usage:

$ openapi-python-generator openapi.json client/ --use-orjson --dict-arg exclude_unset=True --dict-arg exclude_none=True
MarcoMuellner commented 1 year ago

@alliefitter Could you resolve the conflict?

alliefitter commented 1 year ago

Shit, my bad. Must not have pulled in fresh changes. I'll get to this before EOD.

MarcoMuellner commented 1 year ago

This should be the solution to #36