dify/api/controllers
Harry 9e990c5ccd feat(api): add validation to ensure at least one field is provided in TriggerSubscriptionUpdateRequest
- Introduced a model validator in TriggerSubscriptionUpdateRequest to enforce that at least one of the fields (name, credentials, parameters, properties) must be provided.
- Refactored the TriggerSubscriptionUpdateApi to use the validated request object and simplified the logic for updating subscriptions based on the credential type.
- Updated the credential type check in TriggerProviderService to use a set for better performance and clarity.
2025-12-29 19:49:24 +08:00
..
common fix(api): force download for HTML previews (#30090) 2025-12-25 11:43:07 +08:00
console feat(api): add validation to ensure at least one field is provided in TriggerSubscriptionUpdateRequest 2025-12-29 19:49:24 +08:00
files fix(api): force download for HTML previews (#30090) 2025-12-25 11:43:07 +08:00
inner_api refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
mcp refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
service_api fix(dataset): dataset tags service_api error "Dataset not found" (#30028) 2025-12-26 10:55:42 +08:00
trigger fix: remove unnecessary error log when trigger endpoint returns 404 (#29587) 2025-12-12 17:53:40 +08:00
web refactor: split changes for api/controllers/web/forgot_password.py (#29858) 2025-12-24 09:41:51 +08:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00