Closed
Description
During nesting, there is a redunant operation builder consumer, which I always leave empty. Does that have any purpose in mind?
SpringdocRouteBuilder.route()
.nest(
RequestPredicates.path("/users").and(RequestPredicates.accept(APPLICATION_JSON)),
Supplier {
SpringdocRouteBuilder.route()
.GET("", userHandler::getById, Consumer { it.beanClass(UserService::class.java).beanMethod("getById") })
...
.build()
},
{} // what's the point of that?
).build()