{"library":"openapi-fetch","type":"library","category":null,"description":"Type-safe fetch client for OpenAPI schemas, version 0.17.0. Maintained actively on GitHub (openapi-ts/openapi-typescript) with frequent releases. Weighs 6 kB (minified) and has virtually zero runtime overhead. Differs from alternatives like axios or openapi-typescript-codegen by providing automatic type inference from generated TypeScript types, eliminating manual type assertions and reducing bundle size. Works with any framework or vanilla JS, and integrates with openapi-typescript for schema-to-TypeScript generation. Supports GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE methods. ESM-only; no CJS support.","language":"javascript","status":"active","version":"0.17.0","tags":["javascript","openapi","swagger","rest","api","oapi_3","oapi_3_1","typescript","fetch"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install openapi-fetch","imports":["import createClient from \"openapi-fetch\";","import createClient from \"openapi-fetch\";","import type { paths } from \"./my-schema\";"]},{"cmd":"yarn add openapi-fetch","imports":[]},{"cmd":"pnpm add openapi-fetch","imports":[]}],"homepage":"https://openapi-ts.dev","github":"https://github.com/openapi-ts/openapi-typescript","docs":null,"changelog":null,"pypi":null,"npm":"openapi-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}