Openapi-python-client

Latest version: v0.20.0

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

Scan your dependencies

Page 6 of 12

0.11.2

Features

- Allow httpx 0.23.x (617)

Fixes

- typos in generated README (586). Thanks adelevie!

0.11.1

Features

- Allow httpx 0.22.\* (577)

Fixes

- Type annotations for optional dates and datetimes in multipart/form (580)
- Error generating clients with dates or datetimes in multipart/form [579]. Thanks lsaavedr!
- Include nested packages in generated setup.py [575, 576]. Thanks tedo-benchling!

0.11.0

Breaking Changes

- Minimum required `attrs` version in generated clients is now 21.3.0.
- Python 3.6 is officially not supported. The minimum version has been updated to reflect this.
- Validation of OpenAPI documents is now more strict.
- Model names generated from OpenAPI names with periods (`.`) in them will be different.
- Header values will be explicitly transformed or omitted instead of blindly passed to httpx as-is.
- `datetime` is now considered a reserved word everywhere, so any properties which were named `datetime` will now be named `datetime_`.
- `File` uploads can now only accept binary payloads (`BinaryIO`).

Features

- Don't set a cap on allowed `attrs` version.
- use poetry-core as build backend in generated clients [565]. Thanks fabaff!
- Use httpx.request to allow bodies for all type of requests [545, 547]. Thanks MalteBecker!

Fixes

- OpenAPI schema validation issues (426, 568). Thanks p1-ra!
- treat period as a delimiter in names (546). Thanks alexifm!
- Non-string header values [552, 553, 566]. Thanks John98Zakaria!
- Generate valid code when a property of a model is named "datetime" [557 & 558]. Thanks kmray!
- Multipart uploads for httpx >= 0.19.0 [508, 548]. Thanks skuo1-ilmn & kairntech!

0.10.8

Features

- New and improved docstrings in generated functions and classes [503, 505, 551]. Thanks rtaycher!
- Support httpx 0.21.\* (537)

Fixes

- Basic types as JSON bodies and responses [487 & 550]. Thanks Gelbpunkt!
- Relative paths to config files [538 & 544]. Thanks to motybz, MalteBecker, & abhinav-cashify!

0.10.7

Fixes

- SSL verify argument to async clients [533 & 510]. Thanks fsvenson and mvaught02!
- Remove unused CHANGELOG from generated setup.py [529]. Thanks johnthagen!

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!

Page 6 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.