hey-api / openapi-ts

🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more. Support: @mrlubos
https://heyapi.dev
Other
1.43k stars 106 forks source link

next-safe-action-gen #1110

Open kareem717 opened 1 month ago

kareem717 commented 1 month ago

Description

I am wondering if we could create a generator that automatically create next-safe-action functions? Perhaps I can help develop this if there is enough interest in the community.

mrlubos commented 1 week ago

Hi @kareem717, you can now easily create custom plugins using the same API as the internal plugins! https://heyapi.dev/openapi-ts/plugins.html#custom

The Plugins API isn't polished yet, but if you really need to develop something such as your proposed functions, this would be the best way today