class AddressController {

    @GetMapping("/do-lookup")
    public RestResult<List<AddressResource>> doLookup(@RequestParam(name="lookup", defaultValue="") final String lookup) {
        return addressLookupService.doLookup(lookup).toGetResponse();
    }

}