From fd509ad282ae6d7718f9a4319bf415da3bebea67 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Fri, 21 May 2021 13:16:49 +0545 Subject: [PATCH] fix password format --- src/Appwrite/Specification/Format/Swagger2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Specification/Format/Swagger2.php b/src/Appwrite/Specification/Format/Swagger2.php index 858a18f7cb..2148342bb3 100644 --- a/src/Appwrite/Specification/Format/Swagger2.php +++ b/src/Appwrite/Specification/Format/Swagger2.php @@ -270,7 +270,7 @@ class Swagger2 extends Format break; case 'Appwrite\Auth\Validator\Password': $node['type'] = $validator->getType(); - $node['format'] = 'format'; + $node['format'] = 'password'; $node['x-example'] = 'password'; break; case 'Utopia\Validator\Range': /** @var \Utopia\Validator\Range $validator */