code: def query_examples(
      data: Union[str, None] = Query(
          default=None,
          examples=[
              "json_schema_query1",
              "json_schema_query2",
          ],
          openapi_examples={
              "Query One": {
                  "summary": "Query One Summary",
                  "description": "Query One Description",
                  "value": "query1",
              },
              "Query Two": {
                  "value": "query2",
              },
          },
      ),
  ):
      return data
  
file_path: fastapi/tests/test_openapi_examples.py
imports: from typing import Union
  from dirty_equals import IsDict
  from fastapi import Body, Cookie, FastAPI, Header, Path, Query
  from fastapi.testclient import TestClient
  from pydantic import BaseModel
label_desc: Use image node_id 3 for calling a global function with example usage: query_examples(data) and returns: data