forked from kimhyungsik/ax_hub_mcp_tool
fix: ToolScaffolder DTO 템플릿(Req, Res)의 String.format 매핑 오류 마저 수정
This commit is contained in:
@@ -118,7 +118,7 @@ public class ToolScaffolder {
|
||||
public class %sReq {
|
||||
// TODO: Add request fields here
|
||||
}
|
||||
""".formatted(BASE_PACKAGE, baseName, author, createDate, createDate, author, baseName);
|
||||
""".formatted(BASE_PACKAGE, BASE_PACKAGE, baseName, author, createDate, createDate, author, baseName);
|
||||
Files.writeString(dtoDir.resolve(baseName + "Req.java"), reqContent);
|
||||
|
||||
// Generate Res DTO
|
||||
@@ -149,7 +149,7 @@ public class ToolScaffolder {
|
||||
private String message;
|
||||
// TODO: Add response fields here
|
||||
}
|
||||
""".formatted(BASE_PACKAGE, baseName, author, createDate, createDate, author, baseName);
|
||||
""".formatted(BASE_PACKAGE, BASE_PACKAGE, baseName, author, createDate, createDate, author, baseName);
|
||||
Files.writeString(dtoDir.resolve(baseName + "Res.java"), resContent);
|
||||
|
||||
String toolName = baseName.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user