Commit Graph

3 Commits

Author SHA1 Message Date
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
Alter-xyz
2c5f8902e7 chore: default base url 2025-05-19 16:30:20 +08:00
Alter-xyz
49ab02c0b8 feat: api access 2025-05-19 16:11:34 +08:00