Skip to content

Commit

Permalink
Capitalize action name
Browse files Browse the repository at this point in the history
  • Loading branch information
domingues committed Jan 25, 2020
1 parent 8a5bcf9 commit 4d41bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/schemas/openapi.py
Expand Up @@ -107,7 +107,7 @@ def _get_operation_id(self, path, method):
if is_list_view(path, method, self.view):
action = 'List'
elif method_name not in self.method_mapping:
action = method_name
action = method_name.capitalize()
else:
action = self.method_mapping[method.lower()]

Expand Down

0 comments on commit 4d41bfe

Please sign in to comment.