@ResponseStatus(HttpStatus.OK)
@ResponseBody
public ResourceSupport display(@PathVariable("name") String name) {
final D definition = deployer.findOne(name);
if (definition == null) {
throw new NoSuchDefinitionException(name, "There is no definition named '%s'");
}
R resource = resourceAssemblerSupport.toResource(definition);
return enhanceWithDeployment(definition, resource);
}