diff --git a/src/Appwrite/Specification/Format/Swagger2.php b/src/Appwrite/Specification/Format/Swagger2.php index 7a9822160..7c45e9cb5 100644 --- a/src/Appwrite/Specification/Format/Swagger2.php +++ b/src/Appwrite/Specification/Format/Swagger2.php @@ -323,6 +323,13 @@ class Swagger2 extends Format 'type' => 'string', ]; break; + case 'Utopia\Database\Validator\Permissions': + $node['type'] = $validator->getType(); + $node['collectionFormat'] = 'multi'; + $node['items'] = [ + 'type' => 'string', + ]; + break; case 'Appwrite\Auth\Validator\Password': $node['type'] = $validator->getType(); $node['format'] = 'password';