<!--swagger-api 依赖开始--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> <version>1.9.4</version> </dependency> <!--swagger-api 依赖结束--> 配置文件: swagger.production=false swagger.basic.enable=true swagger.basic.username=root swagger.basic.password=test bean类加: @EnableSwaggerBootstrapUI 完
标签:swagger,密码,2.9,ui,io,basic,springfox From: https://www.cnblogs.com/liuguiqing/p/18456101