Skip to content

Wrong command name when All is present in an API path #1002

@peombwa

Description

@peombwa

When an API path such as /teams/{team-id}/allChannels contains All, AutoREST.PowerShell drops the All in the resultant command name - Get-TeamChannel. This causes conflicts with API paths such as /teams/{team-id}/Channels, as we end up generating a single command (Get-TeamChannel) that calls two different APIs with the same parameter set.

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