mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Update get_view_description to conform to changes in DRF's version
related encode/django-rest-framework#5605
This commit is contained in:
@@ -53,7 +53,6 @@ class AutoSchema(DRFAuthSchema):
|
||||
return link
|
||||
|
||||
def get_description(self, path, method):
|
||||
self.view._request = self.view.request
|
||||
setattr(self.view.request, 'swagger_method', method)
|
||||
description = super(AutoSchema, self).get_description(path, method)
|
||||
return description
|
||||
|
||||
Reference in New Issue
Block a user