* feat(en): add file-preview API to OpenAPI specifications
- Add GET /files/{file_id}/preview endpoint to chat, chatflow, and workflow APIs
- Support file preview and download with as_attachment parameter
- Include proper error handling (400, 403, 404, 500)
- Update Files tag descriptions to include preview operations
- Maintain unique operationIds for each API type
- Align with existing API patterns and template specifications
Resolves: #389
* feat(ja-jp): add file-preview API to Japanese OpenAPI specifications
- Add GET /files/{file_id}/preview endpoint to chat, chatflow, and workflow APIs
- Use Japanese descriptions and maintain "Ja"/"Jp" operationId suffixes
- Support file preview and download with as_attachment parameter
- Include proper error handling with Japanese error messages
- Update Files tag descriptions to include preview operations
- Maintain consistency with existing Japanese API patterns
Related: #389
* feat(zh-hans): add file-preview API to Chinese OpenAPI specifications
- Add GET /files/{file_id}/preview endpoint to chat, chatflow, and workflow APIs
- Use Chinese descriptions and maintain "Cn" operationId suffixes
- Support file preview and download with as_attachment parameter
- Include proper error handling with Chinese error messages
- Update Files tag descriptions to include preview operations
- Maintain consistency with existing Chinese API patterns
Related: #389
- 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 Japanese OpenAPI files
- Prevents invalid combinations like remote_url + upload_file_id
Fixed files:
- ja-jp/openapi_workflow.json (InputFileObjectWorkflowJp)
- ja-jp/openapi_chatflow.json (InputFileObjectJp)
- ja-jp/openapi_chat.json (BasicInputFileObjectJa)
- ja-jp/openapi_completion.json (InputFileObjectJp)