Set<Class<?>> allClasses = getClasses();
for (Class<?> clazz : allClasses) {
HateoasContextProvider.getDefaultContext().mapClass(clazz);
}
HateoasResponseBuilder.configure(linkInjector, collectionWrapperStrategy, new DefaultHateoasViewFactory());
HateoasVerbosity.setDefaultVerbosity(verbosity);
}