I use rest-service.xml with simple pojos as parameters for my Rest-API. I implemented a bean validation in this pojos too. For example I have there a @NotNull constraint. I noticed that my (own and not cuba) frontend send empty strings. So the validation does not fire because the value is not null.
Is there a way to define the “global” GSON mapping to map empty strings to null?