code: def test_numpy_openapi_responses():
      responses = NumpyNdarray().openapi_responses()
  
      assert responses["content"]
  
      assert "application/json" in responses["content"]
      assert not responses["content"]["application/json"].example
  
      ndarray = from_example.openapi_request_body()
      assert ndarray["content"]
      assert (
          ndarray["content"]["application/json"].example
          == example.tolist()
      )
  
imports: from __future__ import annotations
  import logging
  from functools import partial
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  from bentoml._internal.service.openapi.specification import Schema
  from bentoml.exceptions import BadInput
  from bentoml.exceptions import BentoMLException
  from bentoml.grpc.utils import import_generated_stubs
  from bentoml.io import NumpyNdarray
label_desc: Use image node_id 5 for calling a global function with example usage: test_numpy_openapi_responses() without return types