OpenAPI: Ported docstring operation description from CoreAPI inspector. by ysavary · Pull Request #6898 · encode/django-rest-framework (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ysavary.
Really happy to see this done, but instead of duplicating the code from the coreapi
module, please can you bring it up into the base ViewInspector
class.
Also, please could you go over the comments and code to make sure they make sense in a non-CoreAPI context? (For example, talk of Links
is using CoreAPI terminology.)
Other than that, yes, super! 👍