class SearchController {

    @GetMapping(value = "/v1/search/categories")
    public ResponseEntity<Object> getSearchCategories(@RequestParam(name = "domain", required = false) String domain) {

        List<String> searchCategories = searchService.getSearchCategories(domain);

        return ResponseUtils.buildSucessResponse(searchCategories);

    }

}