4 ms·
I’m working with a spec that used GUIDs for their operation IDs. This limits TypeScript code generation to typescript-node, which prepends an underscore on the
by clintonb 3y ago
I’m working with a spec that used GUIDs for their operation IDs. This limits TypeScript code generation to typescript-node, which prepends an underscore on the method names. Otherwise, those starting with numbers would be invalid.
- withinboredom 3y agoThis annoys me so much. Like, just use array-style accesses in the code generator?
- clintonb 3y agoYes, but also generate a spec with meaningful operationIds. “getLabels” is much more useful that “529ab782”.
- withinboredom 3y agoI was mostly thinking about 'in' and other kinds of language keywords that get prepended with underscores and stuff.