当前位置:网站首页>使用smart-doc自动生成接口文档
使用smart-doc自动生成接口文档
2022-06-22 20:52:00 【晒干的老咸鱼】
1、在pom.xml当中引入smart-doc的配置
在pom.xml的<build>标签的<plugins>标签下增加smart-doc的配置
<!--smart-doc begin-->
<plugin>
<groupId>com.github.shalousun</groupId>
<artifactId>smart-doc-maven-plugin</artifactId>
<version>2.3.6</version>
<configuration>
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
<configFile>./src/main/resources/smart-doc.json</configFile>
<!--指定项目名称,推荐使用动态参数,例如${project.description}-->
<!--如果smart-doc.json中和此处都未设置projectName,2.3.4开始,插件自动采用pom中的projectName作为设置-->
<!--<projectName>projectName</projectName>-->
</configuration>
<executions>
<execution>
<!--如果不需要在执行编译边栏推荐
- 阻止别人使用浏览器调试
- 5 minutes to quickly launch web applications and APIs (vercel)
- 2021-03-06
- Ensure database and cache consistency
- Enabling partners, major guarantee of Spring Festival "non-stop"
- Spark RDD Programming Guide(2.4.3)
- 2021-08-26
- 保证数据库和缓存的一致性
- Half optimized SQL
- Summary of transport layer knowledge points
猜你喜欢

2021-04-14

Technology cloud report: East to West computing is not only about "computing", but also needs "new storage"

2021-08-22

2021-04-16
Summary of transport layer knowledge points

SOA Service Oriented Architecture

Introduction to database access tools
Several ways of redis persistence -- deeply parsing RDB

Grafana report display of sentinel based high availability current limiting system

Spark RDD Programming Guide(2.4.3)
随机推荐
2021-04-05
2020-12-04
2020-12-20
swagger2 使用方法
js图片分辨率压缩
Several soapdatamodules on Delphi soap WebService server side
Next permutation [give play to subjective initiative to discover laws]
China Mobile's mobile phone users grow slowly, but strive for high profit 5g package users
获取当前所在周的起始和结束的日期
Use full function simulation design method
安装typescript环境并开启VSCode自动监视编译ts文件为js文件
ArcGIS应用(二十)Arcgis 栅格图像符号系统提示“This dataset does not have valid histogram required for classificati…”
斐波那契数列合集
Do domestic mobile phones turn apples? It turned out that it was realized by 100 yuan machine and sharp price reduction
Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading
js判断浏览器是否打开了控制台
Atcoder abc256 full problem solution (interval merging template, matrix fast power optimization DP, line segment tree...)
【Kubernetes 系列】Kubernetes 概述
In a frame because it set 'X-FRAME-OPTIONS' to' deny '
Lua-- use of data types, variables, loops, functions and operators