multipleOf is defined as
The value of "multipleOf" MUST be a number, strictly greater than 0.
A numeric instance is valid only if division by this keyword's value results in an integer.
And number is defined as whole numbers, distinct from floats.
The use of this for decimal .decimal_places results in invalid OpenAPI schemas. A regex validator would be the way to achieve this.
multipleOf is defined as
And number is defined as whole numbers, distinct from floats.
The use of this for decimal
.decimal_placesresults in invalid OpenAPI schemas. A regex validator would be the way to achieve this.