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

**Is your feature request related to a problem? Please describe.** When an endpoint returns `oneOf` several different classes, currently it returns an empty object. Sample component snippet: ```yaml ReturnedObject: oneOf:...

enhancement

As of version 0.6.1, the generated `Client` is somewhat configurable - headers, cookies, and timeout. However, these are all abstractions which have to then be handled explicitly within each generated...

enhancement

**Describe the bug** In the [specifications](https://swagger.io/specification/#responses-object), default MAY be used as a default response object for all HTTP codes that are not covered individually by the specification. response = response_from_data(status_code=int(code),...

enhancement

**Describe the bug** In my Open API Spec I have a PATCH method, that defines a request body (content-type=merge-patch+json). The generated code/method, does not contain a argument for the request...

enhancement

**Is your feature request related to a problem? Please describe.** Given an array query parameter with explode set to false, we'd like to generate a client that handles it properly....

enhancement

**Is your feature request related to a problem? Please describe.** The clients I'm generating must authenticate with a cookie, which is not supported by openapi-python-client right now. **Describe the solution...

enhancement

**Is your feature request related to a problem? Please describe.** Given OpenAPI YAML like (assume it's converted to JSON for generation): ```yaml components: schemas: Schema: type: object properties: id: type:...

enhancement

It's possible that someone will want only certain pieces of an API for their usecase. Would be nice to be able to provide a list of tags in config to...

enhancement
good first issue

0.4.0 will have a lot of template changes, some of which replaced Python methods that were previously unit tested. Templates are not unit tested and e2e tests don't cover every...

enhancement
help wanted

Not sure what the best Python format is for this. Maybe an arbitrary Dict? Maybe just an instance of CSVReader? Or CSVDictReader?

enhancement