- Replace loose `oneOf` validation with strict conditional dependencies using `anyOf` - `transfer_method: "remote_url"` now requires `url` and prohibits `upload_file_id` - `transfer_method: "local_file"` now requires `upload_file_id` and prohibits `url` - Applied same fix pattern as English version to all Chinese OpenAPI files - Prevents invalid combinations like remote_url + upload_file_id Fixed files: - zh-hans/openapi_workflow.json (InputFileObjectWorkflowCn) - zh-hans/openapi_chatflow.json (InputFileObjectCn) - zh-hans/openapi_chat.json (BasicInputFileObjectCn) - zh-hans/openapi_completion.json (InputFileObject)
📘 Dify Documentation
Welcome to the documentation repository for Dify.
We warmly welcome your contributions — whether it’s proofreading, fixing typos, or submitting new content. Please feel free to open issues or PRs if you find anything that could be improved!
🚀 Project Overview
This project uses the Mintlify Kit to build and serve modern, developer-friendly documentation.
🛠️ Local Development
To preview and develop documentation locally:
-
Install the Mintlify CLI.
npm i -g mintlify -
Start local development.
Run the following command at the root of your project (where docs.json is located):
mintlify dev
🙌 Contributing
Your help in reviewing, editing, and expanding the documentation is truly appreciated.
📝 Contribution Workflow
-
Fork this repository to your own GitHub account.
-
Create a new branch based on the
mainbranch. -
Start the local development server following the steps above to preview your changes live.
-
Make your edits or write new content in the appropriate file under the content/ directory.
-
Submit a Pull Request (PR) after verifying your changes:
- If you’ve added new pages or sections, don’t forget to update docs.json to include them in the sidebar navigation.
- We welcome tri-lingual contributions (English, Simplified Chinese, Japanese) — contribute in one or more languages if possible.
Please submit PRs to this repository instead of the legacy one: 📘 https://github.com/langgenius/dify-docs-archived
Thanks again for being part of Dify’s documentation journey!
📄 License
The Dify product documentation in the assets, content, and data folders are licensed under a CC-BY license.