Skip to content

Commit 65f99eb

Browse files
authored
fix(enums): add character handling for euro symbol (#22414)
relates to #22413
1 parent 5d12e71 commit 65f99eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,6 +1843,7 @@ public DefaultCodegen() {
18431843
protected void initializeSpecialCharacterMapping() {
18441844
// Initialize special characters
18451845
specialCharReplacements.put("$", "Dollar");
1846+
specialCharReplacements.put("€", "Euro");
18461847
specialCharReplacements.put("^", "Caret");
18471848
specialCharReplacements.put("|", "Pipe");
18481849
specialCharReplacements.put("=", "Equal");

0 commit comments

Comments
 (0)