1
0
Fork 0
mirror of synced 2024-09-21 03:52:23 +12:00

feat(model): added better description for rule

This commit is contained in:
Christy Jacob 2021-08-28 21:38:50 +05:30
parent 6835124af8
commit 1b074a3c38
2 changed files with 3 additions and 3 deletions

View file

@ -59,9 +59,9 @@ class UsageProject extends Model
'example' => new stdClass,
'array' => true
])
->addRule('functions', [
->addRule('storage', [
'type' => Response::MODEL_METRIC_LIST,
'description' => 'Aggregated stats for the occupied storage size.',
'description' => 'Aggregated stats for the occupied storage size (in bytes).',
'default' => [],
'example' => new stdClass,
'array' => true

View file

@ -19,7 +19,7 @@ class UsageStorage extends Model
])
->addRule('storage', [
'type' => Response::MODEL_METRIC_LIST,
'description' => 'Aggregated stats for the occupied storage size.',
'description' => 'Aggregated stats for the occupied storage size (in bytes).',
'default' => [],
'example' => new stdClass,
'array' => true