随笔分类 - 生成文档
摘要:不太好用,很卡 1 下载Apifox https://apifox.com/?utm_source=baidu_pinzhuan&utm_medium=sem&utm_campaign=pinzhuan&utm_content=pinzhuan&utm_term=apifox 2 配置插件 3 ID
阅读全文
摘要:这次来个简单的方法 通过swagger2 的注解来生成 一,POM <!-- https://mvnrepository.com/artifact/org.apache.poi/swagger --> <dependency> <groupId>io.springfox</groupId> <art
阅读全文
摘要:转载:https://www.jianshu.com/p/11adf2e2d000 工具/测试 package com.example.test.Util; import com.sun.javadoc.ClassDoc; import com.sun.javadoc.FieldDoc; impor
阅读全文
摘要:匹配正则 (先确认//后有没有空格) // +(.*$) 替换正则 /**\n * $1\n */ 说明:// +这个是匹配双斜杠加一个空格(.*$)匹配当前剩余的所有替换的时候$0 是//$1 是注释内容 转载:https://blog.csdn.net/fadedsun/article/deta
阅读全文
摘要:build.gradle plugins { id "com.github.shalousun.smart-doc" version "2.2.2" } smartdoc { configFile = file("src/main/resources/smart-doc.json") } resou
阅读全文
摘要:具体请参考:https://smart-doc-group.github.io/#/zh-cn/start/quickstart 众所周知(真不是人云亦云) swagger强大吗?强大的。但是代码侵入性太强了! japidocs ,没有代码入侵问题,也很好! 但是有个bug!没有办法传入接口泛型对象
阅读全文