Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit 23378b9

Browse files
authored
Merge pull request #771 from Hans-Wu-cn/solon-hans
Fix non interface documentation in the Solon framework
2 parents c2e9d48 + f38e302 commit 23378b9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/com/ly/doc/template/IRestDocTemplate.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ default List<ApiDoc> processApiData(ProjectDocConfigBuilder projectBuilder, Fram
9595

9696
List<ApiMethodDoc> apiMethodDocs = buildEntryPointMethod(cls, apiConfig, projectBuilder,
9797
frameworkAnnotations, configApiReqParams, baseMappingHandler, headerHandler);
98+
if (CollectionUtil.isEmpty(apiMethodDocs)) {
99+
continue;
100+
}
98101
this.handleApiDoc(cls, apiDocList, apiMethodDocs, order, apiConfig.isMd5EncryptedHtmlName());
99102
}
100103
apiDocList = handleTagsApiDoc(apiDocList);

0 commit comments

Comments
 (0)