From 7f4d6233a2f8e8e80d5bbbf6b2486ef49cf60888 Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 25 Jun 2025 11:00:09 +0530 Subject: [PATCH] add: validators to swagger2. --- src/Appwrite/SDK/Specification/Format/Swagger2.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 4c4016e7e7..79b26399fd 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -415,6 +415,8 @@ class Swagger2 extends Format case 'Utopia\Database\Validator\Queries': case 'Utopia\Database\Validator\Queries\Document': case 'Utopia\Database\Validator\Queries\Documents': + case 'Appwrite\Utopia\Database\Validator\Queries\Columns': + case 'Appwrite\Utopia\Database\Validator\Queries\Tables': $node['type'] = 'array'; $node['collectionFormat'] = 'multi'; $node['items'] = [