1
0
Fork 0
mirror of synced 2024-09-30 01:08:13 +13:00

removed spec random values

create too much commits for generator
This commit is contained in:
eldadfux 2019-10-11 07:59:26 +03:00
parent 40dd904638
commit 358cb94cf5

View file

@ -681,7 +681,7 @@ $utopia->get('/v1/open-api-2.json')
case 'Utopia\Validator\Range': /* @var $validator \Utopia\Validator\Range */
$node['type'] = 'integer';
$node['format'] = 'int32';
$node['x-example'] = rand($validator->getMin(), $validator->getMax());
$node['x-example'] = $validator->getMin();
break;
case 'Utopia\Validator\Numeric':
$node['type'] = 'integer';