_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",[3112,3115],{"name":3113,"color":3114},"🙋♂️ help wanted","008672",{"name":3089,"color":3090},755,"[RFC] Using tRPC for public-facing APIs (OpenAPI/Swagger/etc)","2022-06-19T00:48:45Z","https://github.com/trpc/trpc/issues/755",0.69632727,{"description":3122,"labels":3123,"number":3124,"owner":3019,"repository":3051,"state":3052,"title":3125,"updated_at":3126,"url":3127,"score":3128},"Hi thanks for the awesome package!\r\n\r\nI am still a beginner using tRPC and am using this package to incrementally add a trpc layer into my projects.\r\nI was wondering if there is a possibility of using compression algos such as gzip to the body response.\r\nI understand that [data transformers](https://trpc.io/docs/data-transformers) are not supported, but is this out of scope due to how trpc would compress as discussed [here](https://github.com/trpc/trpc/issues/1925)? \r\n\r\nIt seems like something that isn't really applicable to normal tRPC\r\n\r\n",[],173,"Understanding compression compared to normal openapi ","2022-11-15T12:41:46Z","https://github.com/trpc/trpc-openapi/issues/173",0.70033145,["Reactive",3130],{},["Set"],["ShallowReactive",3133],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fQKAiLJ8n1U9olJj5aFDqMmRcVlXYL7xfrPP3VFaXb-w":-1},"/trpc/trpc-openapi/58"]