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