{"library":"openapi-typescript","type":"library","category":null,"description":"openapi-typescript is a powerful command-line tool and library designed to convert OpenAPI 3.0 and 3.1 specifications into TypeScript type definitions. It produces runtime-free, statically-analyzable types, enabling robust type safety for API clients, facilitating validation of mock data, and streamlining the development of business logic directly from your API's schema. The current stable version is 7.13.0, and the project maintains a healthy and active release cadence, frequently publishing minor or patch versions across its ecosystem of packages (e.g., openapi-typescript, openapi-fetch). A key differentiator is its speed and its minimal dependency footprint, requiring only Node.js and avoiding external runtimes like Java, making it a lightweight and efficient alternative to many traditional OpenAPI codegen solutions. It supports loading schemas from local YAML or JSON files, as well as remote URLs.","language":"javascript","status":"active","version":"7.13.0","tags":["javascript","swagger","typescript","ts","dts","openapi","codegen","generation","openapi 3"],"install":[{"cmd":"npm install openapi-typescript","imports":["import openapiTS from 'openapi-typescript';","import type { paths } from './my-openapi-3-schema';","import type { components } from './my-openapi-3-schema';"]},{"cmd":"yarn add openapi-typescript","imports":[]},{"cmd":"pnpm add openapi-typescript","imports":[]}],"homepage":"https://openapi-ts.dev","github":"https://github.com/openapi-ts/openapi-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/openapi-typescript","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/openapi-typescript/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}