langchain/tools/openapi/utils/openapi_utils.py/OpenAPISpec/_components_strict
class OpenAPISpec:    def _components_strict(self) -> Components:
        """Get components or err."""
        if self.components is None:
            raise ValueError("No components found in spec. ")
        return self.components