Swagger Codegen · JSON Structure
Swagger Codegen Structure
The structure of a Swagger Generator API GenerationRequest object.
Type:
Properties: 0
Client LibrariesCode GenerationOpen-SourceOpenAPISDK
Swagger Codegen Generation Request Structure is a JSON Structure definition published by Swagger Codegen.
Meta-schema:
JSON Structure
{
"name": "Swagger Codegen Generation Request Structure",
"description": "The structure of a Swagger Generator API GenerationRequest object.",
"created": "2026-05-02",
"modified": "2026-05-02",
"structure": {
"root": {
"type": "object",
"fields": [
{ "name": "lang", "type": "string", "required": true, "description": "Generator language identifier" },
{ "name": "type", "type": "string (enum: CLIENT|SERVER|DOCUMENTATION|CONFIG)", "required": false },
{ "name": "codegenVersion", "type": "string (enum: V2|V3)", "required": false, "default": "V3" },
{ "name": "spec", "type": "object (OpenAPI spec)", "required": false },
{ "name": "specURL", "type": "string (uri)", "required": false },
{
"name": "options",
"type": "object",
"required": false,
"fields": [
{ "name": "packageName", "type": "string", "required": false },
{ "name": "packageVersion", "type": "string", "required": false },
{ "name": "groupId", "type": "string", "required": false },
{ "name": "artifactId", "type": "string", "required": false },
{ "name": "modelPackage", "type": "string", "required": false },
{ "name": "apiPackage", "type": "string", "required": false },
{ "name": "npmName", "type": "string", "required": false },
{ "name": "npmVersion", "type": "string", "required": false },
{ "name": "hideGenerationTimestamp", "type": "boolean", "required": false }
]
}
]
}
}
}
Work with this as data
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.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.
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/swagger-codegen-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
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.