Apispec

Latest version: v6.8.1

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

Scan your dependencies

Page 3 of 20

6.0.2

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

Bug fixes:

- Allow passing ``openapi_version`` as string in ``marshmallow OpenAPIConverter``
(:issue:`810`). Thanks :user:`paradoxxxzero` for the PR.

6.0.1

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

Bug fixes:

- Document ``fields.Enum`` as list of values, not string (:issue:`806`).
Thanks :user:`tadams42` for reporting.

6.0.0

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

Features:

- Support ``fields.Enum`` (:pr:`802`).
- *Backwards-incompatible*: Change ``MarshmallowPlugin.map_to_openapi_type``
from a decorator to a classic function, taking a field as first argument
(:pr:`804`).
- *Backwards-incompatible*: Remove ``validate_spec`` from public API. Users may
call their validator of choice directly (:pr:`803`).

Other changes:

- Drop support for marshmallow < 3.18.0 (:pr:`802`).

6.0.0b1

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

Features:

- Add ``OpenAPIConverter.add_parameter_attribute_function`` to allow
documentation of custom list fields such as webargs ``DelimitedList``
(:pr:`778`).
- *Backwards-incompatible*: Remove ``OpenAPIVersion`` and use ``packaging.Version``
instead (:pr:`801`).

5.2.2

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

Bug fixes:

- Fix schema property ordering regression in ``ApiSpec.to_yaml()`` (:issue:`768`).
Thanks :user:`vorticity` for the PR.

5.2.1

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

Bug fixes:

- Fix type hints for ``APISpec.path`` and ``BasePlugin`` methods (:pr:`765`).

Page 3 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.