OpenAPI import limits #442
-
Hi All, I wanted to explore the OpenAPI import functionality of Gitbook with the following sample OpenAPI file: https://gist.github.com/seriousme/55bd4c8ba2e598e416bb5543dcd362dc . Although the API spec is very small and it has just a few endpoints, Gitbook import fails with the message "Some of your docs were not imported due to file limits, try splitting them into several imports." I am pretty sure I didn't reach the 20 pages limit / import as specified here: https://docs.gitbook.com/content-editor/import#limitations Can someone please tell me what I am doing wrong? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
👋 @kercsoj, I don't know if I'm missing anything, but I could import that file just fine. Are you using an OpenAPI block to import? |
Beta Was this translation helpful? Give feedback.
-
I've experienced the same issue as originally reported. I also find (and suspect that it's true in OP's case as well, from their recording) that despite the error message, the OpenAPI spec actually DOES get imported fully, despite the error message. The error message appears to be incorrect. |
Beta Was this translation helpful? Give feedback.
Thanks for sending over the recording, Jozsef! "Import content" feature can be helpful, but it can be limiting. I'd recommend using OpenAPI block instead; it's the best way to incorporate APIs into GitBook🙂