Closed dbanty closed 6 months ago
This PR was created by Knope. Merging it will create a new release
You can now define a content_type_overrides field in your config.yml:
content_type_overrides
config.yml
content_type_overrides: application/zip: application/octet-stream
This allows openapi-python-client to generate code for content types it doesn't recognize.
openapi-python-client
PR #1010 closes #810. Thanks @gaarutyunov!
Client
This should resolve incompatibilities between the generated Client class and the pyright type checker.
PR #1009 closes #909. Thanks @patrick91!
This PR was created by Knope. Merging it will create a new release
Features
Add config option to override content types
You can now define a
content_type_overrides
field in yourconfig.yml
:This allows
openapi-python-client
to generate code for content types it doesn't recognize.PR #1010 closes #810. Thanks @gaarutyunov!
Fixes
Add aliases to
Client
for pyrightThis should resolve incompatibilities between the generated
Client
class and the pyright type checker.PR #1009 closes #909. Thanks @patrick91!