Azure / autorest.az

Azure CLI Code Generator
MIT License
22 stars 20 forks source link

Generate CollectionItems As Subgroups #881

Closed jobala closed 3 years ago

jobala commented 3 years ago

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