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