mirror of
https://github.com/continew-org/continew-starter.git
synced 2026-01-03 10:58:38 +08:00
feat(api-doc): 增加基础枚举处理器支持枚举插件显示
- pom.xml 中添加 nextdoc4j-plugin-enums 依赖 - 在 SpringDocAutoConfiguration 中新增 BaseEnumProcessor Bean - 实现 BaseEnumProcessor 用于 nextdoc4j 枚举插件支持 - BaseEnumProcessor 判断枚举类型并关联 BaseEnum 接口
This commit is contained in:
@@ -28,5 +28,11 @@
|
||||
<artifactId>nextdoc4j-springboot3-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--nextdoc4j - 枚举插件-->
|
||||
<dependency>
|
||||
<groupId>top.nextdoc4j</groupId>
|
||||
<artifactId>nextdoc4j-plugin-enums</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
Reference in New Issue
Block a user