Skip to content

Maximum call stack size exceeded when using asClass: true #2815

@hekystyle

Description

@hekystyle

Description

Maximum call stack size exceeded when using asClass: true

Reproducible example or configuration

import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
  input: 'http://localhost:5038/swagger/1.0/swagger.json',
  output: 'src/_generated',
  plugins: [{ name: '@hey-api/typescript' }, { name: '@hey-api/sdk', asClass: true }],
});

OpenAPI specification (optional)

https://gist.github.com/hekystyle/86c87cb8255fe85dab9c4844283477d3

System information (optional)

OS: Windows 11
bun: 1.2.22
NodeJS: 24.10.0

Metadata

Metadata

Assignees

Labels

bug 🔥Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions