code: def test_openapi_spec_parsing_json(self, json_serperdev_openapi_spec):
      service = OpenAPIServiceToFunctions()
  
      serper_spec_json = service._parse_openapi_spec(
          json_serperdev_openapi_spec
      )
      assert serper_spec_json["openapi"] == "3.0.0"
      assert serper_spec_json["info"]["title"] == "SerperDev"
  
file_path: haystack/test/components/converters/test_openapi_functions.py
imports: import json
  import sys
  import tempfile
  import pytest
  from haystack.components.converters import OpenAPIServiceToFunctions
  from haystack.dataclasses import ByteStream
label_desc: Use image node_id 1 for calling the TestOpenAPIServiceToFunctions obj's underlying member method code with example usage: obj.test_openapi_spec_parsing_json(json_serperdev_openapi_spec) without return types