import { OriginRouter } from "https://deno.land/x/oak_nest@v2.0.1/test_deps.ts";
Register named middleware for the specified routes when specified methods are requested.
Parameters
Register middleware for the specified routes when the specified methods is requested.
Parameters
Register middleware for the specified routes when the specified methods are requested with explicit path parameters.
Parameters
pathOrMiddleware: string | RouterMiddleware<string, P, S>
...middleware: RouterMiddleware<string, P, S>[]