lyzno1
|
3a7c36a527
|
fix: establish strong dependency between transfer_method and file parameters
Fixes #344
- 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`
- Aligns OpenAPI schema with documentation requirements in template_workflow.en.mdx
- Uses OpenAPI 3.0.1 compatible syntax instead of JSON Schema Draft 7 features
- Prevents invalid combinations like remote_url + upload_file_id
|
2025-08-05 20:18:08 +08:00 |
|