Missing fields on enum by brunokrebs · Pull Request #2184 · ferdikoomen/openapi-typescript-codegen
Hi, @mrlubos, sorry, ended up opening to see if CI would run, but it didn't.
Anyway, before realizing that this repo is no longer maintained, I cloned it into my computer, added a test case, and generated the snapshot that shows what I was going to report.
As you can see, if we have an enum with keys like +name and -name, and +total and -total, the library ends up ignoring the "opposite" key (of whatever comes first, + or -).
so, on the snapshot, we ended up with:
export enum EnumWithStringsWithPlusAndMinusSigns { _NAME = '+name', _TOTAL = '+total', }
Instead of a type with four keys.