What are the Spring Boot Annotations?

DWQA QuestionsCategory: Spring BootWhat are the Spring Boot Annotations?
1 Answers
Editor Staff answered 10 months ago

The @RestController is a stereotype annotation. It adds @Controller and @ResponseBody annotations to the class. We need to import org.springframework.web.bind.annotation package in our file, in order to implement it.
For more information click here.