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

Replace @anttiviljami/dtsgenerator with openapi-typescript #61

Open
kennethaasan opened this issue Sep 25, 2024 · 2 comments
Open

Replace @anttiviljami/dtsgenerator with openapi-typescript #61

kennethaasan opened this issue Sep 25, 2024 · 2 comments

Comments

@kennethaasan
Copy link

kennethaasan commented Sep 25, 2024

Hi,

Thanks for doing the work on this and related libraries.

Have you considered replacing @anttiviljami/dtsgenerator with openapi-typescript? It seems better maintained and a more safe bet.

@anttiviljami
Copy link
Member

I have, but I haven’t had enough issues with the current type generation to justify it. Please execute ✅

@kennethaasan
Copy link
Author

Thanks!

The one use case I have is support for readOnly which is soon available in openapi-typescript: openapi-ts/openapi-typescript#1863

I'm a little bit surprised this is not supported in any of those two because it seems like a very common thing for CRUD APIs. When that's done in openapi-typescript I think we can try to make the switch

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

No branches or pull requests

2 participants