2017年10月25日

spring boot 中使用swagger 来自动生成接口文档

摘要: 1.依赖包 2.配置类 3.controller中的方法上加上注解 4.如果一一些方法或者整个类不需要提供文档,可以在方法或者类上加上@ApiIgnore注解 阅读全文

posted @ 2017-10-25 14:02 司广孟 阅读(348) 评论(0) 推荐(0) 编辑

导航