You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 220fed0
Browse filesBrowse the repository at this point in the historyBrowse files
[typescript] Apply nameMappings and parameterNameMappings before sanitizing
TypeScriptClientCodegen.toVarName and toParamName sanitized the name before
calling the parent method, so the mapping lookup in
AbstractTypeScriptClientCodegen saw the sanitized name ("id" instead of
"$id") and never matched. Look the original name up first, as the parent
class does.
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/java/org/openapitools/codegen/typescript/TypeScriptClientCodegenTest.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,19 @@ public void modelImportWithMappingTest() {
0 commit comments