{"library":"rest2ts","type":"library","category":null,"description":"A CLI tool and library that generates modern TypeScript types and strongly-typed HTTP clients from REST API schemas (Swagger/OpenAPI 2.x/3.x). v6.3.5 is current stable; releases weekly. Key differentiators: supports both Swagger and OpenAPI spec versions, produces zero-dependency TypeScript output with full type safety, configurable client generation for fetch/axios/ky, and includes a watch mode for incremental codegen. Alternatives (e.g., openapi-generator) often produce larger output files with more boilerplate or require heavier runtimes.","language":"javascript","status":"active","version":"6.3.5","tags":["javascript","rest","api","typescript","swagger","openapi","client","code-generation","codegen"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest2ts","imports":["import { generateTypes } from 'rest2ts'","import { generateClient } from 'rest2ts'","import { Rest2tsConfig } from 'rest2ts'"]},{"cmd":"yarn add rest2ts","imports":[]},{"cmd":"pnpm add rest2ts","imports":[]}],"homepage":"https://github.com/gaboe/rest2ts#readme","github":"git://github.com/gaboe/rest2ts","docs":null,"changelog":null,"pypi":null,"npm":"rest2ts","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}