What does the `@RestController` annotation do in Spring Boot?
`@RestController` is used for creating servlet-based applications but not specifically for REST APIs.
Thatâ€™s incorrect. `@RestController` is designed specifically for building RESTful web services in Spring Boot, not for servlet-based applications.
Can you explain the difference between `@RestController` and `@Controller` in Spring?