def METHOD_NAME(api_url: str, openapi_dict: dict) -> list[inference.PluginOpenAPIEndpoint]:
    endpoints = []
    base_url = openapi_dict.get("servers", [{}])[0].get("url")
    if base_url is not None:
        parsed_link = urlsplit(api_url)
        base_url = (
            f"{parsed_link.scheme}://{parsed_link.netloc}{base_url}" if not urlsplit(base_url).scheme else base_url
        )
    for path, methods in openapi_dict.get("paths", {}).items():
        for method, details in methods.items():
            endpoints.append(parse_plugin_endpoint(api_url, method, details, base_url, path, openapi_dict))
    return endpoints