Improve swagger documentation for method-based DRF endpoints #7036
Labels
TAG: dev experience
Build performance, linting, debugging...
TAG: developer docs
Technical docs and code comments
The ask: more detailed documentation on swagger, like what is done for the more full-featured
ModelViewSets
For example, this
cleartasks
endpoint is implemented as a method on the main viewset....kolibri/kolibri/core/tasks/api.py
Lines 248 to 259 in 9b29c12
...The swagger docs will show a comment, but no extra documentation about the parameters
Compare to this endpoint, which seems to automatically create documentation on the payload shape
The text was updated successfully, but these errors were encountered: