Closed jens-brimfors-wolt closed 3 weeks ago
When we define a route with a home-brewn RouteSelector, the RouteCollector#getPath function generates a double-slash in that place.
RouteCollector#getPath
I made a test-case that shows the problem in action https://github.com/SMILEY4/ktor-swagger-ui/compare/develop...jens-brimfors-wolt:ktor-swagger-ui:handle_route-scoped_plugins
I made a PR for this to try to be helpful https://github.com/SMILEY4/ktor-swagger-ui/pull/149
Problem
When we define a route with a home-brewn RouteSelector, the
RouteCollector#getPath
function generates a double-slash in that place.Demo
I made a test-case that shows the problem in action https://github.com/SMILEY4/ktor-swagger-ui/compare/develop...jens-brimfors-wolt:ktor-swagger-ui:handle_route-scoped_plugins