How do we implements custom validation rules based upon different path-variable iin spring-boot app? In my case I have to apply some validation rules which are common and sone o