@Configuration public class Swagger2Configuration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
Swagger2Configuration() |
| 限定符和类型 | 方法和说明 |
|---|---|
springfox.documentation.spring.web.plugins.Docket |
docketBase()
配置基础Docket实例,用于生成API文档的基本信息和扫描规则。
|
static org.springframework.beans.factory.config.BeanPostProcessor |
springfoxHandlerProviderBeanPostProcessor()
创建一个BeanPostProcessor实例,用于解决SpringBoot 2.6.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, 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 © 2026. All rights reserved.