We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2d7424 commit 4d87e73Copy full SHA for 4d87e73
1 file changed
packages/quicktype-core/src/language/Smithy4s.ts
@@ -411,13 +411,13 @@ export class Smithy4sRenderer extends ConvenienceRenderer {
411
});
412
}
413
414
- protected stringForEnumValue(enumCase: string): Sourcelike {
415
- if (typeof enumCase === "string") {
416
- return `"${stringEscape(enumCase)}"`;
417
- } else if (enumCase === null) {
+ protected stringForEnumValue(enumValue: string): Sourcelike {
+ if (typeof enumValue === "string") {
+ return `"${stringEscape(enumValue)}"`;
+ } else if (enumValue === null) {
418
return "null";
419
} else {
420
- return `${enumCase}`;
+ return `${enumValue}`;
421
422
423
0 commit comments