feat(model): added better description for rule
This commit is contained in:
parent
6835124af8
commit
1b074a3c38
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue