소스 업데이트
All checks were successful
Deploy Tools / deploy (push) Successful in 2m16s

This commit is contained in:
jade
2026-08-27 13:09:16 +09:00
parent eff142b956
commit 6479b56c8e
2 changed files with 0 additions and 13 deletions

View File

@@ -521,10 +521,6 @@ public class ToolScaffolder {
public static void main(String[] args) throws IOException {
Scanner scanner = new Scanner(System.in);
System.out.println("=========================================");
System.out.println(" MCP Tool Scaffolder (Java CLI) ");
System.out.println("=========================================\n");
String baseName = getOrAsk(args, 0, scanner, "1. 생성할 Tool의 기본 이름 (예: ExchangeRate) [영문 PascalCase]: ");
String interfaceId = getOrAsk(args, 1, scanner, "2. 레거시 API 인터페이스 ID (예: EXCH_001): ");
String title = getOrAsk(args, 2, scanner, "3. Tool title: ");
@@ -562,14 +558,12 @@ public class ToolScaffolder {
System.setProperty("AXHUB_SOURCE_DIR", workspace);
String result = scaffold(baseName, interfaceId, title, description, group, routingType, moduleName, author, createDate, false, null, inputSchemaResource, outputSchemaResource, List.of(new FieldDefinition("query", "String", "Search query", List.of("example"), "", false)), List.of());
System.out.println(result);
}
private static String getOrAsk(String[] args, int index, Scanner scanner, String prompt) {
if (args.length > index) {
return args[index];
}
System.out.print(prompt);
return scanner.nextLine().trim();
}

View File

@@ -24,13 +24,6 @@ public final class ToolSchemaV17ValidationRunner {
private ToolSchemaV17ValidationRunner() {
}
public static void main(String[] args) {
if (args.length != 1) {
throw new IllegalArgumentException("Usage: ToolSchemaV17ValidationRunner <project-root>");
}
validate(Path.of(args[0]));
}
static void validate(Path projectRoot) {
ObjectMapper yamlMapper = new ObjectMapper(new YAMLFactory());
Map<String, Path> definitions = new LinkedHashMap<>();