Skip to content

SpringdocRouteBuilder redundant parameter #968

Closed
@Sam-Kruglov

Description

@Sam-Kruglov

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions