The idea is that an application which uses decimal for decimals can call OpenApiSpex.cast_value/3 directly without having to stringify any such decimals first. decimal is already an indirect optional dependency of open_api_spex and a very common one due to it being a dependency of ecto.
The idea is that an application which uses decimal for decimals can call
OpenApiSpex.cast_value/3
directly without having to stringify any such decimals first.decimal
is already an indirect optional dependency of open_api_spex and a very common one due to it being a dependency ofecto
.