hey I have a function in lambda with spring cloud functions that takes a dataobject as a input param say (InputObj). The lambda is triggered via an api gateway. The problem is if I leave out some properties of the InputObj and send a request. I get a default value for those missing properties.
What I would need is something like a 400 bad request error to be thrown unless the user provide all properties of the InputObj.
how can i go about doing it.