Skip to content

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

Open
@juliang22

Description

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!

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