from pathlib import Path from typing import Any from .errors import OpenAPIFirstError class OpenAPISpecLoadError(OpenAPIFirstError): ... def load_openapi(path: str | Path) -> dict[str, Any]: ...