added length param, response model, e2e test

This commit is contained in:
arnab
2025-05-13 10:35:04 +05:30
parent 7c229ad878
commit a970512e3c
3 changed files with 45 additions and 8 deletions
@@ -41,6 +41,13 @@ class Index extends Model
'example' => [],
'array' => true,
])
->addRule('lengths', [
'type' => self::TYPE_INTEGER,
'description' => 'Index attributes length.',
'default' => [],
'example' => [],
'array' => true,
])
->addRule('orders', [
'type' => self::TYPE_STRING,
'description' => 'Index orders.',