mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
refactor(api): migrate workspace tool endpoints to BaseModel (#37959)
This commit is contained in:
1 parent
af5b08ac5c
commit
74f177efe6
14 files changed
+2632
-1176
No files matched your search
@@ -1009,8 +1009,7 @@ class TestExternalDatasetApi:
|
||||
# 4. Provide default values when parameters are missing
|
||||
# 5. Raise BadRequest exceptions when validation fails
|
||||
#
|
||||
# Response formatting is handled by Flask-RESTX's marshal_with decorator
|
||||
# or marshal function, which:
|
||||
# Response formatting is handled by controller response schemas, which:
|
||||
#
|
||||
# 1. Formats response data according to defined models
|
||||
# 2. Handles nested objects and lists
|
||||
|
||||
Reference in new issue
Block a user