Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] TypeError: Cannot read properties of undefined (reading 'result') #279

Open
ZzeMR opened this issue Jan 17, 2024 · 0 comments
Open

Comments

@ZzeMR
Copy link

ZzeMR commented Jan 17, 2024

When i insert my openapi json file i get the following error!
note that the json file contains about 34000 characters
can someone explain the error ?
is there any solution?

Whenever i use an other shorter filer it works all fine!

Loading of api failed for "/home/mwr/workspace/test/openapi/docusaurus/digiape/openapi.json"

TypeError: Cannot read properties of undefined (reading 'result')
    at /home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/docusaurus-plugin-openapi/lib/openapi/openapi.js:39:35
    at SchemaPack.convert (/home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/openapi-to-postmanv2/lib/schemapack.js:308:14)
    at Object.convert (/home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/openapi-to-postmanv2/index.js:11:21)
    at /home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/docusaurus-plugin-openapi/lib/openapi/openapi.js:38:40
    at new Promise (<anonymous>)
    at jsonToCollection (/home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/docusaurus-plugin-openapi/lib/openapi/openapi.js:37:12)
    at createPostmanCollection (/home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/docusaurus-plugin-openapi/lib/openapi/openapi.js:65:18)
    at processOpenapiFile (/home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/docusaurus-plugin-openapi/lib/openapi/openapi.js:267:37)
    at async /home/mwr/workspace/test/openapi/docusaurus/digiape/node_modules/docusaurus-plugin-openapi/lib/openapi/openapi.js:207:23
    at async Promise.all (index 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant