Skip to content

Commit b9d1038

Browse files
committed
[Validator] Image Constraint - minPixels and maxPixels should be float
1 parent f049598 commit b9d1038

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/Image.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ Parameter Description
341341
``maxPixels``
342342
~~~~~~~~~~~~~
343343

344-
**type**: ``integer``
344+
**type**: ``integer`` | ``float``
345345

346346
If set, the amount of pixels of the image file must be less than or equal to this
347347
value.
@@ -368,7 +368,7 @@ Parameter Description
368368
``maxRatio``
369369
~~~~~~~~~~~~
370370

371-
**type**: ``float``
371+
**type**: ``integer`` | ``float``
372372

373373
If set, the aspect ratio (``width / height``) of the image file must be less
374374
than or equal to this value.
@@ -465,7 +465,7 @@ Parameter Description
465465
``minPixels``
466466
~~~~~~~~~~~~~
467467

468-
**type**: ``integer``
468+
**type**: ``integer`` | ``float``
469469

470470
If set, the amount of pixels of the image file must be greater than or equal to this
471471
value.
@@ -492,7 +492,7 @@ Parameter Description
492492
``minRatio``
493493
~~~~~~~~~~~~
494494

495-
**type**: ``float``
495+
**type**: ``integer`` | ``float``
496496

497497
If set, the aspect ratio (``width / height``) of the image file must be greater
498498
than or equal to this value.

0 commit comments

Comments
 (0)