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

Generate modern Python clients from OpenAPI

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

**Describe the bug** OpenAPI date-time fields are generated using` datetime.datetime.isoformat` and don't comply with OpenAPI spec / RFC3339 **OpenAPI Spec File** ``` /api/example: get: tags: - "example" operationId: example-get summary:...

Currently when an endpoint has multiple tags, the first tag is used and everything else is ignored. This PR modifies it so endpoints with multiple tags are added to each...

I'm getting this error when I try to generate my client, but it's not telling what enum it's having a problem with, or even what endpoint it was trying to...

🐞bug

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

🐞bug

I added the additional features i needed from other forks along with one more feature that i needed into this fork 1. Ability to pass target path instead of chdir...

`raise_on_error_status` raises a `httpx.HTTPStatusError` on all error response codes without decoding. This can later be improved to add an exception that includes the decoded content, or to even raise different...

Added setting `case_sensitive_enums` to allow case sensitive enum values in the generated code. This solve the issue in #587 . Also, to avoid collisions, changes the prefix for values not...

✨ enhancement
🥚breaking

Partially closes #219. This fixes deserializing polymorphic types that have the same members, which otherwise would rely on order of types in the union.

**Describe the bug** When generating models for an API where a default argument is a list of enums, a TypeError is raised [on this line](https://github.com/openapi-generators/openapi-python-client/blob/main/openapi_python_client/parser/properties/__init__.py#L463): return f"{prop.class_info.name}.{inverse_values[default]}" A possible fix...

🐞bug