open-api-spex / open_api_spex

Open API Specifications for Elixir Plug applications
Mozilla Public License 2.0
706 stars 183 forks source link

Support casting decimals #634

Closed zorbash closed 3 weeks ago

zorbash commented 3 weeks ago

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.