swagger to trpc-like interface generator?
I have a backend which exposes a fully detailed swagger json file. And I want to have an auto generated api client with an interface like trpc.
I managed to do it using
swagger-typescript-api
and custom templates, but wondered if anyone did it already or if there is any open source project that does almost the same thing, so I can get better ideas for implementation.
Thanks1 Reply
You want any kind of OpenAPI client codegen
There are loads of tools out there
Some can even generate react query hooks