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.** One of the issues that block implementation of #466 or #563 is circular import occurs in the case of circular...

enhancement

**Is your feature request related to a problem? Please describe.** While the generator is unstable, I suggest adding a flag to display information about the generated code after the execution....

enhancement

**Describe the bug** If a `requestBody` is declared with a `$ref`, then no `json_body` property is generated. If the reference is inlined, then `json_body` is generated. **To Reproduce** Steps to...

🐞bug

**Describe the bug** Invalid response status code default (not a number), response will be ommitted from generated client **To Reproduce** openapi-python-client generate --url https://petstore3.swagger.io/api/v3/openapi.json **Desktop (please complete the following information):**...

bug

**Describe the bug** If a top-level schema is defined using `oneOf` or `anyOf`, the generated model has no properties. **To Reproduce** See this PR which adds a test case for...

enhancement

**Is your feature request related to a problem? Please describe.** Currently, default client directory and package names are picked up from the schema files. E.g. For schema titled "Company API",...

enhancement

It would be nice if the generated client would support client side certificates. This would be an additional authentication method used in secured environments. The underlaying httpx lib does support...

enhancement

The code generation tries to guess word boundries and apply camel case and underscore case as needed. ```yaml Bobs: type: object properties: IPAs: type: array items: ... ``` For instance...

enhancement

**Is your feature request related to a problem? Please describe.** References to schemas that have not been processed yet are not supported now. See the example. **Describe the solution you'd...

enhancement
here there be dragons

**Describe the bug** The `sync_detailed` and `asyncio_detailed` functions return type Response[...] The non-detailed `sync` and `asyncio` functions return Response.parsed The docstrings do not reflect this, though, because `Response[...]` is [hard...

bug