Exonerate
Exonerate copied to clipboard
How to cope with structs / atom-key-maps?
Hi!
Namely the subj.
> validate_args(%{search: "foo"})
{:error,
[
error_value: %{search: "foo"},
instance_location: "/",
absolute_keyword_location: "#/required/0",
required: "/search"
]}
> validate_args(%{"search" => "foo"})
:ok
TIA