class_docstr: Test api service
code: def test_default(self):
      service = api_service.APIService()
  
      @service.api(path="/test")
      def test(params: List[str]):  # pylint: disable=unused-argument
          return "test"
  
      self.assertEqual(len(service.routers), 1)
      self.assertEqual(service.routers[0].func, test)
      self.assertEqual(service.routers[0].input_model, None)
      self.assertEqual(service.routers[0].output_model, None)
      self.assertEqual(service.routers[0].path, "/test")
  
file_path: towhee/tests/unittests/serve/test_api_service.py
imports: from typing import List
  import unittest
  from towhee import api_service
label_desc: Use image node_id 1 for calling the TestAPIService obj's underlying member method code with example usage: obj.test_default() and returns: str