Ross ROSS = Recommend OSS · open-source software intelligence for agents

swagger-api/swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. observed · 2026-08-28

github.com/swagger-api/swagger-codegen · homepage · Mustache · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 98
  • Release rhythm 96
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 14.5
  • age_days: 5537
  • days_rel: 29
  • days_push: 15
  • n_releases_24m: 29

Full methodology

Adoption not part of the score

17780 stars · 5966 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Swagger Codegen is a template-driven code generator that parses OpenAPI/Swagger definitions to produce API client SDKs, server stubs, and documentation in dozens of languages. It is the 2.X/3.X line of the Swagger code generation toolchain, maintained by SmartBear's open source project.

Use cases

  • generate a Java or Python client SDK from an OpenAPI spec
  • scaffold server stubs for a REST API from a Swagger definition
  • produce API documentation from an OpenAPI 2.0 file
  • generate TypeScript or Go API clients for a microservice
  • bootstrap backend implementations in Spring, Flask, or Go from an API contract
  • automate SDK generation in a CI pipeline from an OpenAPI definition

When to choose

  • you need client SDKs or server stubs in many languages from an OpenAPI/Swagger 2.0 spec
  • you want a mature, widely adopted generator with extensive language support
  • you need customizable Mustache templates for code generation

When to avoid

  • your spec is OpenAPI 3.1, which is better supported by OpenAPI Generator
  • you only need interactive API documentation rather than generated code
  • you want actively evolving features - the project is in maintenance mode with successors available

Facets

cli-tool · maturity maintenance

sdk api-framework documentation templating developer-tools apis web-development developer-tools documentation cross-platform cli jvm openapi swagger code-generation client-sdk server-stubs mustache-templates rest-api

4 sources

Member repositories

RepositoryRoleHealth v2
swagger-api/swagger-codegenmain98

For agents

markdown · JSON · MCP: product_card(name="swagger-api/swagger-codegen")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem