public class SwaggerConfiguration extends ApiInfoDocketFactory implements org.springframework.context.EnvironmentAware
| 构造器和说明 |
|---|
SwaggerConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
docket(List<SwaggerProperties> properties,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
注册多个docket bean
通过List中的上限注册个数
|
void |
setEnvironment(org.springframework.core.env.Environment environment) |
apiInfo, apiSelector, registerBean, registerBeanDefinitionspublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwarepublic void docket(List<SwaggerProperties> properties, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
DocketFactorydocket 在接口中 DocketFactoryproperties - 多个配置registry - 注册bean的工具Copyright © 2018 Pivotal Software, Inc.. All rights reserved.