Skip to content

Conversation

patrick91
Copy link
Contributor

Copy link
Collaborator

@dbanty dbanty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @patrick91 !

@dbanty dbanty added this pull request to the merge queue Mar 27, 2024
Merged via the queue into openapi-generators:main with commit 43e0461 Mar 27, 2024
dbanty added a commit that referenced this pull request Mar 27, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants