Apispec

Latest version: v6.7.1

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

Scan your dependencies

Page 5 of 20

4.5.0

******************

Features:

- Support OpenAPI 3.1.0 (:issue:`579`).

Bug fixes:

- Fix ``get_fields`` to avoid crashing when a field is named ``fields``
(:issue:`673`). Thanks :user:`Reskov` for reporting.

Other changes:

- Don't pass field metadata as keyword arguments in the tests. This is
deprecated since marshmallow 3.10. apispec is still compatible with
marshmallow >=3,<3.10 but tests now require marshmallow >=3.10. (:pr:`675`)

4.4.2

******************

Bug fixes:

- Respect ``partial`` marshmallow schema parameter: don't document the field as
required. (:issue:`627`). Thanks :user:`Anti-Distinctlyminty` for the PR.

4.4.1

******************

Bug fixes:

- Don't set ``additionalProperties`` if ``Meta.unknown`` is ``EXCLUDE``
(:issue:`659`). Thanks :user:`kupuguy` for the PR.

4.4.0

******************

Features:

- Populate ``additionalProperties`` from ``Meta.unknown`` (:pr:`635`).
Thanks :user:`timsilvers` for the PR.
- Allow ``to_yaml`` to pass kwargs to ``yaml.dump`` (:pr:`648`).
- Resolve header references in responses (:pr:`650`).
- Resolve example references in parameters, request bodies and responses
(:pr:`651`).

4.3.0

******************

Features:

- Add `apispec.core.Components.header` to register header components
(:pr:`637`).

4.2.0

******************

Features:

- Make components public attributes of ``Components`` class (:pr:`634`).

Page 5 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.