Swagger Codegen website screenshot

Swagger Codegen

Swagger Codegen is an open-source template-driven code generation tool that automatically generates client libraries, server stubs, and API documentation from OpenAPI Specification definitions. It supports 40+ client languages and 20+ server frameworks. Available as a CLI, Docker image, Maven/Gradle plugin, and online REST API at generator3.swagger.io.

Swagger Codegen publishes 4 APIs on the APIs.io network, including Clients API, Documentation API, Servers API, and 1 more. Tagged areas include Client Libraries, Code Generation, Open Source, OpenAPI, and SDK.

The Swagger Codegen catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.

Swagger Codegen’s developer surface includes developer portal, documentation, release notes, CLI, authentication, changelog, sandbox, and 39 more developer resources.

57.6/100 strong ▬ flat Agent 24/100 agent aware open core · Apache-2.0 Full breakdown ↓
scored 2026-10-04 · rubric v0.23.0
AccessFreemium
3 published contracts
Client LibrariesCode GenerationOpen SourceOpenAPISDKSDK Generation

What this lets a business do 1

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Developer Platform & API Ecosystem Management
BC-4270
Clients
POST /gen/clients/{language} GET /{type}/{version}

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-10-04 · rubric v0.23.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Open Source Surface applies to this provider. This product is open source and we read its repository directly, so Open Source Surface carries 10 points of the composite. It is scored from what the repository actually publishes — a security policy, a contribution guide, a release history, a code of conduct — read live from the provider rather than inferred from our own catalog pointers. This facet adds; nothing was taken away to make room for it. An open-source project is not excused from the commercial facets, because exemption would strip it of the points it does earn. If we have the wrong repository, or this product is not open source, say so on your provider repo and we will drop the facet rather than have you publish against it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 65 points between them, because both conditional facets apply and carry 35 points together. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 65% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/swagger-codegen: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 4

Individual APIs this provider publishes, each with its own machine-readable definition.

Swagger Codegen CLI

The Swagger Codegen command-line interface for generating code artifacts locally. Available as a JAR file and Docker image. Supports the same generators as the online API with a...

Swagger Codegen Clients API

The clients API from Swagger Codegen — 9 operation(s) for clients.

Swagger Codegen Documentation API

The documentation API from Swagger Codegen — 2 operation(s) for documentation.

Swagger Codegen Servers API

The servers API from Swagger Codegen — 4 operation(s) for servers.

Open Collections 6

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

Swagger Generator API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Swagger Codegen Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Swagger Codegen Context

0 classes · 27 properties

JSON-LD

Spectral Rules 2

Spectral governance rulesets for linting and validating these APIs.

Swagger Codegen API Rules

5 rules · 3 warnings 2 info

SPECTRAL

Swagger Codegen API Rules

9 rules · 4 errors 5 warnings

SPECTRAL

JSON Schema 1

Standalone JSON Schema definitions for this provider's data models.

Swagger Codegen Generation Request

6 properties

JSON SCHEMA

JSON Structure 1

JSON Structure definitions describing this provider's data shapes.

Swagger Codegen Structure

0 properties

JSON STRUCTURE

Examples 2

Example request and response payloads for these APIs.

Security Posture 4

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Swagger Codegen Domain Security

TLSv1.3 · DMARC

SECURITY

Swagger Codegen Vulnerability Disclosure

Hackerone · security.txt · contact published

SECURITY

Swagger Codegen Trust Center

SOC 2, ISO/IEC 27001, GDPR, CCPA, NIST CSF

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Swagger Codegen Agentic Access

10 operations · 3 acting

10 operations · 3 acting

AGENTIC

Resources

Get Started 3

Portal, sign-up, and the first successful call

Documentation 3

Reference material describing how the API behaves

Agent Surfaces 4

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 5

Pagination, idempotency, versioning, errors, and events

Build 8

SDKs, sample code, and the tooling you integrate with

Scroll for all 8

