Document exotic usages of swagger_auto_schema

method_decorator works out of the box so might as well document an example
This commit is contained in:
Cristi Vîjdea
2017-12-16 20:38:40 +01:00
parent a2c21539f7
commit 8a5be407e2
3 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ paths:
/articles/:
get:
operationId: articles_list
description: ArticleViewSet class docstring
description: description from swagger_auto_schema via method_decorator
parameters:
- name: title
in: query