update RpcDocBuildTemplate

This commit is contained in:
oppofind 2020-12-23 23:54:54 +08:00
parent 7fbe4bf5f0
commit 038025a494
1 changed files with 3 additions and 3 deletions

View File

@ -62,14 +62,14 @@ public class RpcDocBuildTemplate implements IDocBuildTemplate<RpcApiDoc> {
int order = 0;
boolean setCustomOrder = false;
for (JavaClass cls : projectBuilder.getJavaProjectBuilder().getClasses()) {
if (!checkDubboInterface(cls)) {
continue;
}
if (StringUtil.isNotEmpty(apiConfig.getPackageFilters())) {
if (!DocUtil.isMatch(apiConfig.getPackageFilters(), cls.getCanonicalName())) {
continue;
}
}
if (!checkDubboInterface(cls)) {
continue;
}
String strOrder = JavaClassUtil.getClassTagsValue(cls, DocTags.ORDER, Boolean.TRUE);
order++;
if (ValidateUtil.isNonnegativeInteger(strOrder)) {