refactor(api): migrate workspace tool endpoints to BaseModel (#37959)

This commit is contained in:
chariri
2026-07-08 09:56:04 +00:00
committed by GitHub
parent af5b08ac5c
commit 74f177efe6
14 changed files with 2632 additions and 1176 deletions
@@ -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