Starting a new project what lib would you recommend for data validation for JSON payloads. (payloads involved enough that something like JSON Schema would be appropriate). Or should I bite the bullet and go with GraphQL?
Otherwise I like to use phoenix_swagger which will validate JSON payloads using
I’ve also been working on open_api_spex which is similar to phoenix swagger but targets swagger (open api) 3.0, and includes some parameter validations. Maybe one day the full extended subset of JSON-Schema that swagger defines
Thank you for advice[quote=“mbuhot, post:2, topic:11558”]
I’ve also been working on open_api_spex
^^ looks very promising are you using it in prod.?
Not yet. There’s still some tooling integrations that don’t support swagger 3.0 yet, like Azure API Management.