openapi-codegen icon indicating copy to clipboard operation
openapi-codegen copied to clipboard

[Issue]: Failed to read large files from git

Open SiddHyper opened this issue 1 year ago • 2 comments

I have yaml file which is approx. 25000 lines of code but it seems the github failed to read completed file and breaks the file in between around 14000-15000 lines and throws this error


 14610 |         summary:
 14611 |           default: null
 14612 |           nullable: true
 14613 |           descr
------------------------^

 14610 |         summary:
 14611 |           default: null
 14612 |           nullable: true
 14613 |           descr
------------------------^```

When I download the same file and run it from local file it works properly 
 

SiddHyper avatar May 19 '24 14:05 SiddHyper

Seems like github graphql api limitation I think we should use there rest api Will try to raise the PR for this @fabien0102

SiddHyper avatar May 20 '24 06:05 SiddHyper

Will be closed once this is release https://github.com/fabien0102/openapi-codegen/pull/254

SiddHyper avatar May 23 '24 11:05 SiddHyper