{"library":"fetch-openapi","type":"library","category":null,"description":"Client SDK generator for OpenAPI (Swagger) 2.0 documents, producing JavaScript code that uses the Fetch API. Currently at version 12.1.3. It generates a client with methods for each operationId, supporting Node.js and ES6 presets. Unlike other OpenAPI generators, it outputs lightweight, dependency-free ES6 code instead of complex wrappers. The package also includes a CLI tool for quick generation. It has been around since 2016, with stable maintenance releases.","language":"javascript","status":"active","version":"12.1.3","tags":["javascript","fetch","openapi","generator","sdk"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-openapi","imports":["const fetchOpenapi = require('fetch-openapi')","npx fetch-openapi --api-doc-url ... --output-file-path ... --preset es6","const { createApi } = require('./generated-client.js')"]},{"cmd":"yarn add fetch-openapi","imports":[]},{"cmd":"pnpm add fetch-openapi","imports":[]}],"homepage":"https://github.com/kogosoftwarellc/open-api/tree/master/packages/fetch-openapi#readme","github":"https://github.com/kogosoftwarellc/open-api/tree/master/packages/fetch-openapi","docs":null,"changelog":null,"pypi":null,"npm":"fetch-openapi","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}