4 ms·
I searched for what you're describing here, and I don't believe I found the service you're describing - I'm not seeing how it could generate code. Would you mi
by digdugdirk 4y ago
I searched for what you're describing here, and I don't believe I found the service you're describing - I'm not seeing how it could generate code.
Would you mind expanding on what you're talking about here? It sounds intriguing, I'm just not following.
- tough 4y agohttps://github.com/readmeio/api https://github.com/readmeio/api In my case I had a backend with annotatted swagger docs, which generated the OpenAPI spec from it using https://www.npmjs.com/package/next-swagger-doc https://www.npmjs.com/package/next-swagger-doc but basically it will take any openapi spec url, and generate an SDK for it. So you'll get your named routes for free as sdk a la mySDK.allUsers() or mySDK.findUser(id) or whatever your openapi spec exposes