ajaishankar

Results 10 comments of ajaishankar

HI @fedorg there are a couple of commits in master that has not yet been released (my bad) and a fix addressing this exact issue is one of them https://github.com/ajaishankar/openapi-typescript-fetch/commit/b62ee714e645c14b8e07c98aaaa53880e7d6c847....

@JanCizmar only json request body is supported. The main use of the library is for strongly typed request and response...

Thanks @reslear. This library's intention is to add fetch. But will add a fetch property to the config, whereby you can adapt something that uses axios. Similar to [useSWR](https://swr.vercel.app/docs/data-fetching) examples...

@BeanHeaDza for node you can use `node-fetch` https://github.com/node-fetch/node-fetch/tree/main#providing-global-access Node CommonJS setup: ```ts // install node-fetch npm install node-fetch@2 npm install @types/node-fetch@2 // fetch-polyfill.ts import fetch from 'node-fetch'; import { Headers,...

Hi @SalvadorCardona currently custom query or body encoders are not supported.

Thanks! Was looking into the [Hono](https://hono.dev/) framework and they use [Mitata](https://github.com/honojs/hono/blob/main/benchmarks/utils/src/loop.js) for their benchmarks Not sure if it would make a difference. Feel the benchmark tests should exercise more functionality...

Thanks @jayair, looking forward to this!

This is not specific to Hono, but I ran into the same issue with the Remix Cloudflare Vite plugin and DO. The DO needs to be run in an external...

I am a long time zod user and had wanted something similar. There is this library [zod-to-openapi](https://github.com/asteasolutions/zod-to-openapi) that introspects metadata, but that has intimate knowledge of zod internals. I'd like...

@waynenilsen your second snippet should already work as is... ```ts // Define the AWS WAF Web ACL const waf = new aws.wafv2.WebAcl("MyWaf", { ... }); const router = new sst.aws.Router("MyRouter",...