fix: escape operationIds before outputting them (#14475)

This commit is contained in:
Simon Podlipsky 2025-03-24 14:19:58 +01:00 committed by GitHub
parent 0becb3feb7
commit 07e5a674db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -687,13 +687,14 @@ public class TypeScriptFetchClientCodegen extends AbstractTypeScriptClientCodege
} }
this.addOperationModelImportInformation(operations); this.addOperationModelImportInformation(operations);
this.escapeOperationIds(operations);
this.updateOperationParameterForEnum(operations); this.updateOperationParameterForEnum(operations);
if (this.getSagasAndRecords()) { if (this.getSagasAndRecords()) {
this.updateOperationParameterForSagaAndRecords(operations); this.updateOperationParameterForSagaAndRecords(operations);
} }
this.addOperationObjectResponseInformation(operations); this.addOperationObjectResponseInformation(operations);
this.addOperationPrefixParameterInterfacesInformation(operations); this.addOperationPrefixParameterInterfacesInformation(operations);
this.escapeOperationIds(operations);
return operations; return operations;
} }