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 API contracts indexed on the APIs.io network, including Clients API, Documentation API, Servers API, and 1 more. Tagged areas include Client Library, 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 46 more developer resources.

56.5/100 strong ▬ flat Agent 23/100 agent aware open core · Apache-2.0 Full breakdown ↓
scored 2026-11-13 · rubric v0.28.0 · Show this score on your site →
AccessFreemiumOpen⚡ Free to try
3 published contracts 3 Agent Skills
Client LibraryCode 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-11-13 · rubric v0.28.0
Regulatory Posture applies to this provider. Its tags matched the Education & Research 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/.
Show this score on your site. Kin Score badge preview for Swagger Codegen It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/swagger-codegen/"><img src="https://apis.io/badge/swagger-codegen/card.svg" alt="Swagger Codegen on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
8 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Swagger Codegen · a person reads this and replies by email.
or email info@apis.io
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 the provider profile at artifacts.apis.io/swagger-codegen/apis.yml: open an issue on github.com/api-evangelist/swagger-codegen to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Standards implemented 1

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

measured — observed by APIs.io (published)

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 5

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

Swagger Generator API

OPEN COLLECTION

Agent Skills 3

Packaged agent skills for driving this provider's APIs from an AI assistant.

Swagger Codegen API pricing

Not yet checked against Swagger Codegen's own pricing page. Compiled by API Evangelist on 2026-05-04; confirm before you rely on a figure. A free plan or tier is listed.

PlanPrice
Free freemium Free
Professional paid Free
Enterprise enterprise —

Plan details, limits and sources →

Rate limits

Compiled by API Evangelist, not yet checked against Swagger Codegen's documentation. All 5 limits →

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

Terms of Service 1

What its API terms permit and prohibit, quoted from its own page.

Swagger Codegen

10 quoted statements, read from Swagger Codegen's own page on 2026-11-10.

TERMS

Privacy & Data 1

Its role, the data it processes, retention and transfers, quoted from its own privacy page.

Swagger Codegen

21 quoted statements, read from Swagger Codegen's own page on 2026-11-10.

PRIVACY

Eligibility 1

Who may sign up and where, quoted from its own terms.

Swagger Codegen

3 quoted statements, read from Swagger Codegen's own page on 2026-11-10.

ELIGIBILITY

Data License 1

How its data and outputs may be reused, quoted from its own terms.

Swagger Codegen

2 quoted statements, read from Swagger Codegen's own page on 2026-11-10.

LICENSE

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. Counts are the severity each rule declares, not results of running them.

Swagger Codegen — jsonschema rules

5 rules · 3 warn-severity 2 info-severity

SPECTRAL

Swagger Codegen API Rules

9 rules · 4 error-severity 5 warn-severity

SPECTRAL

OpenAPI Overlays 4

Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.

Swagger Codegen Generation Api Overlay

4 actions · update · swagger-codegen-generation-api-openapi.yml

DERIVED

Swagger Codegen Languages Api Overlay

4 actions · update · swagger-codegen-languages-api-openapi.yml

DERIVED

Swagger Codegen Options Api Overlay

4 actions · update · swagger-codegen-options-api-openapi.yml

DERIVED

Swagger Codegen Utilities Api Overlay

4 actions · update · swagger-codegen-utilities-api-openapi.yml

DERIVED

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 (API Evangelist recommendations) 1

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

Swagger Codegen Agentic Access

25 operations · 8 acting

25 operations · 8 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 7

Status, limits, changes, and where to get help

Scroll for all 7

Commercial 7

Pricing, plans, and the legal terms of use

Scroll for all 7

Company 2

The organization behind the API

Other 8

Properties that don't map to a standard resource type

Scroll for all 8

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: open
  trial: false
  try_now: true
  public: true
  gated: none
  gated_source:
  - onboarding
  label: Freemium · Open access
  confidence: high
  source:
  - plans
  - authentication
  - security
  - sandbox
  generated: '2026-11-13'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/swagger-codegen.png
x-docs-platform: swagger-ui
x-docs-platform-confidence: medium
x-docs-platform-checked: 2026-10-17
tags:
- Client Library
- 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: Plans
  url: plans/swagger-codegen-plans-pricing.yml
- type: RateLimits
  url: rate-limits/swagger-codegen-rate-limits.yml
- type: FinOps
  url: finops/swagger-codegen-finops.yml
- 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/
- type: UsageTerms
  url: terms/swagger-codegen-terms-of-service.yml
- type: DataProcessing
  url: privacy/swagger-codegen-privacy-policy.yml
- type: Eligibility
  url: eligibility/swagger-codegen-eligibility.yml
- type: DataLicense
  url: data-license/swagger-codegen-data-license.yml
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

Swagger Codegen API — frequently asked questions

Does Swagger Codegen have an API?

Yes. APIs.io lists 4 APIs from Swagger Codegen, including Swagger Codegen CLI, Swagger Codegen Clients API and Swagger Codegen Documentation API, and 1 more.

Is there an OpenAPI specification for the Swagger Codegen API?

Yes. APIs.io indexes 3 OpenAPI specifications for Swagger Codegen, each linked for download from this page.

How do I authenticate with the Swagger Codegen API?

Swagger Codegen uses bearer-token authentication (0 schemes). The details are profiled on APIs.io as Swagger Codegen Authentication.

How much does the Swagger Codegen API cost?

APIs.io lists 3 pricing plans for Swagger Codegen, with each plan's price, limits and inclusions under Pricing on this page.

Is the Swagger Codegen API ready for AI agents?

Swagger Codegen has a Kin Score of 56.5 out of 100 (strong) and an Agent Readiness score of 22.5 (agent-aware), scored by API Evangelist on 2026-11-13.

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"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.