diff --git a/rest_framework/schemas/inspectors.py b/rest_framework/schemas/inspectors.py index bae4d38ed..826527914 100644 --- a/rest_framework/schemas/inspectors.py +++ b/rest_framework/schemas/inspectors.py @@ -293,7 +293,7 @@ class AutoSchema(ViewInspector): """ view = self.view - if method not in ('PUT', 'PATCH', 'POST'): + if method not in ('PUT', 'PATCH', 'POST', 'DELETE'): return [] if not hasattr(view, 'get_serializer'):