apigitlabs / apigit-support

APIGIT is a native Git based collaboration platform for API design, document, mock and share.
https://apigit.com
1 stars 0 forks source link

Getting "invilid file name" when trying to import large file #26

Closed sambenas closed 11 months ago

sambenas commented 11 months ago

Is there an existing issue for this?

Describe the Issue

Uploading a large file, about 20MB, I get an "invilid file name" error. It is valid OpenAPI and if I delete a bunch of endpoints I can upload it successfully. Is there a maximum supported file size? I didn't see one anywhere.

Steps To Reproduce

  1. Upload large OpenAPI spec file

Screenshots or Videos

No response

Browser

Chrome

Additional Context?

No response

apigitlabs commented 11 months ago

hi @sambenas , yes, there is a hard limitation of spec size, which is 10M. We have no plan to lift this limitation as if the spec size goes too big, the browser will become frozen when that too big spec. we recommend customers to split a long spec into multiple small spec, which is also benefit the customers for easier review.

sambenas commented 11 months ago

@apigitlabs Thank you for clarifying!