{
  "commands": {
    "typegen": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Generate types from openapi definition",
      "examples": [
        "$ openapi typegen ./openapi.yml > openapi.d.ts"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "dereference": {
          "char": "D",
          "description": "resolve $ref pointers",
          "name": "dereference",
          "allowNo": false,
          "type": "boolean"
        },
        "bundle": {
          "char": "B",
          "description": "resolve remote $ref pointers",
          "name": "bundle",
          "allowNo": false,
          "type": "boolean"
        },
        "root": {
          "char": "R",
          "description": "override API root path",
          "name": "root",
          "hasDynamicHelp": false,
          "helpValue": "/",
          "multiple": false,
          "type": "option"
        },
        "header": {
          "char": "H",
          "description": "add request headers when calling remote urls",
          "name": "header",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "validate": {
          "char": "V",
          "description": "validate against openapi schema",
          "name": "validate",
          "allowNo": false,
          "type": "boolean"
        },
        "server": {
          "char": "S",
          "description": "override servers definition",
          "name": "server",
          "hasDynamicHelp": false,
          "helpValue": "http://localhost:9000",
          "multiple": true,
          "type": "option"
        },
        "inject": {
          "char": "I",
          "description": "inject JSON to definition with deep merge",
          "name": "inject",
          "hasDynamicHelp": false,
          "helpValue": "{\"info\":{\"version\":\"1.0.0\"}}",
          "multiple": true,
          "type": "option"
        },
        "exclude-ext": {
          "char": "E",
          "description": "Specify an openapi extension to exclude parts of the spec",
          "name": "exclude-ext",
          "hasDynamicHelp": false,
          "helpValue": "x-internal",
          "multiple": false,
          "type": "option"
        },
        "strip": {
          "char": "C",
          "description": "Strip optional metadata such as examples and descriptions from definition",
          "name": "strip",
          "hasDynamicHelp": false,
          "helpValue": "default|all|openapi_client_axios",
          "multiple": false,
          "type": "option"
        },
        "remove-unreferenced": {
          "char": "U",
          "description": "Remove unreferenced components, you can skip individual component being removed by setting x-openapicmd-keep to true",
          "name": "remove-unreferenced",
          "allowNo": true,
          "type": "boolean"
        },
        "banner": {
          "char": "b",
          "description": "include a banner comment at the top of the generated file",
          "name": "banner",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "type-aliases": {
          "char": "A",
          "description": "Generate module level type aliases for schema components defined in spec",
          "name": "type-aliases",
          "allowNo": true,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "typegen",
      "pluginAlias": "openapicmd-tmpfix",
      "pluginName": "openapicmd-tmpfix",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "typegen.js"
      ]
    }
  },
  "version": "3.0.1"
}