code: def test_numpy_openapi_schema():
      nparray = NumpyNdarray().openapi_schema()
      assert nparray.type == "array"
      assert nparray.nullable
      assert nparray.items and nparray.items.type == "integer"
  
      ndarray = from_example.openapi_schema()
      assert nparray.type == "array"
      assert isinstance(nparray.items, Schema)
      items = ndarray.items
      assert items.type == "array"
      assert items.items and items.items.type == "number"
  
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 3 for calling a global function with example usage: test_numpy_openapi_schema() without return types