{"library":"swagger-typescript-api","type":"library","category":null,"description":"The `swagger-typescript-api` package is a code generation utility designed to create API client code and comprehensive TypeScript types directly from an OpenAPI Specification (Swagger) document. It offers robust support for both OpenAPI 3.0 and 2.0 definitions, handling specifications provided in JSON or YAML formats. Developers can configure the generated client to utilize either the native Fetch API or the widely-used Axios library, catering to diverse project requirements and existing HTTP client preferences. Currently at version 13.6.10, the project demonstrates an active development lifecycle with consistent patch releases that address bugs and introduce minor features. Its key differentiators include generating fully type-safe API interfaces, reducing manual boilerplate, and enabling a streamlined development workflow for interacting with RESTful APIs in TypeScript-driven applications, ensuring better maintainability and fewer runtime errors.","language":"javascript","status":"active","version":"13.6.10","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install swagger-typescript-api","imports":["import { generateApi } from 'swagger-typescript-api';","npx swagger-typescript-api generate --path ./swagger.json","import type { IExtendedOptions } from 'swagger-typescript-api';"]},{"cmd":"yarn add swagger-typescript-api","imports":[]},{"cmd":"pnpm add swagger-typescript-api","imports":[]}],"homepage":null,"github":"https://github.com/acacode/swagger-typescript-api","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/swagger-typescript-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/swagger-typescript-api/compatibility"}}