class RouteController {

    @GetMapping(path = "/routes/{startId}/{terminalId}")
    public HttpEntity queryByStartAndTerminal(@PathVariable String startId,
                                              @PathVariable String terminalId,
                                              @RequestHeader HttpHeaders headers) {
        RouteController.LOGGER.info("startId : {}, terminalId: {}", startId, terminalId);
        return ok(routeService.getRouteByStartAndTerminal(startId, terminalId, headers));
    }

}