}
}
public static HateoasVerbosity createVerbosity(Map<String, Object> props, String... defaults) {
String verbosityConfig = getProperty(props, PROPERTY_HATEOAS_VERBOSITY, "MAXIMUM", defaults);
HateoasVerbosity verbosity = HateoasVerbosity.findByName(verbosityConfig);
if (verbosity != null) {
return verbosity;
}
return HateoasVerbosity.valueOf(verbosityConfig);
}