Module 16: Spring Boot Essentials
REST Controllers & Validation
Expose HTTP endpoints with @RestController, DTOs, and validation.
Map routes with @GetMapping, @PostMapping, return ResponseEntity for rich responses.
Bind request payloads to records/DTOs and validate with @Valid + Bean Validation annotations.
Centralize error handling using @ControllerAdvice.