code: def test_schema():
      response = client.get("/openapi.json")
      assert response.status_code == status.HTTP_200_OK
      actual_schema = response.json()
      assert actual_schema == schema
      assert len(actual_schema["paths"]["/"]["get"]["parameters"]) == 1
  
imports: from fastapi import Depends, FastAPI, Header, status
  from fastapi.testclient import TestClient
label_desc: Use image node_id 4 for calling a global function with example usage: test_schema() without return types