From 404a3c5754c21a3a56f793ac26d7d7545337f398 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 2 Nov 2021 15:02:44 +0545 Subject: [PATCH] adding example --- src/Appwrite/Specification/Format/Swagger2.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Specification/Format/Swagger2.php b/src/Appwrite/Specification/Format/Swagger2.php index 7c45e9cb53..0155b1a683 100644 --- a/src/Appwrite/Specification/Format/Swagger2.php +++ b/src/Appwrite/Specification/Format/Swagger2.php @@ -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();