autorest.az generates the following command mgc application serviceprincipalsserviceprincial create-service-principal
given the operationId servicePrincipals.servicePrincipal_CreateServicePrincipal.
We would like autorest.az to treat the collection item as a subgroup and instead generate mgc applications serviceprincipals serviceprincipal create-service-principal.
Note that there could be an arbitrary number of nested collection items ie admin.windows.updates.deployments.audience.members_removeMembersById which should generate mgc admin windows updates deployments audience members remove-members-by-id
autorest.az
generates the following command mgc application serviceprincipalsserviceprincial create-service-principalgiven the operationId servicePrincipals.servicePrincipal_CreateServicePrincipal.
We would like autorest.az to treat the collection item as a subgroup and instead generate mgc applications serviceprincipals serviceprincipal create-service-principal.
Note that there could be an arbitrary number of nested collection items ie admin.windows.updates.deployments.audience.members_removeMembersById which should generate mgc admin windows updates deployments audience members remove-members-by-id