Use the first line of view method docstring as Operation summary
Closes #205.
This commit is contained in:
1 parent
c8f6d16891
commit
9d330d9509
3 files changed
+27
-6
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user