@Bean
	@ConditionalOnMissingBean
	@ConditionalOnClass({ PagedModel.class, SpringDataWebSettings.class })
	@Lazy(false)
	PageOpenAPIConverter pageOpenAPIConverter(Optional<SpringDataWebSettings> settings,
			ObjectMapperProvider objectMapperProvider) {
		boolean replacePageWithPagedModel = settings.map(SpringDataWebSettings::pageSerializationMode)
				.map(EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO::equals)
				.orElse(false);
		return new PageOpenAPIConverter(replacePageWithPagedModel, objectMapperProvider);
	}
Page open api converter.

@param settings             the settings
@param objectMapperProvider the object mapper provider
@return the page open api converter
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration/SpringDocPageableConfiguration.java