From 1ae6cf39f61f0de8483b9cba157c50e2ee20eebc Mon Sep 17 00:00:00 2001 From: kodumbeats Date: Wed, 30 Jun 2021 14:49:54 -0400 Subject: [PATCH] Add examples to response model for docs --- src/Appwrite/Utopia/Response/Model/Attribute.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Utopia/Response/Model/Attribute.php b/src/Appwrite/Utopia/Response/Model/Attribute.php index fc48d7c1ee..1dceb4999a 100644 --- a/src/Appwrite/Utopia/Response/Model/Attribute.php +++ b/src/Appwrite/Utopia/Response/Model/Attribute.php @@ -14,19 +14,19 @@ class Attribute extends Model 'type' => self::TYPE_STRING, 'description' => 'Collection ID.', 'default' => '', - 'example' => '', + 'example' => '60ccf71b98a2d', ]) ->addRule('$id', [ 'type' => self::TYPE_STRING, 'description' => 'Attribute ID.', 'default' => '', - 'example' => '', + 'example' => '60ccf71b98a2d', ]) ->addRule('type', [ 'type' => self::TYPE_STRING, 'description' => 'Attribute type.', 'default' => '', - 'example' => '', + 'example' => 'integer', ]) ->addRule('size', [ 'type' => self::TYPE_STRING,