From 119e57b2f89cf469f4dfe25c449c93f5d0244ac0 Mon Sep 17 00:00:00 2001 From: Yann Savary Date: Thu, 5 Sep 2019 16:29:29 +0200 Subject: [PATCH] Fixed comment for openapi --- rest_framework/schemas/inspectors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/schemas/inspectors.py b/rest_framework/schemas/inspectors.py index 1d806745e..3b7e7f963 100644 --- a/rest_framework/schemas/inspectors.py +++ b/rest_framework/schemas/inspectors.py @@ -71,7 +71,7 @@ class ViewInspector: def get_description(self, path, method): """ - Determine a link description. + Determine a path description. This will be based on the method docstring if one exists, or else the class docstring.