Skip to content

Commit 4a1221f

Browse files
committed
fix typo
1 parent e5779bf commit 4a1221f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

springdoc-openapi-webmvc-core/src/main/java/org/springdoc/webmvc/api/OpenApiResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ protected boolean isRestController(Map<String, Object> restControllers, HandlerM
307307
if (hasOperationAnnotation)
308308
return true;
309309

310-
return (containsResponseBody(handlerMethod) & restControllers.containsKey(handlerMethod.getBean().toString()) || isAdditionalRestController(handlerMethod.getBeanType()))
310+
return (containsResponseBody(handlerMethod) && restControllers.containsKey(handlerMethod.getBean().toString()) || isAdditionalRestController(handlerMethod.getBeanType()))
311311
&& operationPath.startsWith(DEFAULT_PATH_SEPARATOR)
312312
&& (springDocConfigProperties.isModelAndViewAllowed() || !ModelAndView.class.isAssignableFrom(handlerMethod.getMethod().getReturnType()));
313313
}

0 commit comments

Comments
 (0)