Unable to rename a model generated from an ARM template by using @@clientName
Open
external:mgmt
lib:azure-resource-manager
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 90
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 156
Description
Here is a sample: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/main.tsp#L413
The `Azure.ResourceManager.Foundations.ResourceUpdateModel` generates 2 models:
- PoolUpdate
- PoolUpdateProperties
All of those cannot can't be renamed by using `@@clientName`.
Contributor guide
Research direction
Start at the ARM template example in main.tsp around line 413 and trace how Azure.ResourceManager.Foundations.ResourceUpdateModel produces PoolUpdate and PoolUpdateProperties. Investigate the @@clientName handling and confirm completion when each generated model can be renamed as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100