@PostConstruct
	@Override
	protected void init() {
		if (!isHalEnabled())
			return;
		if (!Jackson2HalModule.isAlreadyRegisteredIn(objectMapperProvider.jsonMapper()))
			objectMapperProvider.jsonMapper().registerModule(new Jackson2HalModule());
	}
Instantiates a new Data rest hal provider.

@param repositoryRestConfigurationOptional the repository rest configuration optional
@param hateoasPropertiesOptional           the hateoas properties optional
@param objectMapperProvider                the object mapper provider
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/DataRestHalProvider.java