fabien0102 / openapi-codegen

A tool for generating code base on an OpenAPI schema.
467 stars 60 forks source link

[Issue]: Failed to read large files from git #251

Open SiddHyper opened 1 month ago

SiddHyper commented 1 month ago

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 commented 1 month ago

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

SiddHyper commented 1 month ago

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