Skip to content

Commit

Permalink
escape quotes in paths
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Oct 26, 2023
1 parent 420e951 commit c302e0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -908,9 +908,9 @@ protected void processOperation(String resourcePath, String httpMethod, Operatio

for (Tag tag : tags) {
try {
CodegenOperation codegenOperation = config.fromOperation(resourcePath, httpMethod, operation, swagger.getDefinitions(), swagger);
CodegenOperation codegenOperation = config.fromOperation(config.escapeQuotationMark(resourcePath), httpMethod, operation, swagger.getDefinitions(), swagger);
codegenOperation.tags = new ArrayList<Tag>(tags);
config.addOperationToGroup(config.sanitizeTag(tag.getName()), resourcePath, operation, codegenOperation, operations);
config.addOperationToGroup(config.sanitizeTag(tag.getName()), config.escapeQuotationMark(resourcePath), operation, codegenOperation, operations);

List<Map<String, List<String>>> securities = operation.getSecurity();
if (securities == null && swagger.getSecurity() != null) {
Expand Down

0 comments on commit c302e0d

Please sign in to comment.