]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Add additional documentation
authorStephen Finucane <stephen@that.guru>
Sat, 20 Oct 2018 22:20:52 +0000 (23:20 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 22 Dec 2018 16:13:26 +0000 (16:13 +0000)
commit899cf231e2349626ec19540cc25675879d20b77d
tree2493141798c376ab1e19bf71f0c30d2c1595ca2d
parent22093692a80f9c028dc424cb1e664d449d0dcc4e
REST: Add additional documentation

As noted in the Django REST Framework docs [1], views that support
multiple methods can and should split their documentation using
'method:' style delimiters. Do just this.

[1] https://www.django-rest-framework.org/topics/documenting-your-api/#documenting-your-views

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/api/check.py
patchwork/api/index.py
patchwork/api/patch.py
patchwork/api/project.py
patchwork/api/user.py