Forum Discussion

AnjanaSuresh's avatar
3 years ago

How to Add @NotBlank, @NotEmpty annotations for String In the generated Code

Not able to add @NotBlank, @NotEmpty annotations for String In the generated Code. 

 

With required = true, only @NotNull is getting added to the generated code, and dev has to write logic for Not Empty and NotBlank. Could you please add these annotations as well.