摘要: swagger2用于通过配置的方式生成接口文档 引入jar包 配置swagger2启动类 配置实体类和controller model: controller: 访问路径: 访问效果: 源码可以查看: https://github.com/yuztmt/learn 阅读全文