fix spec
This commit is contained in:
parent
252720dd28
commit
9c2b9fee1f
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue