mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
feat(ruoyi-common-doc): 集成 nextdoc4j 以支持文档管理
- 在开发环境配置文件中新增 nextdoc4j 启用开关,默认启用 - 在 ruoyi-common-doc 模块中添加 nextdoc4j springboot starter 依赖 - 在根 pom 文件中增加 nextdoc4j 版本管理以及相应的依赖导入 - 添加 nextdoc4j 相关的 bom 依赖导入,统一管理版本依赖
This commit is contained in:
parent
b58085fde1
commit
fd67175788
10
pom.xml
10
pom.xml
@ -20,6 +20,7 @@
|
|||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<mybatis.version>3.5.16</mybatis.version>
|
<mybatis.version>3.5.16</mybatis.version>
|
||||||
<springdoc.version>2.8.13</springdoc.version>
|
<springdoc.version>2.8.13</springdoc.version>
|
||||||
|
<nextdoc4j.version>1.1.1</nextdoc4j.version>
|
||||||
<therapi-javadoc.version>0.15.0</therapi-javadoc.version>
|
<therapi-javadoc.version>0.15.0</therapi-javadoc.version>
|
||||||
<fastexcel.version>1.3.0</fastexcel.version>
|
<fastexcel.version>1.3.0</fastexcel.version>
|
||||||
<velocity.version>2.3</velocity.version>
|
<velocity.version>2.3</velocity.version>
|
||||||
@ -127,10 +128,13 @@
|
|||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!--nextdoc4j - bom 管理-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springdoc</groupId>
|
<groupId>top.nextdoc4j</groupId>
|
||||||
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
|
<artifactId>nextdoc4j-dependencies</artifactId>
|
||||||
<version>${springdoc.version}</version>
|
<version>${nextdoc4j.version}</version>
|
||||||
|
<type>pom</type>
|
||||||
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -186,6 +186,11 @@ sms:
|
|||||||
sdk-app-id: 您的sdkAppId
|
sdk-app-id: 您的sdkAppId
|
||||||
|
|
||||||
|
|
||||||
|
# nextdoc4j 配置 - dev 启动 prod不配置默认不启动
|
||||||
|
nextdoc4j:
|
||||||
|
# 是否启用
|
||||||
|
enabled: true
|
||||||
|
|
||||||
--- # 三方授权
|
--- # 三方授权
|
||||||
justauth:
|
justauth:
|
||||||
# 前端外网访问地址
|
# 前端外网访问地址
|
||||||
|
|||||||
@ -21,9 +21,10 @@
|
|||||||
<artifactId>ruoyi-common-core</artifactId>
|
<artifactId>ruoyi-common-core</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Nextdoc4j 集成 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springdoc</groupId>
|
<groupId>top.nextdoc4j</groupId>
|
||||||
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
|
<artifactId>nextdoc4j-springboot3-starter</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user