You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW, the reason of the special handling for Swagger is that m4 would generate a name from the enum value (but we cannot distinguish whether the name is generated, or from x-ms-enum). And that name would already be processed and in many cases is worse that the enum value.
For ARM, we didn't use the name for Enum
https://github.com/Azure/autorest.java/blob/main/javagen/src/main/java/com/azure/autorest/mapper/MapperUtils.java#L58-L66
We'd better use it for TypeSpec.
For impl, I guess a subclass, with a flag to util function?
The text was updated successfully, but these errors were encountered: