Skip to content

IndexError on karakeep openapi spec #93

Open

Description

@thiswillbeyourgithub

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions