아웃바운드 URL restoption type 판단시 {}안에 .도 포함되도록 변경

This commit is contained in:
eastargh
2026-06-11 11:38:38 +09:00
parent 1aa40f2c61
commit a6e7d1adb3
2 changed files with 2 additions and 2 deletions
@@ -565,7 +565,7 @@ public class ApiInterfaceService extends OnlBaseService {
restOption.setMethod(outboundHttpMethod);
restOption.setExtraPath(outboundRestPath);
String pathType = outboundRestPath.matches(".*\\{[_a-zA-Z]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
String pathType = outboundRestPath.matches(".*\\{[_a-zA-Z.]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
restOption.setType(pathType);
if (StringUtils.isNotBlank(contentType)) {
@@ -400,7 +400,7 @@ public class SimpleInterfaceService extends OnlBaseService {
jsonObject.put("method", outboundHttpMethod);
jsonObject.put("extraPath", outboundRestPath);
String pathType = outboundRestPath.matches(".*\\{[a-zA-Z]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
String pathType = outboundRestPath.matches(".*\\{[_a-zA-Z.]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
jsonObject.put("type", pathType);
restOption = jsonObject.toString();
return restOption;