forked from kimhyungsik/ax_hub_mcp_tool
fix: include pattern in mcp tool schema generation and scaffold output
All checks were successful
Deploy Tools / deploy (push) Successful in 2m20s
All checks were successful
Deploy Tools / deploy (push) Successful in 2m20s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user