Access & Security 6

Authentication, authorization, and security posture

Operate 6

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 6

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: swagger-codegen
name: Swagger Codegen
description: Swagger Codegen is an open-source template-driven code generation tool that automatically generates client libraries,
  server stubs, and API documentation from OpenAPI Specification definitions. It supports 40+ client languages and 20+ server
  frameworks. Available as a CLI, Docker image, Maven/Gradle plugin, and online REST API at generator3.swagger.io.
type: Index
deliveryModel:
  model: open-core
  license: Apache-2.0
  license_evidence:
    repo: swagger-api/swagger-codegen
    spdx: Apache-2.0
    stars: 17787
  open_source: true
  commercial: true
  callable_host: true
  label: Open core · an OSS project plus a commercial hosted product
  confidence: medium
  source:
  - openapi
  - pricing
  - repository-license
  generated: '2026-09-25'
  method: derived
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/swagger-codegen.png
tags:
- Client Libraries
- Code Generation
- Open Source
- OpenAPI
- SDK
- SDK Generation
tags_raw:
- Client Libraries
- Code Generation
- Open Source
- OpenAPI
- SDK
- Open-Source
- SDK Generation
url: https://raw.githubusercontent.com/api-evangelist/swagger-codegen/refs/heads/main/apis.yml
created: '2026-03-16'
modified: '2026-08-06'
specificationVersion: '0.23'
apis:
- aid: swagger-codegen:swagger-codegen-cli
  name: Swagger Codegen CLI
  description: The Swagger Codegen command-line interface for generating code artifacts locally. Available as a JAR file and
    Docker image. Supports the same generators as the online API with additional template customization.
  humanURL: https://github.com/swagger-api/swagger-codegen#getting-started
  tags:
  - CLI
  - Code Generation
  - Command Line
  - Docker
  properties:
  - type: Documentation
    url: https://github.com/swagger-api/swagger-codegen/wiki
  - type: GettingStarted
    url: https://github.com/swagger-api/swagger-codegen#getting-started
  - type: Docker
    url: https://hub.docker.com/r/swaggerapi/swagger-codegen-cli-v3
  - type: Package
    url: https://mvnrepository.com/artifact/io.swagger.codegen.v3/swagger-codegen-cli
- aid: swagger-codegen:swagger-codegen-clients-api
  name: Swagger Codegen Clients API
  description: The clients API from Swagger Codegen — 9 operation(s) for clients.
  humanURL: https://github.com/swagger-api/swagger-codegen#getting-started
  baseURL: https://generator3.swagger.io/api
  tags:
  - Clients
  tags_raw:
  - clients
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-clients-api-openapi.yml
- aid: swagger-codegen:swagger-codegen-documentation-api
  name: Swagger Codegen Documentation API
  description: The documentation API from Swagger Codegen — 2 operation(s) for documentation.
  humanURL: https://github.com/swagger-api/swagger-codegen#getting-started
  baseURL: https://generator3.swagger.io/api
  tags:
  - Documentation
  tags_raw:
  - documentation
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-documentation-api-openapi.yml
- aid: swagger-codegen:swagger-codegen-servers-api
  name: Swagger Codegen Servers API
  description: The servers API from Swagger Codegen — 4 operation(s) for servers.
  humanURL: https://github.com/swagger-api/swagger-codegen#getting-started
  baseURL: https://generator3.swagger.io/api
  tags:
  - Servers
  tags_raw:
  - servers
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-servers-api-openapi.yml
common:
- type: CapabilityMap
  url: capabilities/swagger-codegen-capability-edges.yml
  name: Swagger Codegen Business Capability Map
- type: Overlay
  url: overlays/swagger-codegen-generation-api-overlay.yaml
- type: Overlay
  url: overlays/swagger-codegen-languages-api-overlay.yaml
- type: Overlay
  url: overlays/swagger-codegen-options-api-overlay.yaml
