mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 12:25:45 -04:00
fix: enforce at-least-one tag in unbinding request schema
This commit is contained in:
@@ -4573,7 +4573,19 @@
|
||||
"type": "string",
|
||||
"description": "Knowledge base ID."
|
||||
}
|
||||
}
|
||||
},
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"tag_ids"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"tag_id"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4573,7 +4573,19 @@
|
||||
"type": "string",
|
||||
"description": "ナレッジベース ID です。"
|
||||
}
|
||||
}
|
||||
},
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"tag_ids"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"tag_id"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4573,7 +4573,19 @@
|
||||
"type": "string",
|
||||
"description": "知识库 ID。"
|
||||
}
|
||||
}
|
||||
},
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"tag_ids"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"tag_id"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user