Package org.springdoc.webmvc.ui
Class SwaggerController
java.lang.Object
org.springdoc.ui.AbstractSwaggerWelcome
org.springdoc.webmvc.ui.SwaggerWelcomeCommon
org.springdoc.webmvc.ui.SwaggerWelcomeWebMvc
org.springdoc.webmvc.ui.SwaggerController
@Configuration
public class SwaggerController
extends org.springdoc.webmvc.ui.SwaggerWelcomeWebMvc
Overwrites the SwaggerController path to consider the url mapping of a DispatcherServlet, instead of always using the
same URL.
- See Also:
-
Field Summary
Fields inherited from class org.springdoc.ui.AbstractSwaggerWelcome
springDocConfigProperties, swaggerUiConfig -
Constructor Summary
ConstructorsConstructorDescriptionSwaggerController(org.springdoc.core.properties.SwaggerUiConfigProperties swaggerUiConfig, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties, org.springdoc.core.providers.SpringWebProvider springWebProvider) -
Method Summary
Methods inherited from class org.springdoc.webmvc.ui.SwaggerWelcomeWebMvc
buildApiDocUrl, buildSwaggerConfigUrl, buildUrl, buildUrlWithContextPath, calculateUiRootPath, redirectToUiMethods inherited from class org.springdoc.webmvc.ui.SwaggerWelcomeCommon
calculateOauth2RedirectUrl, openapiJsonMethods inherited from class org.springdoc.ui.AbstractSwaggerWelcome
buildConfigUrl, calculateUiRootCommon, getOauth2RedirectUrl, getSwaggerUiUrl, getUriComponentsBuilder, init
-
Constructor Details
-
SwaggerController
public SwaggerController(org.springdoc.core.properties.SwaggerUiConfigProperties swaggerUiConfig, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties, org.springdoc.core.providers.SpringWebProvider springWebProvider)
-