{
  "commands": {
    "auth": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Authenticate with apis (writes to .openapiconfig)",
      "examples": [
        "$ openapi auth",
        "$ openapi auth --token eyJh...",
        "$ openapi auth --security ApiKeyAuth --apikey secret123",
        "$ openapi auth --security BasicAuth --username admin --password password"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "validate": {
          "char": "V",
          "description": "validate against openapi schema",
          "name": "validate",
          "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"
        },
        "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|openapi_backend",
          "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"
        },
        "security": {
          "char": "s",
          "description": "use security scheme",
          "name": "security",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "apikey": {
          "char": "k",
          "description": "set api key",
          "name": "apikey",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "token": {
          "char": "t",
          "description": "set bearer token",
          "name": "token",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "username": {
          "char": "u",
          "description": "set basic auth username",
          "name": "username",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "password": {
          "char": "P",
          "description": "set basic auth password",
          "name": "password",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "auth",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "auth.js"
      ]
    },
    "call": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Call API endpoints",
      "examples": [
        "$ openapi call -o getPets",
        "$ openapi call -o getPet -p id=1",
        "$ openapi call -o createPet -d '{ \"name\": \"Garfield\" }'"
      ],
      "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|openapi_backend",
          "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"
        },
        "interactive": {
          "description": "[default: true] enable CLI interactive mode",
          "name": "interactive",
          "allowNo": true,
          "type": "boolean"
        },
        "operation": {
          "char": "o",
          "description": "operationId",
          "name": "operation",
          "hasDynamicHelp": false,
          "helpValue": "operationId",
          "multiple": false,
          "type": "option"
        },
        "param": {
          "char": "p",
          "description": "parameter",
          "name": "param",
          "hasDynamicHelp": false,
          "helpValue": "key=value",
          "multiple": true,
          "type": "option"
        },
        "data": {
          "char": "d",
          "description": "request body",
          "name": "data",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "include": {
          "char": "i",
          "description": "include status code and response headers the output",
          "name": "include",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "char": "v",
          "description": "verbose mode",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "security": {
          "char": "s",
          "description": "use security scheme",
          "name": "security",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "apikey": {
          "char": "k",
          "description": "set api key",
          "name": "apikey",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "token": {
          "char": "t",
          "description": "set bearer token",
          "name": "token",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "username": {
          "char": "u",
          "description": "set basic auth username",
          "name": "username",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "password": {
          "char": "P",
          "description": "set basic auth password",
          "name": "password",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "call",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "call.js"
      ]
    },
    "info": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Display API information",
      "examples": [
        "$ openapi info https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml",
        "$ openapi info ./openapi.yml"
      ],
      "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|openapi_backend",
          "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"
        },
        "security": {
          "description": "list security schemes in document",
          "name": "security",
          "allowNo": false,
          "type": "boolean"
        },
        "operations": {
          "description": "list operations in document",
          "name": "operations",
          "allowNo": false,
          "type": "boolean"
        },
        "schemas": {
          "description": "list schemas in document",
          "name": "schemas",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "info",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "info.js"
      ]
    },
    "init": {
      "aliases": [],
      "args": {},
      "description": "Initialise a definition file from scratch",
      "examples": [
        "$ openapi init --title 'My API' > openapi.yml"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "title": {
          "char": "T",
          "description": "The title for the API",
          "name": "title",
          "default": "My API",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "description": {
          "char": "d",
          "description": "Description for the API",
          "name": "description",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "version": {
          "char": "v",
          "description": "Version of the API",
          "name": "version",
          "default": "0.0.1",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "terms": {
          "description": "A URL to the Terms of Service for the API.",
          "name": "terms",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "license": {
          "description": "The license for the API",
          "name": "license",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "mit",
            "apache2"
          ],
          "type": "option"
        },
        "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"
        },
        "format": {
          "char": "f",
          "description": "[default: yaml] output format",
          "exclusive": [
            "json",
            "yaml"
          ],
          "name": "format",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "json",
            "yaml",
            "yml"
          ],
          "type": "option"
        },
        "json": {
          "description": "format as json (short for -f json)",
          "exclusive": [
            "format",
            "yaml"
          ],
          "name": "json",
          "allowNo": false,
          "type": "boolean"
        },
        "yaml": {
          "description": "format as yaml (short for -f yaml)",
          "exclusive": [
            "format",
            "json"
          ],
          "name": "yaml",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "init",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "init.js"
      ]
    },
    "load": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition",
          "required": true
        }
      },
      "description": "Set the default definition file for a workspace (writes to .openapiconfig)",
      "examples": [
        "$ openapi load ./openapi.yml",
        "$ openapi load https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "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"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "load",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "load.js"
      ]
    },
    "mock": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Start a local mock API server",
      "examples": [
        "$ openapi mock ./openapi.yml",
        "$ openapi mock https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "port": {
          "char": "p",
          "description": "port",
          "name": "port",
          "default": 9000,
          "hasDynamicHelp": false,
          "helpValue": "9000",
          "multiple": false,
          "type": "option"
        },
        "logger": {
          "description": "[default: true] log requests",
          "name": "logger",
          "allowNo": true,
          "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"
        },
        "strip": {
          "char": "C",
          "description": "Strip optional metadata such as examples and descriptions from definition",
          "name": "strip",
          "hasDynamicHelp": false,
          "helpValue": "default|all|openapi_client_axios|openapi_backend",
          "multiple": false,
          "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"
        },
        "header": {
          "char": "H",
          "description": "add request headers when calling remote urls",
          "name": "header",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "root": {
          "char": "R",
          "description": "override API root path",
          "name": "root",
          "hasDynamicHelp": false,
          "helpValue": "/",
          "multiple": false,
          "type": "option"
        },
        "swagger-ui": {
          "char": "U",
          "description": "Swagger UI endpoint",
          "name": "swagger-ui",
          "hasDynamicHelp": false,
          "helpValue": "docs",
          "multiple": false,
          "type": "option"
        },
        "validate": {
          "description": "[default: true] validate requests according to schema",
          "name": "validate",
          "allowNo": true,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "mock",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "mock.js"
      ]
    },
    "read": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Read and manipulate definition files",
      "examples": [
        "$ openapi read https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml",
        "$ openapi read ./openapi.yml -f json > openapi.json"
      ],
      "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|openapi_backend",
          "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"
        },
        "format": {
          "char": "f",
          "description": "[default: yaml] output format",
          "exclusive": [
            "json",
            "yaml"
          ],
          "name": "format",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "json",
            "yaml",
            "yml"
          ],
          "type": "option"
        },
        "json": {
          "description": "format as json (short for -f json)",
          "exclusive": [
            "format",
            "yaml"
          ],
          "name": "json",
          "allowNo": false,
          "type": "boolean"
        },
        "yaml": {
          "description": "format as yaml (short for -f yaml)",
          "exclusive": [
            "format",
            "json"
          ],
          "name": "yaml",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "read",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "read.js"
      ]
    },
    "redoc": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Start or bundle a ReDoc instance",
      "examples": [
        "$ openapi redoc",
        "$ openapi redoc ./openapi.yml",
        "$ openapi redoc ./openapi.yml --bundle outDir"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "port": {
          "char": "p",
          "description": "port",
          "name": "port",
          "default": 9000,
          "hasDynamicHelp": false,
          "helpValue": "9000",
          "multiple": false,
          "type": "option"
        },
        "logger": {
          "description": "[default: true] log requests",
          "name": "logger",
          "allowNo": true,
          "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|openapi_backend",
          "multiple": false,
          "type": "option"
        },
        "header": {
          "char": "H",
          "description": "add request headers when calling remote urls",
          "name": "header",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "root": {
          "char": "R",
          "description": "override API root path",
          "name": "root",
          "hasDynamicHelp": false,
          "helpValue": "/",
          "multiple": false,
          "type": "option"
        },
        "bundle": {
          "char": "B",
          "description": "bundle a static site to directory",
          "name": "bundle",
          "hasDynamicHelp": false,
          "helpValue": "outDir",
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "redoc",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "redoc.js"
      ]
    },
    "swagger-editor": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Start a Swagger Editor instance",
      "examples": [
        "$ openapi swagger-editor",
        "$ openapi swagger-editor ./openapi.yml"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "port": {
          "char": "p",
          "description": "port",
          "name": "port",
          "default": 9000,
          "hasDynamicHelp": false,
          "helpValue": "9000",
          "multiple": false,
          "type": "option"
        },
        "logger": {
          "description": "[default: true] log requests",
          "name": "logger",
          "allowNo": true,
          "type": "boolean"
        },
        "header": {
          "char": "H",
          "description": "add request headers when calling remote urls",
          "name": "header",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "swagger-editor",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "swagger-editor.js"
      ]
    },
    "swagger-ui": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Start or bundle a Swagger UI instance",
      "examples": [
        "$ openapi swagger-ui",
        "$ openapi swagger-ui ./openapi.yml",
        "$ openapi swagger-ui ./openapi.yml --bundle outDir"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        },
        "port": {
          "char": "p",
          "description": "port",
          "name": "port",
          "default": 9000,
          "hasDynamicHelp": false,
          "helpValue": "9000",
          "multiple": false,
          "type": "option"
        },
        "logger": {
          "description": "[default: true] log requests",
          "name": "logger",
          "allowNo": true,
          "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"
        },
        "strip": {
          "char": "C",
          "description": "Strip optional metadata such as examples and descriptions from definition",
          "name": "strip",
          "hasDynamicHelp": false,
          "helpValue": "default|all|openapi_client_axios|openapi_backend",
          "multiple": false,
          "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"
        },
        "expand": {
          "description": "[default: list] default expansion setting for the operations and tags",
          "name": "expand",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "full",
            "list",
            "none"
          ],
          "type": "option"
        },
        "operationids": {
          "description": "[default: true] display operationIds",
          "name": "operationids",
          "allowNo": true,
          "type": "boolean"
        },
        "filter": {
          "description": "[default: true] enable filtering by tag",
          "name": "filter",
          "allowNo": true,
          "type": "boolean"
        },
        "deeplinks": {
          "description": "[default: true] allow deep linking",
          "name": "deeplinks",
          "allowNo": true,
          "type": "boolean"
        },
        "withcredentials": {
          "description": "[default: true] send cookies in \"try it now\"",
          "name": "withcredentials",
          "allowNo": true,
          "type": "boolean"
        },
        "requestduration": {
          "description": "[default: true] display request durations in \"try it now\"",
          "name": "requestduration",
          "allowNo": true,
          "type": "boolean"
        },
        "header": {
          "char": "H",
          "description": "add request headers when calling remote urls",
          "name": "header",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "root": {
          "char": "R",
          "description": "override API root path",
          "name": "root",
          "hasDynamicHelp": false,
          "helpValue": "/",
          "multiple": false,
          "type": "option"
        },
        "bundle": {
          "char": "B",
          "description": "bundle a static site to directory",
          "name": "bundle",
          "hasDynamicHelp": false,
          "helpValue": "outDir",
          "multiple": false,
          "type": "option"
        },
        "proxy": {
          "description": "set up a proxy for the api to avoid CORS issues",
          "exclusive": [
            "bundle"
          ],
          "name": "proxy",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "swagger-ui",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "swagger-ui.js"
      ]
    },
    "swagger2openapi": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Convert Swagger 2.0 definitions to OpenAPI 3.0.x",
      "examples": [
        "$ openapi swagger2openapi --yaml ./swagger.json > openapi.yml"
      ],
      "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|openapi_backend",
          "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"
        },
        "format": {
          "char": "f",
          "description": "[default: yaml] output format",
          "exclusive": [
            "json",
            "yaml"
          ],
          "name": "format",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "json",
            "yaml",
            "yml"
          ],
          "type": "option"
        },
        "json": {
          "description": "format as json (short for -f json)",
          "exclusive": [
            "format",
            "yaml"
          ],
          "name": "json",
          "allowNo": false,
          "type": "boolean"
        },
        "yaml": {
          "description": "format as yaml (short for -f yaml)",
          "exclusive": [
            "format",
            "json"
          ],
          "name": "yaml",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "swagger2openapi",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "swagger2openapi.js"
      ]
    },
    "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|openapi_backend",
          "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"
        },
        "client": {
          "description": "Generate types for openapi-client-axios (default)",
          "name": "client",
          "allowNo": false,
          "type": "boolean"
        },
        "backend": {
          "description": "Generate types for openapi-backend",
          "name": "backend",
          "allowNo": false,
          "type": "boolean"
        },
        "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",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "typegen.js"
      ]
    },
    "unload": {
      "aliases": [],
      "args": {},
      "description": "Unset the default definition file for a workspace (writes to .openapiconfig)",
      "examples": [
        "$ openapi unload"
      ],
      "flags": {
        "help": {
          "char": "h",
          "description": "Show CLI help.",
          "name": "help",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "unload",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "unload.js"
      ]
    },
    "test:add": {
      "aliases": [],
      "args": {
        "definition": {
          "description": "input definition file",
          "name": "definition"
        }
      },
      "description": "Add automated tests for API operations",
      "examples": [
        "$ openapi test add",
        "$ openapi test add -o getPet --checks all"
      ],
      "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|openapi_backend",
          "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"
        },
        "auto": {
          "description": "auto generate tests for all operations",
          "name": "auto",
          "allowNo": false,
          "type": "boolean"
        },
        "operation": {
          "char": "o",
          "description": "operationId",
          "name": "operation",
          "hasDynamicHelp": false,
          "helpValue": "operationId",
          "multiple": false,
          "type": "option"
        },
        "name": {
          "char": "n",
          "description": "test name",
          "name": "name",
          "hasDynamicHelp": false,
          "helpValue": "my test",
          "multiple": false,
          "type": "option"
        },
        "checks": {
          "char": "c",
          "description": "checks to include in test",
          "name": "checks",
          "hasDynamicHelp": false,
          "helpValue": "2XXStatus",
          "multiple": true,
          "options": [
            "all",
            "default",
            "Success2XX",
            "ValidResponseBody"
          ],
          "type": "option"
        },
        "param": {
          "char": "p",
          "description": "parameter",
          "name": "param",
          "hasDynamicHelp": false,
          "helpValue": "key=value",
          "multiple": true,
          "type": "option"
        },
        "data": {
          "char": "d",
          "description": "request body",
          "name": "data",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "verbose": {
          "char": "v",
          "description": "verbose mode",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "interactive": {
          "description": "[default: true] enable CLI interactive mode",
          "name": "interactive",
          "allowNo": true,
          "type": "boolean"
        },
        "security": {
          "char": "s",
          "description": "use security scheme",
          "name": "security",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "apikey": {
          "char": "k",
          "description": "set api key",
          "name": "apikey",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "token": {
          "char": "t",
          "description": "set bearer token",
          "name": "token",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "username": {
          "char": "u",
          "description": "set basic auth username",
          "name": "username",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "password": {
          "char": "P",
          "description": "set basic auth password",
          "name": "password",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "test:add",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "test",
        "add.js"
      ]
    },
    "test": {
      "aliases": [],
      "args": {},
      "description": "Run automated tests against APIs",
      "examples": [
        "$ openapi test",
        "$ openapi test -o getPets"
      ],
      "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|openapi_backend",
          "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"
        },
        "interactive": {
          "description": "[default: true] enable CLI interactive mode",
          "name": "interactive",
          "allowNo": true,
          "type": "boolean"
        },
        "operation": {
          "char": "o",
          "description": "filter by operationId",
          "name": "operation",
          "hasDynamicHelp": false,
          "helpValue": "operationId",
          "multiple": true,
          "type": "option"
        },
        "verbose": {
          "char": "v",
          "description": "verbose mode",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "security": {
          "char": "s",
          "description": "use security scheme",
          "name": "security",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "apikey": {
          "char": "k",
          "description": "set api key",
          "name": "apikey",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "token": {
          "char": "t",
          "description": "set bearer token",
          "name": "token",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "username": {
          "char": "u",
          "description": "set basic auth username",
          "name": "username",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "password": {
          "char": "P",
          "description": "set basic auth password",
          "name": "password",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "test",
      "pluginAlias": "openapicmd",
      "pluginName": "openapicmd",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "test",
        "index.js"
      ]
    }
  },
  "version": "2.9.0"
}