class VersionController {

    @GetMapping(value = "/version", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public ResponseEntity<VersionInfo> getVersion() {
        return new ResponseEntity<>(versionService.getVersion(), HttpStatus.OK);
    }

}