def METHOD_NAME(folder: Path) -> None:
    readme_path = folder / "swagger" / "README.md"
    completed_process = run(["autorest", readme_path, "--python-sdks-folder=../../"], cwd=folder, shell=True)
    if completed_process.returncode != 0:
        raise ValueError("Something happened with autorest: " + str(completed_process))
    _LOGGER.info("Autorest done")