openapistack / openapi-client-axios

JavaScript client library for consuming OpenAPI-enabled APIs with axios
https://openapistack.co
MIT License
564 stars 68 forks source link

Out of memory issue: PayPal OpenAPI spec #174

Open florianbepunkt opened 11 months ago

florianbepunkt commented 11 months ago

Using the following model from PayPal (https://github.com/paypal/paypal-rest-api-specifications/blob/main/openapi/reporting_transactions_v1.json) I get a memory error when running npx openapicmd typegen https://raw.githubusercontent.com/paypal/paypal-rest-api-specifications/main/openapi/reporting_transactions_v1.json

EDIT: Using Node 18

nevir commented 8 months ago

Another example:

npx openapicmd typegen https://raw.githubusercontent.com/Stedi/openApi/main/core.json
paulwer commented 2 weeks ago

same here, any updates?

anttiviljami commented 2 weeks ago

Help appreciated. This is not something I’m facing in any of my projects, so unlikely to find the time to take a look. Will accept a PR to fix

paulwer commented 1 week ago

this effects all large openapi specs i guess. also this is failing: https://app.tolgee.io/v3/api-docs/Public%20API%20(All)