I would like to prevent users to put additionnal properties in body when they post/patch in my API.
Let's say we have the following model:
{ "test": "value"}
If a user POSTs the following:
{ "test": "value", "anotherProp":"value"}
I would like to return a BadRequestResult (400) because 'anotherProp' is NOT expected. All I want, is a body with a 'test' property.