Skip to content

Commit 686c471

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Validator] Image Constraint - minPixels and maxPixels should be float
2 parents 60c1e4a + ebaf496 commit 686c471

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
@@ -326,7 +326,7 @@ Parameter Description
326326
``maxPixels``
327327
~~~~~~~~~~~~~
328328

329-
**type**: ``integer``
329+
**type**: ``integer`` | ``float``
330330

331331
If set, the amount of pixels of the image file must be less than or equal to this
332332
value.
@@ -353,7 +353,7 @@ Parameter Description
353353
``maxRatio``
354354
~~~~~~~~~~~~
355355

356-
**type**: ``float``
356+
**type**: ``integer`` | ``float``
357357

358358
If set, the aspect ratio (``width / height``) of the image file must be less
359359
than or equal to this value.
@@ -445,7 +445,7 @@ Parameter Description
445445
``minPixels``
446446
~~~~~~~~~~~~~
447447

448-
**type**: ``integer``
448+
**type**: ``integer`` | ``float``
449449

450450
If set, the amount of pixels of the image file must be greater than or equal to this
451451
value.
@@ -472,7 +472,7 @@ Parameter Description
472472
``minRatio``
473473
~~~~~~~~~~~~
474474

475-
**type**: ``float``
475+
**type**: ``integer`` | ``float``
476476

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

0 commit comments

Comments
 (0)