- type: Overlay
  url: overlays/swagger-codegen-utilities-api-overlay.yaml
- type: CodeOfConduct
  url: https://github.com/swagger-api/swagger-codegen/blob/master/CODE_OF_CONDUCT.md
- type: ContributionGuide
  url: https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md
- type: X-MCPServerCandidate
  url: mcp/swagger-codegen-mcp.yml
  note: 'Renamed from MCPServer 2026-09-03 (roadmap#247): the manifest self-describes as status: candidate — a tool list derived
    from the published API contracts, not an existing server. The scorer already read the manifest and reported mcp_server
    correctly; the MCPServer type was crediting the artifact-type surfaces with a server that does not exist.'
- type: AgenticAccess
  url: agentic-access/swagger-codegen-agentic-access.yml
- type: DomainSecurity
  url: security/swagger-codegen-domain-security.yml
- type: Portal
  url: https://swagger.io/tools/swagger-codegen/
- type: Documentation
  url: https://github.com/swagger-api/swagger-codegen/wiki
- type: Website
  url: https://swagger.io/
- type: GitHubOrganization
  url: https://github.com/swagger-api
- type: GitHubRepository
  url: https://github.com/swagger-api/swagger-codegen
- type: Issues
  url: https://github.com/swagger-api/swagger-codegen/issues
- type: ReleaseNotes
  url: https://github.com/swagger-api/swagger-codegen/releases
- type: License
  url: https://github.com/swagger-api/swagger-codegen/blob/master/LICENSE
- type: Docker
  url: https://hub.docker.com/r/swaggerapi/swagger-codegen-cli-v3
- type: Maven Plugin
  url: https://mvnrepository.com/artifact/io.swagger.codegen.v3/swagger-codegen-maven-plugin
- type: Gradle Plugin
  url: https://plugins.gradle.org/plugin/org.hidetake.swagger.generator
- type: Packages
  url: packages/swagger-codegen-packages.yml
- type: SDKs
  url: packages/swagger-codegen-packages.yml
- type: CLI
  url: cli/swagger-codegen-cli.yml
- type: Authentication
  url: authentication/swagger-codegen-authentication.yml
- type: Conventions
  url: conventions/swagger-codegen-conventions.yml
- type: ErrorCatalog
  url: errors/swagger-codegen-problem-types.yml
- type: Lifecycle
  url: lifecycle/swagger-codegen-lifecycle.yml
- type: Deprecation
  url: lifecycle/swagger-codegen-lifecycle.yml
- type: StatusPage
  url: https://status.smartbear.com/
- type: ChangeLog
  url: changelog/swagger-codegen-changelog.yml
- type: DataModel
  url: data-model/swagger-codegen-data-model.yml
- type: Conformance
  url: conformance/swagger-codegen-conformance.yml
- type: Compliance
  url: https://trust.smartbear.com/
- type: TrustCenter
  url: security/swagger-codegen-trust-center.yml
- type: VulnerabilityDisclosure
  url: security/swagger-codegen-vulnerability-disclosure.yml
- type: Security
  url: https://smartbear.com/security/
- type: Sandbox
  url: sandbox/swagger-codegen-sandbox.yml
- type: AgentSkill
  url: skills/_index.yml
- type: LLMsTxt
  url: llms/swagger-codegen-llms.txt
- type: APIReference
  url: https://generator3.swagger.io/
- type: GettingStarted
  url: https://github.com/swagger-api/swagger-codegen#getting-started
- type: Support
  url: https://swagger.io/support/
- type: Blog
  url: https://swagger.io/blog/
- type: TermsOfService
  url: https://smartbear.com/terms-of-use/
- type: PrivacyPolicy
  url: https://smartbear.com/privacy/
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-enrichment:
  date: '2026-08-06'
  status: enriched
  artifacts_added: 25
  pass: local-v1
x-parent: swagger
x-relationship: product

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/swagger-codegen"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/swagger-codegen/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/swagger-codegen/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.