variableUrlRequest 식별 정규식 변경
This commit is contained in:
@@ -553,7 +553,7 @@ public class ApiInterfaceService extends OnlBaseService {
|
|||||||
restOption.setMethod(outboundHttpMethod);
|
restOption.setMethod(outboundHttpMethod);
|
||||||
restOption.setExtraPath(outboundRestPath);
|
restOption.setExtraPath(outboundRestPath);
|
||||||
|
|
||||||
String pathType = outboundRestPath.matches(".*\\{[a-zA-Z]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
|
String pathType = outboundRestPath.matches(".*\\{[_a-zA-Z]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
|
||||||
restOption.setType(pathType);
|
restOption.setType(pathType);
|
||||||
|
|
||||||
if (StringUtils.isNotBlank(contentType)) {
|
if (StringUtils.isNotBlank(contentType)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user