fetch

fetch(openapi_spec: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7fc8c8d96c90>], output_path: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7fc8c756cb50>], mode: ~openapi_diagram.cli.commands.Annotated[~openapi_diagram.cli.commands.ModesEnum, <typer.models.OptionInfo object at 0x7fc8c75a3a10>], diagram_format: ~openapi_diagram.cli.commands.Annotated[~openapi_diagram.cli.commands.Formats, <typer.models.OptionInfo object at 0x7fc8c6766f10>], base_url: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fc8c5728190>])[source]

Fetch diagram from openapi-diagram server.