adding example
This commit is contained in:
parent
9c2b9fee1f
commit
404a3c5754
|
@ -329,6 +329,7 @@ class Swagger2 extends Format
|
||||||
$node['items'] = [
|
$node['items'] = [
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
];
|
];
|
||||||
|
$node['x-example'] = '["role:all"]'
|
||||||
break;
|
break;
|
||||||
case 'Appwrite\Auth\Validator\Password':
|
case 'Appwrite\Auth\Validator\Password':
|
||||||
$node['type'] = $validator->getType();
|
$node['type'] = $validator->getType();
|
||||||
|
|
Loading…
Reference in a new issue