Open javiermtorres opened 3 days ago
The extra=forbid model config param is passed to all OpenAPI-related models in the schema. This will prevent additional keys from being passed when creating a model object from JSON data.
extra=forbid
Just run auto tests; no manual testing is needed.
Fixes https://github.com/mozilla-ai/lumigator/issues/393
What's changing
The
extra=forbid
model config param is passed to all OpenAPI-related models in the schema. This will prevent additional keys from being passed when creating a model object from JSON data.How to test it
Just run auto tests; no manual testing is needed.
Additional notes for reviewers
Fixes https://github.com/mozilla-ai/lumigator/issues/393
I already...