Fix scaffold errors and apply ToolHint annotations
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 33s

This commit is contained in:
jade
2026-08-06 01:14:53 +09:00
parent 6394ac651b
commit 7287a96a01
75 changed files with 974 additions and 898 deletions

View File

@@ -64,8 +64,10 @@ public class ScaffoldingController {
if (date == null || date.trim().isEmpty()) date = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy.MM.dd"));
boolean register = Boolean.parseBoolean(req.getOrDefault("register", "true"));
String clientSystemCode = req.get("clientSystemCode");
String inputSchemaResource = req.get("inputSchemaResource");
String outputSchemaResource = req.get("outputSchemaResource");
return ToolScaffolder.scaffold(baseName, interfaceId, description, group, routingType, moduleName, author, date, register, clientSystemCode);
return ToolScaffolder.scaffold(baseName, interfaceId, description, group, routingType, moduleName, author, date, register, clientSystemCode, inputSchemaResource, outputSchemaResource);
} catch (Exception e) {
return "오류 발생: " + e.getMessage();
}

View File

@@ -484,6 +484,17 @@
</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
<label class="form-label">Input Schema Resource (Optional)</label>
<input type="text" class="form-control" name="inputSchemaResource" placeholder="e.g. classpath:mcp/input-schema.json">
</div>
<div class="col-md-6 mt-3 mt-md-0">
<label class="form-label">Output Schema Resource (Optional)</label>
<input type="text" class="form-control" name="outputSchemaResource" placeholder="e.g. classpath:mcp/output-schema.json">
</div>
</div>
<div class="row mb-4">
<div class="col-md-6">
<label class="form-label">Target Module</label>