private String resolveMessage(ResourceDescription description) {

    if (!description.isDefault()) {
      return description.getMessage();
    }

    try {
      return messageSource.getMessage(description);
    } catch (NoSuchMessageException o_O) {
      return configuration.metadataConfiguration().omitUnresolvableDescriptionKeys()
          ? null
          : description.getMessage();
    }
  }
 @Override
 protected void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) {
   config.metadataConfiguration().setAlpsEnabled(false);
   config.setBasePath("/api");
 }