open-api-spex / open_api_spex

Open API Specifications for Elixir Plug applications
Mozilla Public License 2.0
681 stars 177 forks source link

Casting of arrays into specified Schemas #615

Closed sofakingworld closed 3 days ago

sofakingworld commented 1 week ago

Hello dear maintainers!

I'm having errors when converting a structure with a list of substructures, like this: image

That's why I made this fix with a test that reproduces a similar situation.

It would be great if you could accept a PR or give me some tips on how to use the library correctly (if I'm doing something wrong)

mbuhot commented 3 days ago

Closing this one. If you're still experiencing errors after applying resolve_schema_modules then please re-open 👍