Skip to content

v0.19.1

@dbanty dbanty tagged this 27 Mar 00:50
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 your
`config.yml`:

```yaml
content_type_overrides:
  application/zip: application/octet-stream
```

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 pyright

This should resolve incompatibilities between the generated `Client`
class and the pyright type checker.

PR #1009 closes #909. Thanks @patrick91!

Co-authored-by: GitHub <[email protected]>
Assets 2
Loading