Flask-restplus

Latest version: v0.13.0

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

Scan your dependencies

Page 2 of 6

0.9.2

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

- Same version but a PyPI bug force reupload.

0.9.1

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

- Added some Swagger-UI Oauth configurations:
- `SWAGGER_UI_OAUTH_CLIENT_ID`
- `SWAGGER_UI_OAUTH_REALM`
- `SWAGGER_UI_OAUTH_APP_NAME`
- Expose ``type: object`` in Swagger schemas (:issue:`157`)
- Fix an issue with error handlers (:issue:`141`)
- Fix an issue with Postman export when using OAuth (:issue:`151`)
- Miscellenaous code and documentation fixes
- Remove last flask-restful references (unless needed) and add missing attributions

0.9.0

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

- Make :class:`Namespace` behave like :class:`~flask.Blueprint` for :class:`~flask.Flask`
- Deprecated ``parser`` and ``body`` parameters for ``expect`` in :meth:`~Namespace.doc` decorator
- Deprecated :meth:`Model.extend` in favor of :meth:`Model.clone`
- Added the :meth:`~Namespace.param` decorator
- Honour method restrictions in Swagger documentation (:issue:`93`)
- Improved documentation

0.8.6

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

- Handle callable on API infos
- Handle documentation on error handlers
- Drop/merge flask_restful ``flask_restful.RequestParser``
- Handle :class:`~reqparse.RequestParser` into :meth:`~Api.expect` decorator
- Handle schema for :mod:`~inputs` parsers
- Added some inputs:
- :class:`~inputs.email`
- :func:`~inputs.ip`
- :func:`~inputs.ipv4`
- :func:`~inputs.ipv6`

0.8.5

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

- Handle mask on :class:`~fields.Polymorph` field
- Handle mask on inherited models
- Replace `flask_restful.abort` by :func:`flask_restplus.errors.abort`
- Replace `flask_restful.unpack` by :func:`flask_restplus.utils.unpack`
- **Breaking changes**:
- Renamed ``ApiModel`` into :class:`Model`
- Renamed ``ApiNamespace`` into :class:`Namespace`

0.8.4

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

- Drop/merge `flask_restful.Resource` resolving a recursion problem
- Allow any `callable` as field `default`, `min`, `max`...
- Added :class:`~fields.Date` field
- Improve error handling for inconsistent masks
- Handle model level default mask
- support colons and dashes in mask field names
- **Breaking changes**:
- Renamed `exceptions` module into `errors`
- Renamed `RestException` into :class:`~errors.RestError`
- Renamed `MarshallingException` into :class:`~fields.MarshallingError`
- :class:`~fields.DateTime` field always output datetime

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.