code: def longest_common_prefix(members: typing.List[str]) -> str:
      prefix = min(members, key=len)
      while not all(member.startswith(prefix) for member in members):
          prefix = prefix[:-1]
      return prefix
  
imports: import os
  import re
  import typing
  from dataclasses import dataclass, field
  from shutil import copy, rmtree
  import swagger_parser
  from typing_extensions import Literal, assert_never
label_desc: Use image node_id 5 for calling a global function with example usage: longest_common_prefix(members) and returns: prefix