@Override
	public boolean isHalEnabled() {
		return repositoryRestConfigurationOptional
				.map(RepositoryRestConfiguration::useHalAsDefaultJsonMediaType)
				.orElse(true);
	}
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