diff --git a/faststream/asgi/app.py b/faststream/asgi/app.py index ca35d2c7ca..34d0698fe2 100644 --- a/faststream/asgi/app.py +++ b/faststream/asgi/app.py @@ -68,7 +68,7 @@ def __init__( self.routes = list(asgi_routes) if asyncapi_path: - self.routes.append((asyncapi_path, make_asyncapi_asgi(self))) + self.mount(asyncapi_path, make_asyncapi_asgi(self)) def mount(self, path: str, route: "ASGIApp") -> None: self.routes.append((path, route))