{"library":"api","type":"library","category":null,"description":"The `@readme/api` package provides a robust command-line interface and programmatic API for generating SDKs from OpenAPI (formerly Swagger) definitions. It takes an OpenAPI specification file and outputs a fully-typed JavaScript SDK, designed to be consistent across CommonJS, ES Modules, and TypeScript environments. The current stable version is `6.1.3`, with active development towards `v7.0.0`, which introduces significant overhauls to the SDK generation strategy, notably streamlining the process by removing complex configuration questions and enhancing type and module resolution. This package differentiates itself by offering a complete SDK generation pipeline that handles schema imports and type safety, aiming to provide a 'just works' experience for developers integrating with OpenAPI-driven APIs. Its release cadence is active, with minor and patch updates regularly addressing fixes and quality-of-life improvements, while major versions introduce breaking changes and significant architectural shifts.","language":"javascript","status":"active","version":"6.1.3","tags":["javascript","api","openapi","sdk","swagger","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install api","imports":["import { generate } from '@readme/api';","import type { APIOptions } from '@readme/api';","import * as api from '@readme/api';"]},{"cmd":"yarn add api","imports":[]},{"cmd":"pnpm add api","imports":[]}],"homepage":"https://readme.com","github":"https://github.com/readmeio/api","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/api","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/api/compatibility"}}