1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00
This commit is contained in:
Damodar Lohani 2021-11-01 18:37:08 +05:45
parent 252720dd28
commit 9c2b9fee1f

View file

@ -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';