From 1eeddc80151fb3bc2bf8ea393955134b4dd4566c Mon Sep 17 00:00:00 2001 From: Matej Baco Date: Tue, 21 Sep 2021 14:19:25 +0200 Subject: [PATCH] This should not be removed --- 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 493dac0bb5..70811536ca 100644 --- a/src/Appwrite/Specification/Format/Swagger2.php +++ b/src/Appwrite/Specification/Format/Swagger2.php @@ -447,6 +447,7 @@ class Swagger2 extends Format ]; } else { $items = [ + 'type' => $type, '$ref' => '#/definitions/'.$rule['type'], ]; }