@Configuration public class Swagger2Configuration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
构造器和说明 |
---|
Swagger2Configuration() |
限定符和类型 | 方法和说明 |
---|---|
springfox.documentation.spring.web.plugins.Docket |
docketBase()
设置基础分组(包含所有注解标注过的接口)
|
static org.springframework.beans.factory.config.BeanPostProcessor |
springfoxHandlerProviderBeanPostProcessor()
解决SpringBoot 2.6.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean public static org.springframework.beans.factory.config.BeanPostProcessor springfoxHandlerProviderBeanPostProcessor()
@Bean public springfox.documentation.spring.web.plugins.Docket docketBase()
Copyright © 2025. All rights reserved.