update SpringBoot Template

This commit is contained in:
oppofind 2020-03-19 10:13:48 +08:00
parent d5e66ab226
commit a01b7946f5
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate {
this.headers = apiConfig.getRequestHeaders();
List<ApiDoc> apiDocList = new ArrayList<>();
int order = 0;
for (JavaClass cls : projectBuilder.getJavaProjectBuilder().getClasses()) {
Collection<JavaClass> classes = projectBuilder.getJavaProjectBuilder().getClasses();
for (JavaClass cls : classes) {
if (!checkController(cls)) {
continue;
}