this.domainTypeToJsonMetadataConverter = domainTypeToJsonMetadataConverter;
}
@RequestMapping(value = BASE_MAPPING + "/metadata", method = GET)
public HttpEntity<JsonConfigurationMetadata> schema(RootResourceInformation resourceInformation) {
JsonConfigurationMetadata jsonConfigurationMetadata = domainTypeToJsonMetadataConverter.convert(resourceInformation.getPersistentEntity());
return new ResponseEntity<JsonConfigurationMetadata>(jsonConfigurationMetadata, OK);
}