From 99fa7c25cab65531b84e4253b442945007356edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Sun, 29 Sep 2019 19:08:31 +0300 Subject: [PATCH] Add missing newline for #444 --- docs/custom_spec.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/custom_spec.rst b/docs/custom_spec.rst index 31956e8..1ab6b6d 100644 --- a/docs/custom_spec.rst +++ b/docs/custom_spec.rst @@ -44,6 +44,7 @@ You can use the :func:`@swagger_auto_schema <.swagger_auto_schema>` decorator on some properties of the generated :class:`.Operation`. For example, in a ``ViewSet``, .. code-block:: python + from drf_yasg.utils import swagger_auto_schema @swagger_auto_schema(operation_description="partial_update description override", responses={404: 'slug not found'})