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 Generation API, Languages API, Options 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, and 10 more developer resources.

47.8/100 developing ▬ flat Agent 25/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessFreemium
5 APIs
Client LibrariesCode GenerationOpen SourceOpenAPISDK

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 47.8/100 · developing
Contract Quality 16.1 / 25
Developer Ergonomics 3.5 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 6.8 / 13
Governance 7.0 / 12
Discoverability 6.5 / 10
Agent readiness — 25/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. 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. Want it done for you? Prioritized profiling — $2,500 →

APIs 5

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 Generation API

Code generation endpoints for clients, servers, and documentation

Swagger Codegen Languages API

Discover available generator languages and types

Swagger Codegen Options API

Retrieve per-language configuration options

Swagger Codegen Utilities API

Template rendering and intermediate model generation

Open Collections 1

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

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 1

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

Swagger Codegen Domain Security

TLSv1.3 · DMARC

SECURITY

Agentic Access 1

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

Swagger Codegen Agentic Access

7 operations · 3 acting

7 operations · 3 acting

AGENTIC

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 4

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Other 1

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
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
url: https://raw.githubusercontent.com/api-evangelist/swagger-codegen/refs/heads/main/apis.yml
created: '2026-03-16'
modified: '2026-05-19'
specificationVersion: '0.19'
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-generation-api
  name: Swagger Codegen Generation API
  description: Code generation endpoints for clients, servers, and documentation
  humanURL: https://generator3.swagger.io/
  baseURL: https://generator3.swagger.io
  tags:
  - Generation
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-generation-api-openapi.yml
  - type: Documentation
    url: https://github.com/swagger-api/swagger-codegen/wiki
  - type: OpenAPI Source
    url: https://generator3.swagger.io/openapi.json
  - type: GitHubRepository
    url: https://github.com/swagger-api/swagger-codegen
- aid: swagger-codegen:swagger-codegen-languages-api
  name: Swagger Codegen Languages API
  description: Discover available generator languages and types
  humanURL: https://generator3.swagger.io/
  baseURL: https://generator3.swagger.io
  tags:
  - Languages
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-languages-api-openapi.yml
  - type: Documentation
    url: https://github.com/swagger-api/swagger-codegen/wiki
  - type: OpenAPI Source
    url: https://generator3.swagger.io/openapi.json
  - type: GitHubRepository
    url: https://github.com/swagger-api/swagger-codegen
- aid: swagger-codegen:swagger-codegen-options-api
  name: Swagger Codegen Options API
  description: Retrieve per-language configuration options
  humanURL: https://generator3.swagger.io/
  baseURL: https://generator3.swagger.io
  tags:
  - Options
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-options-api-openapi.yml
  - type: Documentation
    url: https://github.com/swagger-api/swagger-codegen/wiki
  - type: OpenAPI Source
    url: https://generator3.swagger.io/openapi.json
  - type: GitHubRepository
    url: https://github.com/swagger-api/swagger-codegen
- aid: swagger-codegen:swagger-codegen-utilities-api
  name: Swagger Codegen Utilities API
  description: Template rendering and intermediate model generation
  humanURL: https://generator3.swagger.io/
  baseURL: https://generator3.swagger.io
  tags:
  - Utilities
  properties:
  - type: OpenAPI
    url: openapi/swagger-codegen-utilities-api-openapi.yml
  - type: Documentation
    url: https://github.com/swagger-api/swagger-codegen/wiki
  - type: OpenAPI Source
    url: https://generator3.swagger.io/openapi.json
  - type: GitHubRepository
    url: https://github.com/swagger-api/swagger-codegen
common:
- 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
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com