openapi-python-client
openapi-python-client copied to clipboard
Generate modern Python clients from OpenAPI
**Describe the bug** I have an endpoint that takes in a dictionary as a query param: ``` - name: metadata in: query required: false style: deepObject explode: true schema: type:...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use...
**Describe the bug** It is possible to generate a model with a missing import leading to invalid python code. The below `to_multipart` function is generated in the body for the...
**Describe the bug** If a model of the Openapi App is called `Client` this name collides with the `client.Client` object in imports. **OpenAPI Spec File** ```json { "openapi": "3.1.0", "info":...
**Describe the bug** The `const` property validation introduced in #1024 is not correct when there are >= 2 non-none values. In particular, the validation accepts only the first value **OpenAPI...
**Describe the bug** INT enums enum: [1,10,20] map to VALUE_1, VALUE_10, VALUE_20 .... but you can't have mixed str&int enums. I have some enums in an openapi file that take...