fix: build

This commit is contained in:
Yuta Saito 2025-12-22 15:00:56 +09:00
parent 23bf92dd82
commit 01106055ed

View file

@ -409,7 +409,7 @@ export function ToolTestPanel({
...(prop.type === "object" || prop.type === "array"
? [
{
validator: (_, value) => {
validator: (_rule: any, value: any) => {
if (
(value === undefined || value === null || value === "") &&
!actualSchema.required?.includes(key)