public RouterFunction<ServerResponse> routes() {
        return nest(path("/test"),
                route(POST("/helloWorld2")
                    .and(accept(APPLICATION_JSON)), this::postHandler)
                    .and(route(GET("/rewrite"), this::rewriteHandler))
                    .and(route(GET("/pdm"), this::pdmHttpGet))
                    .and(route(GET("/oms"), this::omsHttpGet))
                    .and(route(GET("/timeout"), this::testRetry)));
    }
Routes router function.

@return the router function
shenyu-examples/shenyu-examples-http-swagger3/src/main/java/org/apache/shenyu/examples/http/router/ShenyuTestHttpRouter.java