@Controller public class SwaggerWelcomeWebFlux extends SwaggerWelcomeCommon
webJarsPrefixUrl| Constructor and Description |
|---|
SwaggerWelcomeWebFlux(org.springdoc.core.SwaggerUiConfigProperties swaggerUiConfig,
org.springdoc.core.SpringDocConfigProperties springDocConfigProperties,
org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters,
org.springdoc.core.providers.SpringWebProvider springWebProvider)
Instantiates a new Swagger welcome web flux.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildApiDocUrl()
Build api doc url string.
|
protected String |
buildSwaggerConfigUrl()
Build swagger config url string.
|
protected String |
buildUrlWithContextPath(String swaggerUiUrl) |
protected void |
calculateOauth2RedirectUrl(org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
Calculate oauth 2 redirect url.
|
protected void |
calculateUiRootPath(StringBuilder... sbUrls)
Calculate ui root path.
|
reactor.core.publisher.Mono<Void> |
redirectToUi(org.springframework.http.server.reactive.ServerHttpRequest request,
org.springframework.http.server.reactive.ServerHttpResponse response)
Redirect to ui mono.
|
getSwaggerUiConfigpublic SwaggerWelcomeWebFlux(org.springdoc.core.SwaggerUiConfigProperties swaggerUiConfig,
org.springdoc.core.SpringDocConfigProperties springDocConfigProperties,
org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters,
org.springdoc.core.providers.SpringWebProvider springWebProvider)
swaggerUiConfig - the swagger ui configspringDocConfigProperties - the spring doc config propertiesswaggerUiConfigParameters - the swagger ui config parametersspringWebProvider - the spring web provider@GetMapping(value="${springdoc.swagger-ui.path:#{T(org.springdoc.core.Constants).DEFAULT_SWAGGER_UI_PATH}}")
public reactor.core.publisher.Mono<Void> redirectToUi(org.springframework.http.server.reactive.ServerHttpRequest request,
org.springframework.http.server.reactive.ServerHttpResponse response)
redirectToUi in class SwaggerWelcomeCommonrequest - the requestresponse - the responseprotected void calculateUiRootPath(StringBuilder... sbUrls)
calculateUiRootPath in class org.springdoc.ui.AbstractSwaggerWelcomesbUrls - the sb urlsprotected void calculateOauth2RedirectUrl(org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
calculateOauth2RedirectUrl in class org.springdoc.ui.AbstractSwaggerWelcomeuriComponentsBuilder - the uri components builderprotected String buildApiDocUrl()
buildApiDocUrl in class org.springdoc.ui.AbstractSwaggerWelcomeprotected String buildUrlWithContextPath(String swaggerUiUrl)
buildUrlWithContextPath in class org.springdoc.ui.AbstractSwaggerWelcomeprotected String buildSwaggerConfigUrl()
buildSwaggerConfigUrl in class org.springdoc.ui.AbstractSwaggerWelcomeCopyright © 2024. All rights reserved.