swagger-parser icon indicating copy to clipboard operation
swagger-parser copied to clipboard

Parser fails silently with no messages and null openapi result

Open aeromac opened this issue 1 year ago • 2 comments

Hello, I am using 2.1.22 to parse the MS Graph API at the url here: https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/openapi.yaml

The result is no openApi object or messages.

aeromac avatar Jun 25 '24 12:06 aeromac

I tried DeserializationUtils.setYaml30Mapper(...) to increase the yaml code point limit, with no success. Converting the file to json worked.

aeromac avatar Jun 26 '24 13:06 aeromac

I didn't mean to close the issue with the last comment. I think there's a need for some error handling and support for large files.

aeromac avatar Jun 26 '24 13:06 aeromac