@ -35,7 +35,9 @@ import java.util.List;
@@ -35,7 +35,9 @@ import java.util.List;
import java.util.stream.Collectors ;
/ * *
* @Author scott
* swagger 配置类
*
* @author
* /
@Configuration
@EnableSwagger2 //开启 Swagger2
@ -165,14 +167,14 @@ public class Swagger2Config implements WebMvcConfigurer {
@@ -165,14 +167,14 @@ public class Swagger2Config implements WebMvcConfigurer {
private ApiInfo apiInfo ( ) {
return new ApiInfoBuilder ( )
// //大标题
. title ( "JeecgBoot 后台服务API接口文档" )
. title ( "DB Bastion Server 后台服务API接口文档" )
// 版本号
. version ( "1.0" )
// .termsOfServiceUrl("NO terms of service")
// 描述
. description ( "后台API接口" )
// 作者
. contact ( new Contact ( "北京国炬信息技术有限公司" , "www.jeccg.com" , "jeecgos@163 .com" ) )
. contact ( new Contact ( "niushuai233" , "niushuai.cc" , "shuai.niu@foxmail .com" ) )
. license ( "The Apache License, Version 2.0" )
. licenseUrl ( "http://www.apache.org/licenses/LICENSE-2.0.html" )
. build ( ) ;