Skip to content

Commit

Permalink
Merge pull request #743 from shalousun/master
Browse files Browse the repository at this point in the history
release 3.0.2
  • Loading branch information
shalousun committed Feb 26, 2024
2 parents 25da8ef + ba6dd83 commit d46e10c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## smart-doc版本

### 版本号:3.0.2
- 更新日期: 2024-2-xx
- 更新日期: 2024-2-26
- 更新内容:
1. 优化推送rpc文档到torna时smart-doc设置的框架名错误,[#690](https://github.com/smart-doc-group/smart-doc/issues/690)
2. 修复html文档搜索后链接错误的bug,[#693](https://github.com/smart-doc-group/smart-doc/pull/693)
Expand All @@ -22,6 +22,9 @@
17. 修改高版本smart-doc生成JAX-RS规范项目文档报错问题。[#729](https://github.com/TongchengOpenSource/smart-doc-gradle-plugin/pull/729)
18. 修复内部枚举类作为参数时无法正常解析的问题。[#728](https://github.com/TongchengOpenSource/smart-doc-gradle-plugin/pull/728)
19. 修复void返回时返回用例生成错误。[#726](https://github.com/TongchengOpenSource/smart-doc-gradle-plugin/pull/726)
20. 修改JAX-RS绑定集合入参报错问题。 [#735](https://github.com/TongchengOpenSource/smart-doc-gradle-plugin/pull/735)
21. 新增类级别的接口排除过滤。[#736](https://github.com/TongchengOpenSource/smart-doc-gradle-plugin/pull/736)
22. openapi枚举类型增加取值范围展示[#741](https://github.com/TongchengOpenSource/smart-doc-gradle-plugin/pull/741)

### 版本号:3.0.1
- 更新日期: 2023-12-17
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ need to inject annotations into the code like `Swagger`.
- Support the generation of `Jmeter` performance testing scripts
- Support for exporting error codes and data dictionary codes to API documentation.
- The debug html5 page fully supports file upload and download testing.
- Support `Apache Dubbo RP`C.
- Support `Apache Dubbo RPC`.

## Best Practice

Expand Down
7 changes: 1 addition & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>smart-doc</artifactId>
<packaging>jar</packaging>
<version>3.0.1</version>
<version>3.0.2</version>

<name>smart-doc</name>
<url>https://github.com/TongchengOpenSource/smart-doc.git</url>
Expand Down Expand Up @@ -78,11 +78,6 @@
<artifactId>org.eclipse.jgit</artifactId>
<version>5.13.2.202306221912-r</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.4</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/com/ly/doc/utils/TornaUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import com.thoughtworks.qdox.JavaProjectBuilder;
import com.thoughtworks.qdox.model.JavaMethod;
import com.thoughtworks.qdox.model.JavaParameter;
import org.apache.commons.collections4.ListUtils;
import org.apache.commons.lang3.StringUtils;

import java.util.*;
Expand Down Expand Up @@ -66,7 +65,7 @@ public static void pushToTorna(TornaApi tornaApi, ApiConfig apiConfig, JavaProje
if (tornaApis == null || tornaApis.isEmpty()) {
return;
}
ListUtils.partition(tornaApis, apiConfig.getApiUploadNums()).forEach(apis -> {
CollectionUtil.partition(tornaApis, apiConfig.getApiUploadNums()).forEach(apis -> {
tornaApi.setApis(apis);
pushToTornaAll(tornaApi, apiConfig, builder);
});
Expand Down

0 comments on commit d46e10c

Please sign in to comment.