springboot+swagger2说明

swagger用于定义API文档。 优点: 先后端分离开发 API文档很是明确 测试的时候不须要再使用URL输入浏览器的方式来访问Controller 传统的输入URL的测试方式对于post请求的传参比较麻烦(固然,可使用postman这样的浏览器插件 添加pom依赖 <!--swagger2 start--> <dependency> <groupId>io.springfox</gro
相关文章
相关标签/搜索