mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
change _get_tags to get_tags
This commit is contained in:
parent
d77afd56a8
commit
22da4772c8
|
@ -105,7 +105,7 @@ class AutoSchema(ViewInspector):
|
|||
if request_body:
|
||||
operation['requestBody'] = request_body
|
||||
operation['responses'] = self._get_responses(path, method)
|
||||
operation['tags'] = self._get_tags(path, method)
|
||||
operation['tags'] = self.get_tags(path, method)
|
||||
|
||||
return operation
|
||||
|
||||
|
@ -573,7 +573,7 @@ class AutoSchema(ViewInspector):
|
|||
}
|
||||
}
|
||||
|
||||
def _get_tags(self, path, method):
|
||||
def get_tags(self, path, method):
|
||||
# If user have specified tags, use them.
|
||||
if self._tags:
|
||||
return self._tags
|
||||
|
|
Loading…
Reference in New Issue
Block a user