protected Mono<Void> redirectToUi(ServerHttpRequest request, ServerHttpResponse response) {
		SwaggerUiConfigParameters swaggerUiConfigParameters = new SwaggerUiConfigParameters(swaggerUiConfig);
		buildFromCurrentContextPath(swaggerUiConfigParameters, request);
		String webjarsPrefix = springDocConfigProperties.getWebjars().getPrefix();
		String additionalPrefix = DEFAULT_WEB_JARS_PREFIX_URL.equals(webjarsPrefix) ? "" : webjarsPrefix;
		String sbUrl = swaggerUiConfigParameters.getContextPath()
				+ swaggerUiConfigParameters.getUiRootPath()
				+ additionalPrefix
				+ getSwaggerUiUrl();
		UriComponentsBuilder uriBuilder = getUriComponentsBuilder(swaggerUiConfigParameters, sbUrl);
		// forward all queryParams from original request
		request.getQueryParams().forEach(uriBuilder::queryParam);
		response.setStatusCode(HttpStatus.FOUND);
		response.getHeaders().setLocation(URI.create(uriBuilder.build().encode().toString()));
		return response.setComplete();
	}
Redirect to ui mono.

@param request  the request
@param response the response
@return the mono
springdoc-openapi-starter-webflux-ui/src/main/java/org/springdoc/webflux/ui/SwaggerWelcomeCommon.java