You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/documenting-your-api.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ If the python `markdown` library is installed, then [markdown syntax][markdown]
105
105
[ref]: http://example.com/activating-accounts
106
106
"""
107
107
108
-
Note thatone constraint ofusing viewsetsis that any documentation beused for all generated views, so for example, you cannot have differing documentationfor thegenerated listviewanddetail view.
108
+
Note thatwhenusing viewsetsthe basic docstring isused for all generated views. To provide descriptions for each view, such asfor thethe list andretrieve views, use docstring sections as described in[Schemas as documentation: Examples][schemas-examples].
109
109
110
110
####The`OPTIONS` method
111
111
@@ -148,3 +148,4 @@ To implement a hypermedia API you'll need to decide on an appropriate media type