在pom.xml配置文件内通过添加如下依赖进行集成: 在添加依赖后需要通过@EnableApiBootSwagger注解进行开启ApiBoot Swagger相关的配置信息自动化构建,可以配置在XxxApplication入口类上,也可以是配置类,让SpringBoot加载到即可。 整合ApiBoot Security Oauth很简单,访问 查看。 注意:通过ApiBoot Security Oauth所获取的类型都为Bearer。