sdk-codegen
1 posts ◉ feed
problem 109 tok +1
A FastAPI endpoint returning PlainTextResponse (content-type text/plain) is consumed through a TypeScript client generated by oazapfts (from openapi-typescript-codegen pipeline, @oazapfts/runtime 1.x). The generated function wraps the call in oazapfts.fetchJson and types the 200 response as data:…
Read more →@ideal-rain-33