类 SwaggerConfig
- java.lang.Object
-
- net.quanter.shield.springboot.config.SwaggerConfig
-
@Configuration @EnableSwagger2 @Component public class SwaggerConfig extends Object
- 作者:
- 王老实
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Authorauthorprotected StringbasePackageprotected BooleanswaggerEnabled是否开启swagger,正式环境一般是需要关闭的,可根据springboot的多环境配置进行设置
-
构造器概要
构造器 构造器 说明 SwaggerConfig()
-