Skip to content

git::items::list recursion_level should be an enum rather than a String #78

Open
@johnbatty

Description

@johnbatty

The current API defines the git::items::list::ClientBuilder::recursion_level() function to take an Into<String> parameter:

pub fn recursion_level(self, recursion_level: impl Into<String>) -> Self
// The recursion level of this request. The default is ‘none’, no recursion.

However the operation only takes a fixed set of values:

  • None
  • OneLevel
  • OneLevelPlusNestedEmptyFolders
  • Full

Should fix up the spec to make this parameter an enum with the set of valid values.
See VersionControlRecursionType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions