1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

Add examples to response model for docs

This commit is contained in:
kodumbeats 2021-06-30 14:49:54 -04:00
parent 48e15c7916
commit 1ae6cf39f6

View file

@ -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,