Skip to content

Commit 9c59af9

Browse files
committed
fix: escape operationIds before outputting them
1 parent 73b6b70 commit 9c59af9

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

+2-1
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)