From 91a1e4cfd00caf4c95d9eedeb7da49cc745e66bf Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 3 Dec 2025 12:01:57 +0530 Subject: [PATCH] fix format --- src/Appwrite/SDK/Specification/Format/Swagger2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 81118f5908..2e86796bed 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -616,7 +616,7 @@ class Swagger2 extends Format $node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } if ($validator->getType() === 'integer') { - $node['items']['format'] = 'int32'; + $node['schema']['format'] = 'int32'; } } else { $node['type'] = $validator->getType();