Relative Content

Tag Archive for spring-bootlombok

Lombok @ToString.Exclude decorator is not working

I am not able to exclude password field from the response when sending a POST request to /users. Below you can find the User entity and the User controller. It works if I exclude the @NotNull and @Size decorators. Any suggestions?