Openapi-python-client

Latest version: v0.21.6

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

Scan your dependencies

Page 8 of 13

0.10.6

Features

- Improve error messages related to invalid arrays and circular or recursive references [519].
- Add httpx 0.20.\* support [514].

Fixes

- Use isort "black" profile in generated clients [523]. Thanks johnthagen!
- setup.py should generate importable packages named <project>\_client [492, 520, 521]. Thanks tedo-benchling & Leem0sh!
- Allow None in enum properties [504, 512, 516]. Thanks juspence!
- properly support JSON OpenAPI documents and config files [488, 509, 515]. Thanks tardyp and Gelbpunkt!

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

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.