4 ms·
would you mind sharing what you mean by auto-generated validators that get injected into the code?
by panabee 5y ago
would you mind sharing what you mean by auto-generated validators that get injected into the code?
- dnautics 5y agoI'll be open sourcing one I'm building for openApi at work in a few months, in the meantime, I have compile-time generated jsonschema validators here: https://hexdocs.pm/exonerate/Exonerate.html https://hexdocs.pm/exonerate/Exonerate.html In elixir parlance checking the schemas for REST (or in the case of asyncAPI, ws) transactions will happen based on a "plug" which injects the validation into the processing pipeline.
- panabee 5y agothanks for sharing.