def openapi_spec() -> Dict:
  """Fixture to load the OpenAPI specification."""
  current_dir = os.path.dirname(os.path.abspath(__file__))
  # Join the directory path with the filename
  yaml_path = os.path.join(current_dir, "test.yaml")
  return load_spec(yaml_path)
Fixture to load the OpenAPI specification.
tests/unittests/tools/openapi_tool/openapi_spec_parser/test_openapi_toolset.py