Login
Remember
Register
Ask a Question
Which Spring annotation can be used to expose a controller as REST API?
+1
vote
asked
Jan 10, 2022
in
Spring Framework Database Integration
by
rajeshsharma
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
rest-api
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 10, 2022
by
rajeshsharma
@RestController
Spring annotation can be used to expose a controller as REST API
...