Closed strzibny closed 4 years ago
What if the provided params matches the schema, but contains extra attributes? It could be nice to inform the user that the extra ones will get ignored. Is this something ex_json_schema could tackle?
ex_json_schema
Ah, sorry, I just learned about:
"additionalProperties" => false
(in JSON schema).
What if the provided params matches the schema, but contains extra attributes? It could be nice to inform the user that the extra ones will get ignored. Is this something
ex_json_schema
could tackle?