-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
$ openapi-python-generator --use-orjson https://developers.pipedrive.com/docs/api/v1/openapi-v2.yaml ptmcs
this results in:
Generating data from https://developers.pipedrive.com/docs/api/v1/openapi-v2.yaml (OpenAPI 3.0)
Traceback (most recent call last):
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/bin/openapi-python-generator", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/click/core.py", line 1485, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/click/core.py", line 1406, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/click/core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/click/core.py", line 824, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/__main__.py", line 72, in main
generate_data(
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/generate_data.py", line 215, in generate_data
result = generate_code_3_0(
^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/parsers/openapi_30.py", line 58, in generate_code_3_0
return base_generator(
^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/language_converters/python/generator.py", line 44, in generator
services = generate_services(data.paths, library_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/language_converters/python/service_generator.py", line 442, in generate_services
sync_so = generate_service_operation(op, clean_path_name, False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/language_converters/python/service_generator.py", line 400, in generate_service_operation
body_param = generate_body_param(op)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/folkert/customer/pipedrive-to-mailchimp-contacts-sync2/venv/lib/python3.11/site-packages/openapi_python_generator/language_converters/python/service_generator.py", line 130, in generate_body_param
raise Exception(
Exception: Unsupported schema type for request body: None
Metadata
Metadata
Assignees
Labels
No labels