Flask-restplus

Latest version: v0.13.0

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

Scan your dependencies

Page 1 of 6

0.13.0

-------------------

- Add new `Wildcard` fields (:pr:`255`)
- Fix ABC deprecation warnings (:pr:`580`)
- Fix `api.expect(..., validate=False)` decorators for an :class:`Api` where `validate=True` is set on the constructor (:issue:`609`, :pr:`610`)
- Ensure `basePath` is always a path
- Hide Namespaces with all hidden Resources from Swagger documentation
- Per route Swagger documentation for multiple routes on a ``Resource``

0.12.1

-------------------

- Fix missing changelog inprevious release
- Ensure definitions with both `$ref` and description (or other property) output is valid (using `allOf`)
- Added initial specifications schemas and validation support
- Ensure empty enums are not serialized (to have a valid specification)

0.12.0

-------------------

- Fix Namespace decorators (:issue:`475`)
- Do not serialize empty tags descriptions
- Ensure `consumes` is properly set when using form parameters on classes
- Ensure parameters are not duplicated (:issue:`164`, :issue:`196`, :issue:`234`)
- Publish sources distribution (:issue:`500`, :issue:`515`)
- Fix late resources registeration (:issue:`483`)
- Don't include namespaces without resources to the SWAGGER documentation (:issue:`470`)
- Add support for checkbox validation input + consistent behavior between inputs and fields. (:issue:`461`)
- Fix missing `enum34` dependency (:issue:`444`)

0.11.0

-------------------

- Add authorizations parsing to namespace (:issue:`403`)
- Add vendor extensions support (:issue:`97`)
- :class:`~reqparse.RequestParser` arguments now support the ``split`` action
- Ensure default boolean value as `False` works with :class:`~reqparse.RequestParser` (:issue:`199`)
- Schema errors are not longuer hidden by `AttributeError: Api does not have __schema__ attribute` (:issue:`194`)
- Add a new :class:`~inputs.URL` validator, more flexible and precise.
- Fix error bundling (:issue:`175`, :issue:`144`)
- Help message is now added to source error message instead of string interpolation (:issue:`147`)
- Use pytest instead of nosetests
- Upgrade to Swagger-UI 3.4.0
- Fix typo in comments
- Add an optional key argument, ``skip_none``, in :func:`marshal_with` and :func:`marshal`
- Fix masks not working correctly with Python 2.7 (:issue:`217`)
- Fixed typos in doc/scaling
- Add docs for `allow_null` and :class:`~fields.Nested`
- Add Namespace.payload
- **Breaking**: everything is unordered by default because ordering has a serious impact on performances:
- :class:`Api` and :class:`Namespace` now accept an optionnal ``ordered`` parameter
- :func:`marshal_with` and :func:`marshal` now accept an optionnal ``ordered`` parameter

Breaking changes
~~~~~~~~~~~~~~~~

- Drop python 2.6 support
- Improve header handling (:issue:`119`):
- `api.header` only document response headers on all responses
- `api.response` accept an optionnal `headers` argument to document response specific headers
- request header are handled by the `api.expect` decorator

0.10.1

-------------------

- Fix a typo in ``__init__`` breaking ``from flask_restplus import *`` (:issue:`242`)
- Basic support for custom URL converters (:issue:`243`)
- Support custom response classes inheriting from :class:`~werkzeug.wrappers.BaseResponse` (:issue:`245`)
- Allow models to preserve order (:issue:`135`)

0.10.0

-------------------

- Allows to specify a custom mount path on namespace registration
- Allow to express models as raw schemas
- Upgraded to Swagger-UI 2.2.6
- Support Swagger-UI translations
- Fix prefix trailing slash stripping in Postman doc generation (:issue:`232`)
- Add validation for lists in the expect decorator (:issue:`231`)

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.