fetch-openapi

JSON →
library 12.1.3 ·javascript
verified Jun 7, 2026

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.