Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider replacing openapi-generator usage #770

Open
thornbill opened this issue Aug 13, 2024 · 4 comments
Open

Consider replacing openapi-generator usage #770

thornbill opened this issue Aug 13, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@thornbill
Copy link
Member

Investigate replacing openapi-generator with the hey-api generator (or other alternative). Some issues we are experiencing with the openapi-generator are:

  • Use of classes in generated code makes tree-shaking impossible
  • Customization via mustache templates are challenging and prone to break between generator updates
  • Binary requests do not provide URL functions
@thornbill thornbill added the enhancement New feature or request label Aug 13, 2024
@thornbill
Copy link
Member Author

hey-api is not open source so not a good fit for this project.

@thornbill
Copy link
Member Author

Kubb looks like a contender... maybe we could also publish a generated tanstack query library (as a separate package)?

@ferferga
Copy link
Member

There's also Microsoft's kiota

@thornbill
Copy link
Member Author

Kiota is only in preview for typescript and doesn't seem to support axios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants