@Bean
    @Order(-300)
    @ConditionalOnProperty(value = "shenyu.switchConfig.collapseSlashes", havingValue = "true")
    public WebFilter collapseSlashesFilter() {
        return new CollapseSlashesFilter();
    }
Collapse slashes filter web filter.

@return the web filter
shenyu-spring-boot-starter/shenyu-spring-boot-starter-gateway/src/main/java/org/apache/shenyu/springboot/starter/gateway/ShenyuConfiguration.java