Use the first line of view method docstring as Operation summary

Closes #205.
This commit is contained in:
Cristi Vîjdea
2018-09-13 04:18:55 +03:00
parent c8f6d16891
commit 9d330d9509
3 changed files with 27 additions and 6 deletions
+4
View File
@@ -46,6 +46,10 @@ class SnippetList(generics.ListCreateAPIView):
),
)
def delete(self, *args, **kwargs):
"""summary from docstring
description body is here, summary is not included
"""
pass