一、SpringBoot项目整合smart-doc接口文档管理插件 1、引入 smart-doc 插件 pom.xml <!-- 引入 smart-doc 插件 --><plugin><groupId>com.github.shalousun</groupId><artifactId>smart-doc-maven-plugin</artifactId><version>2.6.4</version><configuration><!-- 指定生成文档使用的配置文件 --><configFi...
此外,Smart-doc 可以扫描代码以生成 JMeter 性能测试脚本。MarkdownHTML5Postman CollectionOpenAPI 3.0 更多功能请参考官方文档。 使用Smart-doc 记录 API 的步骤 第1 步:Maven 项目 使用最新版本的 Spring Boot 创建 Maven 项目 将Web 依赖项添加到项目 第2 步:将 Smart-doc 添加到项目中 添加到项目的smart-doc...
[INFO] Artifacts that the current project depends on: ["org.springframework.boot:spring-boot-starter-web","org.springframework.boot:spring-boot-configuration-processor","org.projectlombok:lombok"] [INFO] Smart-doc has loaded the source code path: [{"path":"D:/git/tech-pdai-spring-demos/115...
<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin><plugin><groupId>com.github.shalousun</groupId><artifactId>smart-doc-maven-plugin</artifactId><version>2.4.8</version><configuration><!--指定生成文档的使用的配置文件...
轻易实现在Spring Boot服务上在线查看静态HTML5 api文档。 开放文档数据,可自由实现接入文档管理系统。 支持导出错误码和定义在代码中的各种字典码到接口文档。 Getting started smart-doc使用和测试可参考smart-doc demo。 # git clone https://gitee.com/sunyurepository/api-doc-test.git ...
"pdai-springboot-demo-smart-doc",//配置自己的项目名称,不设置则插件自动获取pom中的projectName "skipTransientField": true,//目前未实现 "sortByTitle":false,//接口标题排序,默认为false,@since 1.8.7版本开始 "showAuthor":true,//是否显示接口作者名称,默认是true,不想显示可关闭 "requestFieldToUnderlin...
spring-doc+torna对接spring-doc+torna smart-doc.json配置 模板示例 "outPath": "G://smartdoc_demo", //必须 smart-doc输出路径 "serverUrl": "http://127.0.0.1", //服务器地址,非必须。导出postman建议设置成http://{{server}}方便直接在postman直接设置环境变量 "isStrict": false, //是否开启严格...
springboot 整合smartdoc springboot 整合mybatis-plus,Springboot对于我来说是一个刚接触的新东西,学习过程中,发现这东西还是很容易上手的,Springboot没配置时会默认使用Springdatajpa,这东西可以说一个极简洁的工具,可是我还是比较喜欢用mybatis,工具是没有最好的,
"pdai-springboot-demo-smart-doc",//配置自己的项目名称,不设置则插件自动获取pom中的projectName "skipTransientField": true,//目前未实现 "sortByTitle":false,//接口标题排序,默认为false,@since 1.8.7版本开始 "showAuthor":true,//是否显示接口作者名称,默认是true,不想显示可关闭 "requestFieldToUnderlin...
使用Smart-doc 记录 API 的步骤 第1 步:Maven 项目 使用最新版本的 Spring Boot 创建 Maven 项目 第2 步:将 Smart-doc 添加到项目中 添加到项目的smart-doc-maven-pluginpom.xml XML格式 <plugin> <groupId>com.ly.smart-doc</groupId> <artifactId>smart-doc-maven-plugin</artifactId> <version>[latest...