Spring Boot - API Documentation
Given this Spring Boot controller snippet with Springdoc enabled, what will the generated API docs show for the endpoint?
@RestController
@RequestMapping("/api")
public class UserController {
@GetMapping("/users/{id}")
public User getUser(@PathVariable String id) {
return new User(id, "Alice");
}
}