Use the first line of view method docstring as Operation summary

Closes #205.
This commit is contained in:
Cristi Vîjdea committed 2018-09-13 04:18:55 +03:00
1 parent c8f6d16891
commit 9d330d9509
3 files changed
+27 -6

No files matched your search

+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