A TypeScript codebase that talks to an HTTP API should not hand-write request and response interfaces. It will not keep them in sync for a month. The question is which generator to use, and the answer depends on how much runtime you want generated alongside the types. The ecosystem splits into three camps — types-only, lightweight typed fetchers,... Weiterlesen: Generate a TypeScript client from OpenAPI: openapi-typescript vs open…
Intelligence View
⚡ tsecurity.de Intelligence
Generate a TypeScript client from OpenAPI: openapi-typescript vs openapi-generator vs openapi-fetch
A TypeScript codebase that talks to an HTTP API should not hand-write request and response interfaces. It will not keep them in sync for a month. The question…