Skip to content

Commit

Permalink
refactor: rm $ in path
Browse files Browse the repository at this point in the history
  • Loading branch information
yangqianjun committed Feb 15, 2022
1 parent a39f1a6 commit 7ef9921
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3038,6 +3038,7 @@ protected String getOrGenerateOperationId(Operation operation, String path, Stri
String tmpPath = path;
tmpPath = tmpPath.replaceAll("\\{", "");
tmpPath = tmpPath.replaceAll("\\}", "");
tmpPath = tmpPath.replaceAll("\\$", "");
String[] parts = (tmpPath + "/" + httpMethod).split("/");
StringBuilder builder = new StringBuilder();
if ("/".equals(tmpPath)) {
Expand Down

0 comments on commit 7ef9921

Please sign in to comment.