You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cause:
I suppose it's because the format-attribute is not taken into account in the App\Mock\Generation\Value\Primitive\RandomNumberGenerator and App\Mock\Parameters\Schema\Type\Primitive\NumberType.
Example of a schema:
AnItem:
value:
type: numberformat: float
The text was updated successfully, but these errors were encountered:
Problem:
Given a "number" type without a multipleOf attribute but with format "float" or "double" set (see OAS3 spec https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types) always returns/generates an integer.
Cause:
I suppose it's because the format-attribute is not taken into account in the App\Mock\Generation\Value\Primitive\RandomNumberGenerator and App\Mock\Parameters\Schema\Type\Primitive\NumberType.
Example of a schema:
The text was updated successfully, but these errors were encountered: