openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

Generate modern Python clients from OpenAPI

Results 147 openapi-python-client issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Models for schemas with `allOf` are not generated. **To Reproduce** Steps to reproduce the behavior: 1. Run generation for example OpenAPI (see below). 2. See the generated...

enhancement

**Describe the bug** In my openapi.json, a parameter for one of my schemas has a string enum as its type, and a member of that enum as its default value....

enhancement

**Is your feature request related to a problem? Please describe.** It should be possible to have endpoint with a full plain text request body like ``` /dummy: post: requestBody: description:...

enhancement

### Discussed in https://github.com/openapi-generators/openapi-python-client/discussions/254 Originally posted by **theFong** November 28, 2020 **Is your feature request related to a problem? Please describe.** In some cases, if an unexpected error code is...

enhancement

**Describe the bug** When specifying a `url` in `servers` in a spec, the path is completely ignored in the generated endpoints. Making it necessary to fully qualify the `base_url` passed...

enhancement

**Is your feature request related to a problem? Please describe.** In generated `*partial_update.py` modules, the type signature is: ```py def sync( id: int, *, client: AuthenticatedClient, form_data: T, multipart_data: T,...

enhancement

With an openapi yaml schema that has this content: ``` requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/REDACTED' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/REDACTED' multipart/form-data: schema: type: array...

enhancement

In my case I want to generate a client to interact with [cloud-hypervisor](https://github.com/cloud-hypervisor/cloud-hypervisor). This means, the generated OA Client has to query a socket and not a common HTTP server....

enhancement

**Is your feature request related to a problem? Please describe.** OpenAPI 3 supports expressing basic auth support: https://swagger.io/docs/specification/authentication/basic-authentication/ While basic auth is often not ideal for production, during development basic...

enhancement

**Is your feature request related to a problem? Please describe.** Several folks have indicated issues that could be solved by instructing `openapi-python-client` to ignore files. This could also greatly simplify...

enhancement