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

Files over 3mb cause com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException #238

Open
juliang22 opened this issue Jan 20, 2023 · 1 comment

Comments

@juliang22
Copy link

I'm attempting to parse Stripe's OpenAPI spec, but the file is ~3.78MB which is over the limit that the Jackson allows by default. There is a fix to this issue, but being that swagger-parser does allow access to the creation of the Jackson parsing objects, I can't implement the fix.

It would be great if swagger-parser implemented this by default or allowed the user to configure it with ParseOptions. If I try using the .json spec file, I run out of java heap space.

Would love some guidance if anyone has any ideas!

@aryasoni98
Copy link

/assign me

I would like to work on it

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

2 participants