Skip to content

Commit 07e5a67

Browse files
authored
fix: escape operationIds before outputting them (#14475)
1 parent 0becb3f commit 07e5a67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,13 +687,14 @@ public OperationsMap postProcessOperationsWithModels(OperationsMap operations, L
687687
}
688688

689689
this.addOperationModelImportInformation(operations);
690+
this.escapeOperationIds(operations);
690691
this.updateOperationParameterForEnum(operations);
691692
if (this.getSagasAndRecords()) {
692693
this.updateOperationParameterForSagaAndRecords(operations);
693694
}
694695
this.addOperationObjectResponseInformation(operations);
695696
this.addOperationPrefixParameterInterfacesInformation(operations);
696-
this.escapeOperationIds(operations);
697+
697698
return operations;
698699
}
699700

0 commit comments

Comments
 (0)