Maximum call stack size exceeded
Describe the bug
During generating a client with npx --package @7nohe/openapi-react-query-codegen openapi-rq -i spec.json a RangeError: Maximum call stack size exceeded is thrown.
To Reproduce Generate RQ client for eg. https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/
OpenAPI spec file If possible, please upload the OpenAPI spec file.
Expected behavior The generator does not crash due to exceeded call stack.
Additional context
This issue has been reported in https://github.com/hey-api/openapi-ts/issues/552 and fixed in https://github.com/hey-api/openapi-ts/pull/1113. This does not happen on the v2 branch but having downstream fix with upgraded hey-api/openapi-ts would be nice.
Bump
we have this error as well