Updated example that replaces all ResponseEntity types with a wildcard rule