Yes @Valid will work without @Validated in @RestController . In Spring, we use JSR-303's @Valid annotation for method level validation.
確定! 回上一頁