code: def test_openapi_schema():
      client = TestClient(app)
      response = client.get("/openapi.json")
      assert response.status_code == 200
      assert response.json() == openapi_schema
  
file_path: fastapi/tests/test_param_include_in_schema.py
imports: from typing import Optional
  import pytest
  from fastapi import Cookie, FastAPI, Header, Path, Query
  from fastapi.testclient import TestClient
label_desc: Use image node_id 1 for calling a global function with example usage: test_openapi_schema() without return types