serve
faststream.cli.docs.app.serve #
serve(
app: str = typer.Argument(
...,
help="[python_module:FastStream] or [asyncapi.yaml/.json] - path to your application or documentation",
),
host: str = typer.Option(
"localhost", help="documentation hosting address"
),
port: int = typer.Option(
8000, help="documentation hosting port"
),
reload: bool = typer.Option(
False,
"--reload",
is_flag=True,
help="Restart documentation at directory files changes",
),
app_dir: str = typer.Option(
".",
"--app-dir",
help="Look for APP in the specified directory, by adding this to the PYTHONPATH. Defaults to the current working directory.",
),
) -> None
Serve project AsyncAPI schema.