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 4 of 6

0.7.0

-----

- Expose models and fields schema through the ``__schema__`` attribute
- Drop support for model as class
- Added ``api.errorhandler()`` to register custom error handlers
- Added ``api.response()`` shortcut decorator
- Fix list nested models missing in definitions

0.6.0

-----

- Python 2.6 support
- Experimental polymorphism support (single inheritance only)
- Added ``Polymorph`` field
- Added ``discriminator`` attribute support on ``String`` fields
- Added ``api.inherit()`` method
- Added ``ClassName`` field

0.5.1

-----

- Fix for parameter with schema (do not set type=string)

0.5.0

-----

- Allow shorter syntax to set operation id: ``api.doc('my-operation')``
- Added a shortcut to specify the expected input model: ``api.expect(my_fields)``
- Added ``title`` attribute to fields
- Added ``api.extend()`` to extend models
- Ensure coherence between ``required`` and ``allow_null`` for ``NestedField``
- Support list of primitive types and list of models as body
- Upgraded to latest version of Swagger UI
- Fixes

0.4.2

-----

- Rename apidoc blueprint into restplus_doc to avoid collisions

0.4.1

-----

- Added ``SWAGGER_VALIDATOR_URL`` config parameter
- Added ``readonly`` field parameter
- Upgraded to latest version of Swagger UI

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.