_e.g._ `?input=${JSON.stringify(encodeURIComponent(input))` |\r\n| `POST` | `.mutation()` | Input as post body. | \r\n\r\n## Considerations with OpenAPI\r\n\r\n- Resources are usually `/{resource}/{id}?param1=x¶m2=y`-style - tRPC is [currently] with `{resource}?input=JSON.stringify(encodeURIComponent(input))`-style\r\n- JSON-RPC based response shape might not be the ideal response shape for OpenAPI\r\n- An output schema usually have a `$ref`-schema which would be possible to do automatically / first feature people would request is to make different paths request the same input type\r\n- Actually using zod or any other validation on a resolver's `output` would slow down API outputs.\r\n\r\n## Related\r\n\r\nhttps://github.com/trpc/trpc/discussions/271\r\n",[2947,2949],{"name":2948,"color":2910},"🙋♂️ help wanted",{"name":2950,"color":2951},"💬 discussion","4B318A",755,"[RFC] Using tRPC for public-facing APIs (OpenAPI/Swagger/etc)","2022-06-19T00:48:45Z","https://github.com/trpc/trpc/issues/755",0.69793385,{"description":2958,"labels":2959,"number":2960,"owner":2868,"repository":2868,"state":2912,"title":2961,"updated_at":2962,"url":2963,"score":2964},"Is it possible to generate the client code for Flutter dart? Or is there a way for us to emit the API JSON schema so that the community can work on various clients other than just Typescript to call tRPC APIs? Yes, I'm aware of the drawback of no more Typescript's automatic type inferring.",[],2211,"How about Flutter support?","2022-10-04T06:09:14Z","https://github.com/trpc/trpc/issues/2211",0.711045,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fPpU9lXtU1wLh5vaVp43dEvdYff3ppR8gMIdyy6btTks":-1},"/trpc/trpc-openapi/274"]