Apispec

Latest version: v6.7.1

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

Scan your dependencies

Page 8 of 20

2.0.0

++++++++++++++++++

Features:

- Add support for path level parameters (:issue:`453`).
Thanks :user:`karec` for the PR.
- *Backwards-incompatible*: A ``apispec.exceptions.DuplicateParameterError`` is
raised when two parameters with same name and location are passed to a path
or an operation (:pr:`455`).
- *Backwards-incompatible*: A ``apispec.exceptions.InvalidParameterError`` is
raised when a parameter is missing required ``name`` and ``in`` attributes
after helpers have been executed (:pr:`455`).

Other changes:

- *Backwards-incompatible*: All plugin helpers must accept extra ``**kwargs``
(:issue:`453`).
- *Backwards-incompatible*: Components must be referenced by ID, not full path
(:issue:`463`).

1.3.3

++++++++++++++++++

Bug fixes:

- marshmallow 3.0.0rc6 compatibility (:pr:`445`).

1.3.2

++++++++++++++++++

Bug fixes:

- Fix handling of OpenAPI v3 components content without schema in
``MarshmallowPlugin`` (:pr:`443`).

1.3.1

++++++++++++++++++

Bug fixes:

- Fix handling of ``http.HTTPStatus`` objects (:issue:`426`). Thanks
:user:`DStape`.
- [apispec.ext.marshmallow]: Ensure make_schema_key returns a unique key on
unhashable iterables (:pr:`416`, :pr:`439`). Thanks :user:`zedrdave`.

1.3.0

++++++++++++++++++

Features:

- [apispec.ext.marshmallow]: Use class hierarchy to infer
``type`` and ``format`` properties (:issue:`433`, :issue:`250`).
Thanks :user:`andrjohn` for the PR.

1.2.1

++++++++++++++++++

Bug fixes:

- Fix error in ``MarshmallowPlugin`` when passing ``exclude`` and ``dump_only``
as ``class Meta`` attributes mixing ``list`` and ``tuple`` (:pr:`431`).
Thanks :user:`blagasz` for the PR.

Page 8 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.