diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index b9769baba..2d7daa293 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -3282,7 +3282,8 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject): ('wikis', 'ProjectWikiManager'), ) - @cli.register_custom_action('Project', tuple(), ('path', 'ref')) + @cli.register_custom_action('Project', tuple(), + ('path', 'ref', 'recursive')) @exc.on_http_error(exc.GitlabGetError) def repository_tree(self, path='', ref='', recursive=False, **kwargs): """Return a list of files in the repository.