openapi-python-generator icon indicating copy to clipboard operation
openapi-python-generator copied to clipboard

IndexError on karakeep openapi spec

Open thiswillbeyourgithub opened this issue 8 months ago • 0 comments

openapi-python-generator https://github.com/karakeep-app/karakeep/blob /main/packages/open-api/karakeep-openapi-spec.json out

This returns the following error:

Traceback (most recent call last):
                                 File "/path/.venv/lib/python3.11/site-packages/openapi_python_generator/generate_data.py", line 78, in get_open_api                                                                     

return OpenAPI(**orjson.loads(content))
                                            ^^^^^^^^^^^^^^^^^^^^^                        

orjson.JSONDecodeError: unexpected character: line 7 column 1 (char 6)

Can't format more I'm on mobile but hope it helps

thiswillbeyourgithub avatar May 04 '25 22:05 thiswillbeyourgithub