Solon Validation: @Valid, 20+ Annotations, and Custom Validators Without the JSR 380 Baggage

TL;DR AI
2 min readKey summary
Solon’s validation plugin adds annotation-based request, entity, and custom validation in one lightweight dependency.
It supports controller-level and parameter-level validation, including nested object checks and validation groups.
The plugin ships with 20+ built-in annotations for common rules and security-related constraints.
Unlike JSR 380-based stacks, it does not require javax.validation or jakarta.validation, keeping setup simpler.
