swagger-api/swagger-client
Javascript library to connect to swagger-enabled APIs via browser or nodejs observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14.0
- age_days: 5313
- days_rel: 20
- days_push: 14
- n_releases_24m: 39
Adoption not part of the score
2694 stars · 765 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Swagger Client is a JavaScript library for fetching, resolving, and executing requests against Swagger/OpenAPI-defined REST APIs from the browser or Node.js. It parses OpenAPI 2.0, 3.0, 3.1, and 3.2 documents and turns them into callable client operations.
Use cases
- call a REST API from an OpenAPI spec in JavaScript
- fetch and resolve a swagger/openapi document in node
- generate an api client from an openapi 3.1 definition
- execute swagger-defined operations in the browser
- validate and dereference an openapi spec programmatically
When to choose
- you have an OpenAPI/Swagger spec and want to call the API without hand-writing HTTP code
- you need to parse, resolve, or validate OpenAPI documents in JS
- you need a client that works in both browser and Node.js
When to avoid
- your API has no OpenAPI/Swagger definition
- you need a code-generating SDK for other languages (use Swagger Codegen)
- you only need interactive API docs UI (use Swagger UI)
Facets
library · maturity active
http-client parser sdk apis web-development developer-tools documentation browser cross-platform openapi swagger rest-client api-client spec-resolution nodejs javascript
4 sources
- readme: https://github.com/swagger-api/swagger-client · fetched 2026-08-28 · a0f58274f29b
- homepage: http://swagger.io · fetched 2026-08-29 · 4f1f57a23ce3
- site_page: https://swagger.io/docs · fetched 2026-08-29 · bc9e768d7742
- site_page: https://swagger.io/product/portal · fetched 2026-08-29 · a39114d3b402
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swagger-api/swagger-client | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="swagger-api/swagger-client")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem