Skip to content

Commit df8c436

Browse files
author
bnasslahsen
committed
Initial support of Webflux with Functional Endpoints
1 parent ac4aaad commit df8c436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ protected void getPaths(Map<String, Object> restControllers) {
184184
catch (NoSuchMethodException e) {
185185
LOGGER.error(e.getMessage());
186186
}
187-
if (handlerMethod != null)
187+
if (handlerMethod != null && isPackageToScan(handlerMethod.getBeanType().getPackage().getName()) && isPathToMatch(routerOperation.path()))
188188
calculatePath(handlerMethod, routerOperation.path(), new HashSet<>(Arrays.asList(routerOperation.method())));
189189
}
190190
}

0 commit comments

Comments
 (0)