mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
[PR #382] [MERGED] fix: establish strong dependency between transfer_method and file parameters #465
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-docs/pull/382
Author: @lyzno1
Created: 8/5/2025
Status: ✅ Merged
Merged: 8/5/2025
Merged by: @crazywoola
Base:
main← Head:fix/issue-344-file-transfer-dependency📝 Commits (3)
3a7c36afix: establish strong dependency between transfer_method and file parametersbacfe4dfix(zh-hans): establish strong dependency between transfer_method and file parametersf0e7176fix(ja-jp): establish strong dependency between transfer_method and file parameters📊 Changes
12 files changed (+251 additions, -54 deletions)
View changed files
📝
en/openapi_chat.json(+21 -6)📝
en/openapi_chatflow.json(+20 -6)📝
en/openapi_completion.json(+21 -6)📝
en/openapi_workflow.json(+21 -4)📝
ja-jp/openapi_chat.json(+21 -4)📝
ja-jp/openapi_chatflow.json(+21 -4)📝
ja-jp/openapi_completion.json(+21 -4)📝
ja-jp/openapi_workflow.json(+21 -4)📝
zh-hans/openapi_chat.json(+21 -4)📝
zh-hans/openapi_chatflow.json(+21 -4)📝
zh-hans/openapi_completion.json(+21 -4)📝
zh-hans/openapi_workflow.json(+21 -4)📄 Description
Summary
oneOfvalidation with strict conditional dependencies usinganyOftransfer_method: "remote_url"now requiresurland prohibitsupload_file_idtransfer_method: "local_file"now requiresupload_file_idand prohibitsurlremote_url + upload_file_idChanges Made
English Version (en/)
openapi_chat.json- InputFileObjectopenapi_chatflow.json- InputFileObjectAdvancedopenapi_completion.json- InputFileObjectopenapi_workflow.json- InputFileObjectWorkflowChinese Version (zh-hans/)
openapi_chat.json- BasicInputFileObjectCnopenapi_chatflow.json- InputFileObjectCnopenapi_completion.json- InputFileObjectopenapi_workflow.json- InputFileObjectWorkflowCnJapanese Version (ja-jp/)
openapi_chat.json- BasicInputFileObjectJaopenapi_chatflow.json- InputFileObjectJpopenapi_completion.json- InputFileObjectJpopenapi_workflow.json- InputFileObjectWorkflowJpTechnical Details
Replaced the original loose validation:
With strict conditional dependencies:
Test Plan
Fixes #344
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.