You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run the server using pip3 -m openapi_server I get the below msg,
File "/usr/local/lib/python3.8/dist-packages/connexion/apis/abstract.py", line 119, in init
self.add_paths()
File "/usr/local/lib/python3.8/dist-packages/connexion/apis/abstract.py", line 229, in add_paths
self._handle_add_operation_error(path, method, err.exc_info)
File "/usr/local/lib/python3.8/dist-packages/connexion/apis/abstract.py", line 244, in _handle_add_operation_error
raise value.with_traceback(traceback)
File "/usr/local/lib/python3.8/dist-packages/connexion/resolver.py", line 68, in resolve_function_from_operation_id
return self.function_resolver(operation_id)
File "/usr/local/lib/python3.8/dist-packages/connexion/utils.py", line 128, in get_function_from_name
raise last_import_error
File "/usr/local/lib/python3.8/dist-packages/connexion/utils.py", line 116, in get_function_from_name
module = importlib.import_module(module_name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in find_and_load_unlocked
ModuleNotFoundError: No module named 'openapi_server.controllers.nf_instances(store)controller'
Will be great if someone can help me with this since I'm new to openapi
The text was updated successfully, but these errors were encountered:
I cloned this repo and installed openai generator, ran agains the NRF like this
root@Focal:/tmp/test# openapi-generator-cli generate -i TS29510_Nnrf_NFManagement.yaml -g python-flask -o /tmp/test/
when I run the server using pip3 -m openapi_server I get the below msg,
File "/usr/local/lib/python3.8/dist-packages/connexion/apis/abstract.py", line 119, in init
self.add_paths()
File "/usr/local/lib/python3.8/dist-packages/connexion/apis/abstract.py", line 229, in add_paths
self._handle_add_operation_error(path, method, err.exc_info)
File "/usr/local/lib/python3.8/dist-packages/connexion/apis/abstract.py", line 244, in _handle_add_operation_error
raise value.with_traceback(traceback)
File "/usr/local/lib/python3.8/dist-packages/connexion/resolver.py", line 68, in resolve_function_from_operation_id
return self.function_resolver(operation_id)
File "/usr/local/lib/python3.8/dist-packages/connexion/utils.py", line 128, in get_function_from_name
raise last_import_error
File "/usr/local/lib/python3.8/dist-packages/connexion/utils.py", line 116, in get_function_from_name
module = importlib.import_module(module_name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in find_and_load_unlocked
ModuleNotFoundError: No module named 'openapi_server.controllers.nf_instances(store)controller'
Will be great if someone can help me with this since I'm new to openapi
The text was updated successfully, but these errors were encountered: