+1 vote
in Spring Framework Database Integration by
Which Spring annotation can be used to expose a controller as REST API?

Select the correct answer from below options:

a) @Controller

b) None of the options

c) @RestAPIController

d) @RestController

1 Answer

0 votes
by

@RestController Spring annotation can be used to expose a controller as REST API

...