code: def test_api_doc(api_no_type):
      r = testing.ReferenceJson(
          os.path.join(TEST_DIR, "testdata", "api")
      )
      res = api_no_type.get(
          "/openapi.json",
      )
      if platform.system() != "Windows":
          # Output is different on Windows platforms since
          # modelkit.utils.memory cannot track memory increment
          # and write it
          r.assert_equal(
              "openapi.json", _strip_description_fields(res.json())
          )
  
imports: import asyncio
  import os
  import platform
  import fastapi
  import pydantic
  import pytest
  from starlette.testclient import TestClient
  from modelkit import testing
  from modelkit.api import ModelkitAutoAPIRouter, create_modelkit_app
  from modelkit.core.errors import ModelsNotFound
  from modelkit.core.model import Asset, AsyncModel, Model
  from tests import TEST_DIR
label_desc: Use image node_id 5 for calling a global function with example usage: test_api_doc(api_no_type) without return types