You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a use case where we would like to fail a search with an error if an unknown search parameter was passed to a GET or POST endpoint. Is there a way to hook into the arg resolver to throw an exception if unsupported search parameters are in the request?
Neither the annotation @JsonIgnoreProperties(ignoreUnknown = false) nor the global setting spring.jackson.deserialization.fail-on-unknown-properties=true seem to work for json bodies.
The text was updated successfully, but these errors were encountered:
We have a use case where we would like to fail a search with an error if an unknown search parameter was passed to a GET or POST endpoint. Is there a way to hook into the arg resolver to throw an exception if unsupported search parameters are in the request?
Neither the annotation @JsonIgnoreProperties(ignoreUnknown = false) nor the global setting spring.jackson.deserialization.fail-on-unknown-properties=true seem to work for json bodies.
The text was updated successfully, but these errors were encountered: