Swagger Codegen Options API

Retrieve per-language configuration options

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/swagger-codegen-options-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

Get an API key

Free tier, no email required.

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

OpenAPI Specification

swagger-codegen-options-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swagger Generator Generation Options API
  description: The Swagger Generator online REST API at generator3.swagger.io provides endpoints for generating client SDKs, server stubs, and documentation artifacts from OpenAPI V2 and V3 specifications. Supports 40+ client languages and 20+ server frameworks with configurable generation options.
  version: 3.0.75
  contact:
    name: Swagger
    url: https://swagger.io/tools/swagger-codegen/
  license:
    name: Apache 2.0
    url: https://github.com/swagger-api/swagger-codegen/blob/master/LICENSE
  x-logo:
    url: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
servers:
- url: https://generator3.swagger.io/api
  description: Swagger Generator V3 online service (base path /api)
tags:
- name: Options
  description: Retrieve per-language configuration options
paths:
  /options:
    get:
      operationId: listOptions
      summary: List Generator Options
      description: Returns the configurable options available for a specific generator language and OpenAPI version. Options control naming, packaging, type mappings, and other generation behaviors.
      tags:
      - Options
      parameters:
      - name: language
        in: query
        required: false
        schema:
          type: string
        description: Generator language identifier (e.g., python, java, typescript-axios)
      - name: version
        in: query
        required: false
        schema:
          type: string
          enum:
          - V2
          - V3
          default: V3
        description: OpenAPI version (defaults to V3)
      responses:
        '200':
          description: Map of option keys to CliOption descriptors
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/CliOption'
      x-upstream-summary: Returns options for a given language and version (defaults to V3)
components:
  schemas:
    CliOption:
      type: object
      description: Metadata describing a single configurable generator option
      properties:
        optionName:
          type: string
          description: The option key name
        description:
          type: string
          description: Human-readable description of what this option controls
        type:
          type: string
          enum:
          - string
          - boolean
          - integer
          description: Option value type
        default:
          type: string
          description: Default value for this option
        enum:
          type: object
          description: Allowed enum values and their descriptions (if applicable)
          additionalProperties:
            type: string