Openapi-python-client

Latest version: v0.20.0

Safety actively analyzes 631178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 12

0.10.5

Features

- Add verify_ssl option to generated Client, allowing users to ignore or customize ssl verification (497). Thanks rtaycher!

Fixes

- Properly label a path template issue as a warning (494). Thanks chamini2!
- Don't allow mixed types in enums.
- Don't crash when a null is in an enum (500). Thanks juspence!

0.10.4

Features

- Allow customization of post-generation steps with the `post_hooks` config option.
- Allow httpx 0.19.\* (481)

Fixes

- Don't crash the generator when one of the post-generation hooks is missing [fixes 479]. Thanks chamini2 and karolzlot!

0.10.3

Features

- Expose `python_identifier` and `class_name` functions to custom templates to rename with the same behavior as the parser.

Fixes

- Treat `true` and `false` as reserved words.
- Prevent generating Python files named the same as reserved / key words.
- Properly replace reserved words in class and module names [475, 476]. Thanks mtovts!

0.10.2

Features

- Allow path parameters to be positional args [429 & 464]. Thanks tsotnikov!
- Include both `UNSET` and `None` static types for nullable or optional query params [421, 380, 462]. Thanks forest-benchling!
- Allow allOf enums to be subsets of one another or their base types [379, 423, 461]. Thanks forest-benchling! (461)

Fixes

- Parameters from `PathItem` can now be overriden in `Operation` [458 & 457]. Thanks mtovts!

0.10.1

Fixes

- Support multipart requests with type: array [452 & 451]. Thanks csymeonides-mf slamora and dpursehouse

0.10.0

Breaking Changes

- Normalize generated module names to allow more tags [428 & 448]. Thanks iamnoah & forest-benchling!
- Improved the consistency of snake_cased identifiers which will cause some to be renamed [413 & 432]. Thanks ramnes!
- Allow more types in multipart payloads by defaulting to JSON for complex types [372]. Thanks csymeonides-mf!

Features

- Allow custom templates for API and endpoint `__init__` files. [442] Thanks p1-ra!

Fixes

- Treat empty schemas like `Any` instead of `None`. Thanks forest-benchling! [417 & 445]

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.