Use `@PathVariable` for identifiers that are part of the resource path (e.g., `/users/{id}`). Use `@RequestParam` for optional filters, pagination, or query options (e.g., `?page=2&sort=name`).
@GetMapping("/users/{id}")
UserDto getUser(@PathVariable String id, @RequestParam(defaultValue = "false") boolean verbose) {
return service.get(id, verbose);
}