Still Use If/else perform validation in Spring 6.0+ / SpringBoot 3.0+?
If so pls upgrade with below best practices.
For web services, to avoid illegal parameters affecting the business, parameter testing must be done in the Controller layer! In most…