Openapi-python-client

Latest version: v0.20.0

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

Scan your dependencies

Page 4 of 12

0.13.3

Features

- Extend the UnexpectedStatus exception to include the response's content (729)
- Added support of follow HTTP redirects (724). Thanks expobrain & emann!

Fixes

- Parsing endpoint content types with semicolon separator (727). Thanks expobrain!
- Remove Response[] from docstring of non-detailed functions (741). Thanks robertschweizer!

0.13.2

Features

- Always generate enums with sorted members (728)

Fixes

- Prevent backslashes in descriptions from breaking docstrings [735]. Thanks robertschweizer & bryan-hunt! (735)
- Respect `required` field in parameters included with `$ref` (737)

0.13.1

Features

- Add `http_timeout` config to set timeout getting document via `--url` [718]. Thanks Kircheneer!

0.13.0

Breaking Changes

- run `post_hooks` in package directory instead of current directory if meta=none [696, 697]. Thanks brenmous and wallagib!
- Treat leading underscore as a sign of invalid identifier [703]. Thanks maxkomarychev!

Fixes

- generated docstring for `Client.get_headers` function [713]. Thanks rtaycher!

0.12.3

Features

- Add `raise_on_unexpected_status` flag to generated `Client` [593]. Thanks JamesHinshelwood, ramnes, gwenshap, theFong!
- add `use_path_prefixes_for_title_model_names` config option for simpler model names [559, 560]. Thanks rtaycher!
- Support any content type ending in `+json` [706, 709]. Thanks XioNoX and mtovt!

0.12.2

Fixes

- Support Python 3.11.0 (701)

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.