gen
faststream.cli.docs.app.gen #
gen(
app=Argument(
...,
help="[python_module:FastStream] - path to your application.",
),
yaml=Option(
False,
"--yaml",
is_flag=True,
help="Generate `asyncapi.yaml` schema.",
),
out=Option(None, help="Output filename."),
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.",
),
)
Generate project AsyncAPI schema.