Sidi Amine Bouhamidi you can address this requirement via group conversions. You'd convert the default group into the creation checks or the update checks like so:
public void createUser(@Valid @ConvertGroup(from=Default.class, to=CreationChecks.class) User user) {
// implementation here
}
@Path("/users/update")
@POST
public void updateUser(@Valid @ConvertGroup(from=Default.class, to=UpdateChecks.class) User user) {
// implementation here
}
Can you let me know whether that works for you and, if so, close the issue? Thanks!