Open allenjzhang opened 2 months ago
Why not use a named union in this case? Our automatically generated name is unlikely to be what we actually want to use in clients in many cases.
autorest was able to do something without values
I don't think we need to be the ones inventing names here. Either the user provided one and we carry it over or we delegate teh logic to the other emitters
Describe the bug
Should we normalize the name in the
x-ms-enum
so swagger & codegen could get correctly named entries?Reproduction
See code above
Checklist