Closed archerzz closed 2 months ago
Check this spec: https://github.com/Azure/cadl-ranch/blob/bbd186faeb224113ff81dba82baccf15e2c58362/packages/cadl-ranch-specs/http/client/naming/main.tsp#L146-L147
namespace Model should be renamed to ClientModel through @clientName, but TCGC still return the original name.
Model
ClientModel
@clientName
Just parse the spec in the link above.
fixed in: https://github.com/Azure/typespec-azure/pull/1203
Describe the bug
Check this spec: https://github.com/Azure/cadl-ranch/blob/bbd186faeb224113ff81dba82baccf15e2c58362/packages/cadl-ranch-specs/http/client/naming/main.tsp#L146-L147
namespace
Model
should be renamed toClientModel
through@clientName
, but TCGC still return the original name.Reproduction
Just parse the spec in the link above.
Checklist