We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2464633 commit 8a3c2e7Copy full SHA for 8a3c2e7
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/FlaskConnexionCodegen.java
@@ -336,4 +336,16 @@ public String toOperationId(String operationId) {
336
// addPet => add_pet
337
return underscore(operationId);
338
}
339
+
340
+ @Override
341
+ public String escapeQuotationMark(String input) {
342
+ // remove ' to avoid code injection
343
+ return input.replace("'", "");
344
+ }
345
346
347
+ public String escapeUnsafeCharacters(String input) {
348
+ // remove multiline comment
349
+ return input.replace("'''", "'_'_'");
350
351
0 commit comments