emitter mainly uses "wire name" for mapping of ModelProperty (the only exception is the request "body").
Currently TCGC getWireName seems only work for JSON property.
Add branch for path/query/header parameter.
The bug likely won't affect existing lib, as it only happens in "alias/spread" + "non-body-property in that alias/spread".
But after "spread is spread", one test case is affected. Ref https://github.com/Azure/autorest.java/pull/2821
emitter mainly uses "wire name" for mapping of ModelProperty (the only exception is the request "body").
Currently TCGC
getWireName
seems only work for JSON property.Add branch for path/query/header parameter.
The bug likely won't affect existing lib, as it only happens in "alias/spread" + "non-body-property in that alias/spread". But after "spread is spread", one test case is affected. Ref https://github.com/Azure/autorest.java/pull/2821