Add operation_summary and deprecated to swagger_auto_schema

Closes #149, #173.
This commit is contained in:
Cristi Vîjdea
2018-08-06 18:57:23 +03:00
parent 4ca634a45b
commit 247c1a306a
3 changed files with 29 additions and 5 deletions
+3 -1
View File
@@ -9,12 +9,14 @@ Changelog
*Release date: TBD, 2018*
- **IMPROVED:** added support for ``SerializerMethodField``, via the ``swagger_serializer_method`` decorator for the
- **ADDED:** added support for ``SerializerMethodField``, via the ``swagger_serializer_method`` decorator for the
method field, and support for Python 3.5 style type hinting of the method field return type
(:issue:`137`, :pr:`175`, :pr:`179`)
*NOTE:* in order for this to work, you will have to add the new ``drf_yasg.inspectors.SerializerMethodFieldInspector``
to your ``DEFAULT_FIELD_INSPECTORS`` array if you changed it from the default value
- **IMPROVED:** added ``operation_summary`` and ``deprecated`` arguments to ``swagger_auto_schema``
(:issue:`149`, :issue:`173`)
*********
**1.9.2**