Open
Description
maximum
and minimum
elements in the @Schema
OAS annotation are defined as String
. However, maximum
and minimum
are defined as BigDecimal
.
Change the datatype in @Schema
to double
:
double maximum() default 0;
double minimum() default 0;
Another element in the @Schema
annotation already uses double:
double multipleOf() default 0;