openapi-python-client
openapi-python-client copied to clipboard
Generate modern Python clients from OpenAPI
**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:...
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...
**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),...
**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...
**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....
**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...
**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:...
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...
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...
Not sure what the best Python format is for this. Maybe an arbitrary Dict? Maybe just an instance of CSVReader? Or CSVDictReader?