-
Notifications
You must be signed in to change notification settings - Fork 1
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with large OpenAPI files #152
Comments
Unfortunately, the poor performance of Scorpio (really JSI, but effectively both) on large documents is one of the two big hurdles I'm working through before declaring these libraries as v1.0 production-ready things. I have a rough prototype working that fixes this and makes performance many orders of magnitude better. But at the moment it is only a prototype and needs a good bit more work before being generally usable. It's getting there, but I am not so good at estimating the time it will take to be ready for release. |
Hi @notEthan!
I'm evaluating using scorpio for a work project and got stuck pretty early. The OpenAPI JSON document I'm wanting to consume is quite large - 6.6MB of JSON 馃槼 - and just trying to load this class hangs indefinitely.
I assume Scorpio is trying to generate a lot of code at once when that's loaded.
Do you have general recommendations here? I only need a small subset of the API that the document defines - should I delete everything from the OpenAPI document I'm not using? Is there something I could do differently to lazy-load/generate only what I need?
Thanks!
The text was updated successfully, but these errors were encountered: