public abstract class AbstractSwaggerWelcome extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected String |
oauth2RedirectUrl |
protected SpringDocConfigProperties |
springDocConfigProperties |
protected SwaggerUiConfigProperties |
swaggerUiConfig |
protected String |
uiRootPath |
Constructor and Description |
---|
AbstractSwaggerWelcome(SwaggerUiConfigProperties swaggerUiConfig,
SpringDocConfigProperties springDocConfigProperties) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected void |
buildConfigUrl(String contextPath,
org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder) |
protected String |
buildUrl(String contextPath,
String docsUrl) |
protected final SwaggerUiConfigProperties swaggerUiConfig
protected final SpringDocConfigProperties springDocConfigProperties
protected String uiRootPath
@Value(value="${springdoc.swagger-ui.oauth2RedirectUrl:#{null}}") protected String oauth2RedirectUrl
public AbstractSwaggerWelcome(SwaggerUiConfigProperties swaggerUiConfig, SpringDocConfigProperties springDocConfigProperties)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
protected void buildConfigUrl(String contextPath, org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
Copyright © 2020. All rights reserved.