fix null point error in SpringBootDocBuildTemplate
This commit is contained in:
parent
23b84f1cf8
commit
6329f64482
|
@ -175,6 +175,9 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate<ApiDoc> {
|
|||
//handle request mapping
|
||||
RequestMapping requestMapping = new SpringMVCRequestMappingHandler()
|
||||
.handle(projectBuilder.getServerUrl(), baseUrl, method, constantsMap);
|
||||
if (Objects.isNull(requestMapping)) {
|
||||
continue;
|
||||
}
|
||||
//handle headers
|
||||
List<ApiReqHeader> apiReqHeaders = new SpringMVCRequestHeaderHandler().handle(method);
|
||||
|
||||
|
|
Loading…
Reference in New Issue