Which Spring annotation can be used to expose a controller as REST API?Questions & Answers › Category: Computer Science › Which Spring annotation can be used to expose a controller as REST API? 0 Vote Up Vote Down Pavan Kumar asked 2 years ago Which Spring annotation can be used to expose a controller as REST API?a. @Controller b. None of the options c. @RestAPIController d. @RestControllerShare this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 0 Vote Up Vote Down Lokesh Kumar Staff answered 2 years ago d. @RestControllerShare this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...