1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

adding example

This commit is contained in:
Damodar Lohani 2021-11-02 15:02:44 +05:45
parent 9c2b9fee1f
commit 404a3c5754

View file

@ -329,6 +329,7 @@ class Swagger2 extends Format
$node['items'] = [
'type' => 'string',
];
$node['x-example'] = '["role:all"]'
break;
case 'Appwrite\Auth\Validator\Password':
$node['type'] = $validator->getType();