Skip to content

Commit

Permalink
Merge pull request #706 from WingGao/patch-1
Browse files Browse the repository at this point in the history
chore: 报错优化
  • Loading branch information
shalousun authored Jan 21, 2024
2 parents 9638ba4 + 3ef19b6 commit 4b6549d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ly/doc/template/IRestDocTemplate.java
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ default ApiRequestExample buildReqJson(DocJavaMethod javaMethod, ApiMethodDoc ap
if (!JavaClassValidateUtil.isPrimitive(gicName)
&& !configBuilder.getJavaProjectBuilder().getClassByName(gicName).isEnum()) {
throw new RuntimeException("can't support binding Collection on method "
+ method.getName() + "Check it in " + method.getDeclaringClass().getCanonicalName());
+ method.getName() + " Check it in " + method.getDeclaringClass().getCanonicalName());
}
String value;
JavaClass javaClass1 = configBuilder.getClassByName(gicName);
Expand Down

0 comments on commit 4b6549d

Please sign in to comment.