fix: include pattern in mcp tool schema generation and scaffold output
All checks were successful
Deploy Tools / deploy (push) Successful in 2m20s

This commit is contained in:
jade
2026-08-19 10:31:46 +09:00
parent 6646741665
commit 317f9865b8
3 changed files with 17 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package io.shinhanlife.dap.mcc.biz.pct.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springaicommunity.mcp.annotation.McpToolParam;
@@ -7,4 +8,8 @@ import org.springaicommunity.mcp.annotation.McpToolParam;
public class SystemNoticeRequest {
@McpToolParam(description = "공지 분류", required = false)
private String category;
@McpToolParam(description = "계약심사번호", required = false)
@Schema(pattern = "^[A-Za-z0-9_-]{3,30}$")
private String contractId;
}