@ApiOperation(
     value = "The list of disease objects",
     notes = "It retrieves the list of diseases annotated in Reactome")
 @RequestMapping(value = "/diseases", method = RequestMethod.GET, produces = "application/json")
 @ResponseBody
 public Collection<Disease> getDiseases() {
   infoLogger.info("Request for all diseases");
   return schemaService.getByClass(Disease.class);
 }
 @ApiOperation(
     value = "The list of diseases DOID",
     notes = "It retrieves the list of disease DOIDs annotated in Reactome")
 @RequestMapping(value = "/diseases/doid", method = RequestMethod.GET, produces = "text/plain")
 @ResponseBody
 public String getDiseasesSummary() {
   infoLogger.info("Request for all diseases");
   List<String> diseases =
       schemaService
           .getByClass(Disease.class)
           .stream()
           .map(d -> d.getId() + "\t" + d.getDatabaseName() + ":" + d.getIdentifier())
           .collect(Collectors.toList());
   return String.join("\n", diseases);
 }