VIEW_DESCRIPTION_FUNCTION is only effective for class docstrings, not method docstrings #8247
Unanswered
jpmckinney
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See
django-rest-framework/rest_framework/schemas/inspectors.py
Lines 72 to 88 in 71e6c30
I just wanted to be able to use reStructuredText for my method docstrings (like I do for everything else, since I use Sphinx, where RST is the default), and to have them rendered properly both in my docs and in the Swagger UI.
Beta Was this translation helpful? Give feedback.
All reactions