welovecoding/swaxios
A Swagger API client generator based on axios and written in TypeScript. 🌊
This project helps TypeScript developers quickly generate client-side code for interacting with an existing API. You provide a Swagger (OpenAPI v2) specification file or URL, and it outputs a complete, type-safe API client that uses the axios library. This is for front-end or back-end developers building web applications or Node.js services.
Available on npm.
Use this if you are a TypeScript developer needing to generate an API client from a Swagger (OpenAPI v2) specification that works seamlessly in both browser and Node.js (v16+) environments using axios.
Not ideal if your API uses an OpenAPI v3 specification, in which case you should look at alternative generators like Swagger Codegen's `typescript-axios` or `openapi-typescript`.
Stars
17
Forks
—
Language
TypeScript
License
—
Category
Last pushed
Mar 01, 2026
Commits (30d)
0
Dependencies
10
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/welovecoding/swaxios"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
yhnavein/swaggie
Tool for generating TypeScript client code for given Swagger API endpoints
grafana/openapi-to-k6
A CLI tool to convert an OpenAPI schema to a TypeScript client to use with k6.
reagento/descanso
A modern and simple way to create clients for REST like APIs
mikestead/openapi-client
Generate ES6 or Typescript service integration code from an OpenAPI 2 spec
verizonconnect/ngx-form-generator
Generate Angular ReactiveForms from OpenAPI documents