[{"data":1,"prerenderedAt":2511,"buildId":2512},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics":3},{"id":4,"title":5,"body":6,"description":2493,"extension":2494,"frontmatter":2495,"heading":2500,"meta":2502,"navigation":2504,"order":2498,"path":2505,"seo":2506,"sitemap":2507,"source":2508,"stem":2509,"__hash__":2510},"docs\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics.md","Diagnostics - Kubb error codes and fixes",{"type":7,"value":8,"toc":2430},"minimark",[9,13,110,113,161,172,179,184,211,225,229,233,236,247,251,257,269,273,276,286,290,300,314,318,328,333,337,352,365,369,383,388,392,403,408,412,415,420,424,434,445,449,458,463,467,473,481,485,493,498,501,504,517,521,533,541,545,555,564,568,574,591,595,607,618,622,630,635,639,649,657,661,712,739,743,796,805,808,811,818,822,828,847,850,856,867,871,874,886,890,900,905,909,914,928,931,934,946,950,954,963,971,975,991,999,1003,1035,1042,1046,1049,1066,1070,1088,1099,1103,1115,1128,1132,1138,1143,1147,1153,1161,1165,1172,1181,1184,1188,1195,1200,1204,1217,1222,1226,1233,1237,1241,1248,1253,1256,1262,1699,1875,1888,1892,1895,1904,1930,1933,1936,2335,2339,2350,2420],[10,11,12],"p",{},"A Kubb diagnostic tells you what went wrong, where in the spec, and how to fix it. Its stable code links to its entry here.",[14,15,16,52],"code-group",{},[17,18,23],"pre",{"language":19,"filename":20,"code":21,"class":22},"text","Terminal"," ✖ Could not find a definition for #\u002Fcomponents\u002Fschemas\u002FOwner. KUBB_REF_NOT_FOUND\n at petStore.yaml:336:17\n fix Add the schema under `components.schemas`, or fix the `$ref`. Run `kubb validate` to check the spec.\n ↳ Learn more kubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-ref-not-found","highlights",[24,25,27,36,37,36,42,36,47],"code",{"class":26},"language-text",[28,29,32],"span",{"class":30,"style":31},"line","display: inline",[28,33,35],{"style":34},"color:#24292e;--hls-dark:#e1e4e8"," ✖ Could not find a definition for #\u002Fcomponents\u002Fschemas\u002FOwner. KUBB_REF_NOT_FOUND","\n",[28,38,39],{"class":30,"style":31},[28,40,41],{"style":34}," at petStore.yaml:336:17",[28,43,44],{"class":30,"style":31},[28,45,46],{"style":34}," fix Add the schema under `components.schemas`, or fix the `$ref`. Run `kubb validate` to check the spec.",[28,48,49],{"class":30,"style":31},[28,50,51],{"style":34}," ↳ Learn more kubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-ref-not-found",[17,53,56],{"language":19,"filename":54,"code":55,"class":22},"Agent","error KUBB_REF_NOT_FOUND: Could not find a definition for #\u002Fcomponents\u002Fschemas\u002FOwner.\n at: petStore.yaml:336:17 (#\u002Fcomponents\u002Fschemas\u002FOwner)\n why: A `$ref` could not be resolved in the source document.\n fix: Add the schema under `components.schemas`, or fix the `$ref`. Run `kubb validate` to check the spec.\n docs: https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-ref-not-found\n✗ Generation failed 202ms\n\n 28 files generated\n Plugins 3 passed\n Issues 1 error\n Target .\u002Fsrc\u002Fgen",[24,57,58,36,63,36,68,36,73,36,78,36,83,36,88,36,90,36,95,36,100,36,105],{"class":26},[28,59,60],{"class":30,"style":31},[28,61,62],{"style":34},"error KUBB_REF_NOT_FOUND: Could not find a definition for #\u002Fcomponents\u002Fschemas\u002FOwner.",[28,64,65],{"class":30,"style":31},[28,66,67],{"style":34}," at: petStore.yaml:336:17 (#\u002Fcomponents\u002Fschemas\u002FOwner)",[28,69,70],{"class":30,"style":31},[28,71,72],{"style":34}," why: A `$ref` could not be resolved in the source document.",[28,74,75],{"class":30,"style":31},[28,76,77],{"style":34}," fix: Add the schema under `components.schemas`, or fix the `$ref`. Run `kubb validate` to check the spec.",[28,79,80],{"class":30,"style":31},[28,81,82],{"style":34}," docs: https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-ref-not-found",[28,84,85],{"class":30,"style":31},[28,86,87],{"style":34},"✗ Generation failed 202ms",[28,89],{"class":30,"style":31},[28,91,92],{"class":30,"style":31},[28,93,94],{"style":34}," 28 files generated",[28,96,97],{"class":30,"style":31},[28,98,99],{"style":34}," Plugins 3 passed",[28,101,102],{"class":30,"style":31},[28,103,104],{"style":34}," Issues 1 error",[28,106,107],{"class":30,"style":31},[28,108,109],{"style":34}," Target .\u002Fsrc\u002Fgen",[10,111,112],{},"A terminal gets the first format. An AI agent, CI, or a pipe gets the second, with the reporting plugin in brackets after the code.",[114,115,116,129],"table",{},[117,118,119],"thead",{},[120,121,122,126],"tr",{},[123,124,125],"th",{},"Severity",[123,127,128],{},"Effect",[130,131,132,145,153],"tbody",{},[120,133,134,138],{},[135,136,137],"td",{},"Error",[135,139,140,141,144],{},"Fails the run. ",[24,142,143],{},"kubb generate"," exits with code 1.",[120,146,147,150],{},[135,148,149],{},"Warning",[135,151,152],{},"Reported. The run continues.",[120,154,155,158],{},[135,156,157],{},"Info",[135,159,160],{},"Advisory. Never fails the run.",[10,162,163,164,171],{},"To hide a warning or info code, list it in ",[165,166,168],"a",{"href":167},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#diagnostics",[24,169,170],{},"diagnostics.ignore",". Errors cannot be hidden.",[10,173,174,178],{},[165,175,177],{"href":176},"#diagnostic-details","Diagnostic details"," covers rarer cases per code.",[180,181,183],"h2",{"id":182},"crashes","Crashes",[10,185,186,189,190,189,193,189,196,199,200,203,204,199,207,210],{},[24,187,188],{},"KUBB_ADAPTER_FAILED",", ",[24,191,192],{},"KUBB_PARSER_FAILED",[24,194,195],{},"KUBB_PLUGIN_FAILED",[24,197,198],{},"KUBB_INTERNAL_ERROR",", and ",[24,201,202],{},"KUBB_UNKNOWN"," mark a crash. The agent format, ",[24,205,206],{},"--verbose",[24,208,209],{},"--reporter json"," show its stack.",[10,212,213,214,217,218,224],{},"Report it with the stack and a spec fragment that reproduces it. Kubb prints a ",[24,215,216],{},"report:"," link when the extension sets ",[165,219,221],{"href":220},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextensions#meta",[24,222,223],{},"meta.issues",".",[180,226,228],{"id":227},"errors","Errors",[230,231,188],"h3",{"id":232},"kubb-adapter-failed",[10,234,235],{},"The adapter crashed while parsing the input.",[10,237,238,242,243,224],{},[239,240,241],"strong",{},"Fix:"," Check the input and adapter options, or report the ",[165,244,246],{"href":245},"#crashes","crash",[230,248,250],{"id":249},"kubb-adapter-required","KUBB_ADAPTER_REQUIRED",[10,252,253,256],{},[24,254,255],{},"@kubb\u002Fplugin-redoc"," runs without the OpenAPI adapter.",[10,258,259,261,262,265,266,224],{},[239,260,241],{}," Set ",[24,263,264],{},"adapter: adapterOas()"," in ",[24,267,268],{},"kubb.config.ts",[230,270,272],{"id":271},"kubb-barrel-duplicate-export","KUBB_BARREL_DUPLICATE_EXPORT",[10,274,275],{},"Two files in one barrel folder export the same name.",[10,277,278,280,281,285],{},[239,279,241],{}," Rename one declaration, change the ",[165,282,284],{"href":283},"\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#resolver","resolver",", or split the output folders.",[230,287,289],{"id":288},"kubb-clean-root","KUBB_CLEAN_ROOT",[10,291,292,295,296,299],{},[24,293,294],{},"output.path"," is the project root or a parent of it, so ",[24,297,298],{},"output.clean"," would delete your source.",[10,301,302,304,305,307,308,311,312,224],{},[239,303,241],{}," Point ",[24,306,294],{}," at a generated folder such as ",[24,309,310],{},".\u002Fsrc\u002Fgen",", or turn off ",[24,313,298],{},[230,315,317],{"id":316},"kubb-format-failed","KUBB_FORMAT_FAILED",[10,319,320,321,327],{},"The ",[165,322,324],{"href":323},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#outputformat",[24,325,326],{},"output.format"," tool failed. Kubb still writes the files.",[10,329,330,332],{},[239,331,241],{}," Run the formatter on the output folder to see the error.",[230,334,336],{"id":335},"kubb-git-input-failed","KUBB_GIT_INPUT_FAILED",[10,338,339,340,347,348,351],{},"A ",[165,341,343,344],{"href":342},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#input","git ",[24,345,346],{},"input"," is malformed, or ",[24,349,350],{},"git"," could not fetch it.",[10,353,354,356,357,360,361,364],{},[239,355,241],{}," Use ",[24,358,359],{},"git+\u003Crepo>#\u003Cref>:\u003Cpath>",", and run ",[24,362,363],{},"git fetch --depth 1 \u003Crepo> \u003Cref>"," to see the git error.",[230,366,368],{"id":367},"kubb-incompatible-dependency","KUBB_INCOMPATIBLE_DEPENDENCY",[10,370,371,372,375,376,379,380,224],{},"A configured plugin's ",[24,373,374],{},"meta.version"," is outside the ",[24,377,378],{},"version"," range in another plugin's ",[24,381,382],{},"dependencies",[10,384,385,387],{},[239,386,241],{}," Install a version of either plugin that fits the range.",[230,389,391],{"id":390},"kubb-incompatible-extension","KUBB_INCOMPATIBLE_EXTENSION",[10,393,394,395,398,399,402],{},"An extension's ",[24,396,397],{},"meta.compatibility.kubb"," or ",[24,400,401],{},".node"," range excludes the running version.",[10,404,405,407],{},[239,406,241],{}," Upgrade Kubb or Node.js into the range, or install an extension version that supports yours.",[230,409,411],{"id":410},"kubb-inline-failed","KUBB_INLINE_FAILED",[10,413,414],{},"Kubb cannot inline a name imported from an all-inline file, so it skips that file.",[10,416,417,419],{},[239,418,241],{}," Add an inline definition, register a parser with inline support, or stop marking the source as inline.",[230,421,423],{"id":422},"kubb-input-not-found","KUBB_INPUT_NOT_FOUND",[10,425,426,427,429,430,433],{},"Kubb cannot read the ",[24,428,346],{}," file or the ",[24,431,432],{},"kubb generate \u003Cpath>"," path.",[10,435,436,438,439,224],{},[239,437,241],{}," Check that the file exists and is readable. Relative paths resolve against ",[165,440,442],{"href":441},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#root",[24,443,444],{},"root",[230,446,448],{"id":447},"kubb-input-request-failed","KUBB_INPUT_REQUEST_FAILED",[10,450,451,452,398,454,457],{},"A URL ",[24,453,346],{},[24,455,456],{},"$ref"," answers with a 4xx or 5xx status.",[10,459,460,462],{},[239,461,241],{}," Open the URL to see the answer. Kubb sends no credentials, so for a 401 or 403, use a local copy.",[230,464,466],{"id":465},"kubb-input-required","KUBB_INPUT_REQUIRED",[10,468,469,470,472],{},"An adapter is set, but ",[24,471,346],{}," is empty.",[10,474,475,261,477,224],{},[239,476,241],{},[165,478,479],{"href":342},[24,480,346],{},[230,482,484],{"id":483},"kubb-input-unreachable","KUBB_INPUT_UNREACHABLE",[10,486,451,487,489,490,492],{},[24,488,346],{},", a ",[24,491,456],{}," URL, or the registry never answered.",[10,494,495,497],{},[239,496,241],{}," Check that the host is up and reachable from this machine, through any VPN or proxy.",[230,499,198],{"id":500},"kubb-internal-error",[10,502,503],{},"A bug in Kubb.",[10,505,506,508,509,511,512,516],{},[239,507,241],{}," Rerun with ",[24,510,206],{}," for the stack, then report it on ",[165,513,515],{"href":514},"https:\u002F\u002Fgithub.com\u002Fkubb-labs\u002Fkubb\u002Fissues","GitHub"," with the spec and config.",[230,518,520],{"id":519},"kubb-invalid-document","KUBB_INVALID_DOCUMENT",[10,522,320,523,525,526,398,529,532],{},[24,524,346],{}," has a syntax error, no ",[24,527,528],{},"openapi",[24,530,531],{},"swagger"," version, or a version Kubb cannot upgrade to OpenAPI 3.1.",[10,534,535,537,538,540],{},[239,536,241],{}," Fix the syntax at the reported line, and point ",[24,539,346],{}," at a Swagger 2.0 or OpenAPI 3.0 to 3.2 spec.",[230,542,544],{"id":543},"kubb-invalid-plugin-options","KUBB_INVALID_PLUGIN_OPTIONS",[10,546,547,548,398,551,554],{},"A plugin's options cannot work as given, such as ",[24,549,550],{},"group",[24,552,553],{},"sdk.mode: 'tag'"," with file output. The message names the case.",[10,556,557,559,560,224],{},[239,558,241],{}," Change what the message names. See ",[165,561,563],{"href":562},"#invalid-plugin-options","Invalid plugin options",[230,565,567],{"id":566},"kubb-invalid-server-variable","KUBB_INVALID_SERVER_VARIABLE",[10,569,570,571,224],{},"A server variable resolves to a value outside its ",[24,572,573],{},"enum",[10,575,576,578,579,581,582,585,586,398,589,224],{},[239,577,241],{}," Pick an ",[24,580,573],{}," value in the adapter's ",[24,583,584],{},"server.variables",", or fix the spec's ",[24,587,588],{},"default",[24,590,573],{},[230,592,594],{"id":593},"kubb-legacy-input","KUBB_LEGACY_INPUT",[10,596,597,599,600,398,603,606],{},[24,598,346],{}," is a v4 ",[24,601,602],{},"{ path }",[24,604,605],{},"{ data }"," wrapper.",[10,608,609,611,612,398,615,224],{},[239,610,241],{}," Pass the value directly, such as ",[24,613,614],{},"input: '.\u002FpetStore.yaml'",[24,616,617],{},"input: spec",[230,619,621],{"id":620},"kubb-lint-failed","KUBB_LINT_FAILED",[10,623,320,624,327],{},[165,625,627],{"href":626},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#outputlint",[24,628,629],{},"output.lint",[10,631,632,634],{},[239,633,241],{}," Run the linter on the output folder, and relax its rules for generated files.",[230,636,638],{"id":637},"kubb-missing-dependency","KUBB_MISSING_DEPENDENCY",[10,640,641,642,644,645,648],{},"A plugin lists another in ",[24,643,382],{}," without ",[24,646,647],{},"optional: true",", and the config lacks it.",[10,650,651,653,654,224],{},[239,652,241],{}," Install that plugin and add it to ",[24,655,656],{},"plugins",[230,658,660],{"id":659},"kubb-moved-to-kit","KUBB_MOVED_TO_KIT",[10,662,663,664,667,668,189,671,189,674,189,677,189,680,189,683,189,686,189,689,398,692,695,696,699,700,702,703,705,706,709,710,224],{},"Code called a resolver, generator or macro helper from ",[24,665,666],{},"@kubb\u002Fcore",": ",[24,669,670],{},"addGenerator",[24,672,673],{},"setResolver",[24,675,676],{},"setMacros",[24,678,679],{},"addMacro",[24,681,682],{},"Resolver",[24,684,685],{},"createResolver",[24,687,688],{},"defineResolver",[24,690,691],{},"defineGenerator",[24,693,694],{},"toFilePath",". These moved to ",[24,697,698],{},"@kubb\u002Fkit",". ",[24,701,698],{}," 5.23.1 still imports them from core, so it reports this error when it loads next to a newer ",[24,704,666],{},". The deprecated ",[24,707,708],{},"ctx.driver.getResolver(name)"," also reports it when the plugin has no resolver set with ",[24,711,673],{},[10,713,714,716,717,720,721,723,724,727,728,731,732,734,735,738],{},[239,715,241],{}," Import the helper from ",[24,718,719],{},"kubb\u002Fkit",", and replace ",[24,722,708],{}," with ",[24,725,726],{},"ctx.getResolver(name)"," in a template, or with ",[24,729,730],{},"getResolver(name)"," from ",[24,733,719],{}," in any other hook, such as a visit hook. If a plugin triggers it, run ",[24,736,737],{},"pnpm update \"@kubb\u002F*\""," so every @kubb package is on one version.",[230,740,742],{"id":741},"kubb-no-context","KUBB_NO_CONTEXT",[10,744,339,745,747,748,751,752,189,755,758,759,762,763,189,766,189,769,772,773,776,777,731,780,699,782,189,785,772,788,791,792,772,794,224],{},[24,746,719],{}," composable such as ",[24,749,750],{},"useKubb()"," ran outside a plugin hook: ",[24,753,754],{},"setup",[24,756,757],{},"kubb:plugin:setup",", a hook in the plugin's ",[24,760,761],{},"hooks"," map or a visit hook. ",[24,764,765],{},"addTemplate()",[24,767,768],{},"setResolver()",[24,770,771],{},"addMacro()"," and ",[24,774,775],{},"setMacros()"," also report it for a plugin defined with ",[24,778,779],{},"defineExtension",[24,781,666],{},[24,783,784],{},"setOptions()",[24,786,787],{},"useOptions()",[24,789,790],{},"injectFile()"," report it in any hook other than ",[24,793,754],{},[24,795,757],{},[10,797,798,800,801,731,803,224],{},[239,799,241],{}," Call it inside a plugin hook, or in code the hook awaits. Define the plugin with ",[24,802,779],{},[24,804,719],{},[230,806,192],{"id":807},"kubb-parser-failed",[10,809,810],{},"A parser crashed while printing a generated file.",[10,812,813,815,816,224],{},[239,814,241],{}," Check the parser options, then report the ",[165,817,246],{"href":245},[230,819,821],{"id":820},"kubb-path-traversal","KUBB_PATH_TRAVERSAL",[10,823,824,825,827],{},"A resolved path escapes ",[24,826,294],{},", so Kubb refuses to write it.",[10,829,830,832,833,189,835,838,839,842,843,846],{},[239,831,241],{}," Keep ",[24,834,294],{},[24,836,837],{},"group.name",", and resolver ",[24,840,841],{},"file.path"," results inside the output folder. Strip ",[24,844,845],{},".."," and separators from spec names.",[230,848,195],{"id":849},"kubb-plugin-failed",[10,851,852,853,224],{},"A plugin threw, or reported an error through ",[24,854,855],{},"ctx.error",[10,857,858,860,861,864,865,224],{},[239,859,241],{}," Check the plugin options and the node at ",[24,862,863],{},"at:",", then report the ",[165,866,246],{"href":245},[230,868,870],{"id":869},"kubb-plugin-not-found","KUBB_PLUGIN_NOT_FOUND",[10,872,873],{},"A plugin requires another that is not in the config.",[10,875,876,878,879,881,882,885],{},[239,877,241],{}," Add it to ",[24,880,656],{}," in any order, or remove the plugin that needs it. Do not add ",[24,883,884],{},"@kubb\u002Fplugin-oas",": in v5 the adapter reads OpenAPI.",[230,887,889],{"id":888},"kubb-post-generate-failed","KUBB_POST_GENERATE_FAILED",[10,891,892,893,899],{},"An ",[165,894,896],{"href":895},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#outputpostgenerate",[24,897,898],{},"output.postGenerate"," command exited non-zero. Kubb still writes the files.",[10,901,902,904],{},[239,903,241],{}," Run the command from the project root to see the error.",[230,906,908],{"id":907},"kubb-ref-not-found","KUBB_REF_NOT_FOUND",[10,910,339,911,913],{},[24,912,456],{}," points at a missing definition, or a file or URL Kubb cannot read.",[10,915,916,918,919,921,922,224],{},[239,917,241],{}," Add the definition or file, or fix the ",[24,920,456],{},", then run ",[165,923,925],{"href":924},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fvalidate",[24,926,927],{},"kubb validate",[230,929,202],{"id":930},"kubb-unknown",[10,932,933],{},"An error without a Kubb code, such as a missing or failing config file.",[10,935,936,938,939,941,942,945],{},[239,937,241],{}," Read the message and the ",[24,940,206],{}," stack. Check the options of the plugin or adapter that threw it, or report it with the ",[24,943,944],{},"Environment:"," block.",[180,947,949],{"id":948},"warnings","Warnings",[230,951,953],{"id":952},"kubb-alias-cycle","KUBB_ALIAS_CYCLE",[10,955,956,957,959,960,224],{},"Schemas that only ",[24,958,456],{}," each other form a loop, so Kubb types them as ",[24,961,962],{},"unknown",[10,964,965,967,968,970],{},[239,966,241],{}," Give one schema a real definition, or remove the ",[24,969,456],{}," that closes the loop.",[230,972,974],{"id":973},"kubb-duplicate-discriminator","KUBB_DUPLICATE_DISCRIMINATOR",[10,976,977,398,980,983,984,987,988,990],{},[24,978,979],{},"oneOf",[24,981,982],{},"anyOf"," members share a ",[24,985,986],{},"discriminator"," value, so the ",[24,989,986],{}," cannot pick a member.",[10,992,993,995,996,998],{},[239,994,241],{}," Give each member its own value, or drop the ",[24,997,986],{}," to match by shape.",[230,1000,1002],{"id":1001},"kubb-duplicate-operation-id","KUBB_DUPLICATE_OPERATION_ID",[10,1004,1005,1006,1009,1010,189,1013,1016,1017,772,1020,1023,1024,1027,1028,772,1031,1034],{},"Two operations share an ",[24,1007,1008],{},"operationId",", so Kubb adds a ",[24,1011,1012],{},"_2",[24,1014,1015],{},"_3",", … suffix to each later one. A generated id can collide too: ",[24,1018,1019],{},"\u002Fa-b",[24,1021,1022],{},"\u002Fa\u002Fb"," both get ",[24,1025,1026],{},"get_a-b",". Ids that give the same generated name, such as ",[24,1029,1030],{},"get-pets",[24,1032,1033],{},"getPets",", also count as the same. A suffix never takes an id that another operation declares.",[10,1036,1037,1039,1040,224],{},[239,1038,241],{}," Give each operation its own ",[24,1041,1008],{},[230,1043,1045],{"id":1044},"kubb-invalid-spec","KUBB_INVALID_SPEC",[10,1047,1048],{},"The spec fails OpenAPI schema validation, so the output can be incomplete or wrong.",[10,1050,1051,1053,1054,1058,1059,1065],{},[239,1052,241],{}," Run ",[165,1055,1056],{"href":924},[24,1057,927],{}," to list every problem, or set ",[165,1060,1062],{"href":1061},"\u002Fextensions\u002Fkubb-labs\u002Fadapter-oas\u002Foptions#validate",[24,1063,1064],{},"validate: false"," on the adapter to skip the check.",[230,1067,1069],{"id":1068},"kubb-output-passes-skipped","KUBB_OUTPUT_PASSES_SKIPPED",[10,1071,1072,189,1074,1076,1077,1079,1080,1083,1084,1087],{},[24,1073,326],{},[24,1075,629],{},", or ",[24,1078,898],{}," is set, but the ",[24,1081,1082],{},"storage"," is not named ",[24,1085,1086],{},"fs",", so Kubb cannot tell that the files are on disk. It skips those passes and the output manifest.",[10,1089,1090,1092,1093,1095,1096,224],{},[239,1091,241],{}," Run the tools yourself after the build, or remove the options. A custom storage that writes ",[24,1094,294],{}," to disk can set ",[24,1097,1098],{},"name: 'fs'",[230,1100,1102],{"id":1101},"kubb-outside-output","KUBB_OUTSIDE_OUTPUT",[10,1104,1105,1106,772,1108,1111,1112,1114],{},"A plugin wrote a file outside ",[24,1107,294],{},[24,1109,1110],{},"shared.path",". Kubb still writes it, but ",[24,1113,298],{}," never removes it.",[10,1116,1117,1119,1120,1122,1123,1125,1126,224],{},[239,1118,241],{}," Check the plugin's ",[24,1121,294],{}," and its ",[24,1124,837],{}," function, so every generated path stays inside ",[24,1127,294],{},[230,1129,1131],{"id":1130},"kubb-plugin-warning","KUBB_PLUGIN_WARNING",[10,1133,1134,1135,224],{},"A plugin reported a non-fatal problem through ",[24,1136,1137],{},"ctx.warn",[10,1139,1140,1142],{},[239,1141,241],{}," Read the message and adjust the input or the plugin options.",[230,1144,1146],{"id":1145},"kubb-shared-file-mismatch","KUBB_SHARED_FILE_MISMATCH",[10,1148,1149,1150,1152],{},"Configs that use the same ",[24,1151,1110],{}," generated different content for the same shared file, so the last config to write it wins.",[10,1154,1155,1157,1158,1160],{},[239,1156,241],{}," Give the configs that use the same ",[24,1159,1110],{}," the same plugin options and banner.",[230,1162,1164],{"id":1163},"kubb-unsupported-format","KUBB_UNSUPPORTED_FORMAT",[10,1166,1167,1168,1171],{},"Kubb has no type for a schema's ",[24,1169,1170],{},"format",", so it uses the base type.",[10,1173,1174,1176,1177,224],{},[239,1175,241],{}," Use a supported format, drop it, or handle it in a custom parser or plugin. When a plugin already handles the format, add the code to ",[165,1178,1179],{"href":167},[24,1180,170],{},[180,1182,157],{"id":1183},"info",[230,1185,1187],{"id":1186},"kubb-deprecated","KUBB_DEPRECATED",[10,1189,1190,1191,1194],{},"The spec uses a schema or operation marked ",[24,1192,1193],{},"deprecated",". Generation is unchanged.",[10,1196,1197,1199],{},[239,1198,241],{}," Move off the deprecated definition when you can.",[230,1201,1203],{"id":1202},"kubb-performance","KUBB_PERFORMANCE",[10,1205,1206,1207,1209,1210,265,1213,224],{},"One plugin's generation time, shown with ",[24,1208,206],{}," and as ",[24,1211,1212],{},"timings",[165,1214,1216],{"href":1215},"#machine-readable-output","Machine-readable output",[10,1218,1219,1221],{},[239,1220,241],{}," None needed.",[230,1223,1225],{"id":1224},"kubb-plugin-info","KUBB_PLUGIN_INFO",[10,1227,1228,1229,1232],{},"A plugin reported a message through ",[24,1230,1231],{},"ctx.info",", shown in the summary and JSON report.",[10,1234,1235,1221],{},[239,1236,241],{},[230,1238,1240],{"id":1239},"kubb-update-available","KUBB_UPDATE_AVAILABLE",[10,1242,1243,1244,224],{},"npm has a newer Kubb than the one running. See ",[165,1245,1247],{"href":1246},"#update-check","Update check",[10,1249,1250,1252],{},[239,1251,241],{}," Update Kubb and your plugins.",[180,1254,1216],{"id":1255},"machine-readable-output",[10,1257,1258,1261],{},[24,1259,1260],{},"kubb generate --reporter json"," prints a JSON array to stdout, one report per config, even for a single config.",[17,1263,1267],{"language":1264,"filename":1265,"code":1266,"class":22},"json","Report","[\n {\n \"name\": \"\",\n \"status\": \"failed\",\n \"plugins\": { \"passed\": 2, \"failed\": [\"plugin-zod\"], \"total\": 3 },\n \"counts\": { \"errors\": 1, \"warnings\": 0, \"infos\": 0 },\n \"filesCreated\": 0,\n \"filesUnchanged\": 0,\n \"filesFromLockfile\": 0,\n \"dryRun\": false,\n \"durationMs\": 312,\n \"output\": \"\u002Fproject\u002Fsrc\u002Fgen\",\n \"timings\": [{ \"plugin\": \"plugin-ts\", \"durationMs\": 84 }],\n \"diagnostics\": [\n {\n \"code\": \"KUBB_REF_NOT_FOUND\",\n \"severity\": \"error\",\n \"message\": \"Could not find a definition for #\u002Fcomponents\u002Fschemas\u002FPet.\",\n \"title\": \"Reference not found\",\n \"cause\": \"A `$ref` could not be resolved in the source document.\",\n \"location\": { \"kind\": \"schema\", \"pointer\": \"#\u002Fcomponents\u002Fschemas\u002FPet\" },\n \"help\": \"Add the schema under components.schemas, or fix the $ref. Run `kubb validate` to check the spec.\",\n \"plugin\": \"plugin-zod\",\n \"docsUrl\": \"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-ref-not-found\"\n }\n ]\n }\n]",[24,1268,1270,36,1276,36,1281,36,1299,36,1313,36,1362,36,1405,36,1418,36,1431,36,1444,36,1458,36,1472,36,1486,36,1520,36,1531,36,1536,36,1551,36,1565,36,1579,36,1593,36,1607,36,1640,36,1654,36,1666,36,1678,36,1685,36,1690,36,1695],{"class":1269},"language-json",[28,1271,1272],{"class":30,"style":31},[28,1273,1275],{"style":1274},"color:#005cc5;--hls-dark:#79b8ff","[",[28,1277,1278],{"class":30,"style":31},[28,1279,1280],{"style":1274}," {",[28,1282,1283,1286,1289,1292,1296],{"class":30,"style":31},[28,1284,1285],{"style":1274}," ",[28,1287,1288],{"style":1274},"\"name\"",[28,1290,667],{"style":1291},"color:#d73a49;--hls-dark:#f97583",[28,1293,1295],{"style":1294},"color:#032f62;--hls-dark:#9ecbff","\"\"",[28,1297,1298],{"style":1291},",",[28,1300,1301,1303,1306,1308,1311],{"class":30,"style":31},[28,1302,1285],{"style":1291},[28,1304,1305],{"style":1274},"\"status\"",[28,1307,667],{"style":1291},[28,1309,1310],{"style":1294},"\"failed\"",[28,1312,1298],{"style":1291},[28,1314,1315,1317,1320,1322,1325,1328,1330,1333,1335,1337,1339,1341,1344,1347,1349,1352,1354,1357,1360],{"class":30,"style":31},[28,1316,1285],{"style":1291},[28,1318,1319],{"style":1274},"\"plugins\"",[28,1321,667],{"style":1291},[28,1323,1324],{"style":1274},"{ ",[28,1326,1327],{"style":1274},"\"passed\"",[28,1329,667],{"style":1291},[28,1331,1332],{"style":1274},"2",[28,1334,189],{"style":1291},[28,1336,1310],{"style":1274},[28,1338,667],{"style":1291},[28,1340,1275],{"style":1274},[28,1342,1343],{"style":1294},"\"plugin-zod\"",[28,1345,1346],{"style":1274},"]",[28,1348,189],{"style":1291},[28,1350,1351],{"style":1274},"\"total\"",[28,1353,667],{"style":1291},[28,1355,1356],{"style":1274},"3 ",[28,1358,1359],{"style":1274},"}",[28,1361,1298],{"style":1291},[28,1363,1364,1366,1369,1371,1373,1376,1378,1381,1383,1386,1388,1391,1393,1396,1398,1401,1403],{"class":30,"style":31},[28,1365,1285],{"style":1291},[28,1367,1368],{"style":1274},"\"counts\"",[28,1370,667],{"style":1291},[28,1372,1324],{"style":1274},[28,1374,1375],{"style":1274},"\"errors\"",[28,1377,667],{"style":1291},[28,1379,1380],{"style":1274},"1",[28,1382,189],{"style":1291},[28,1384,1385],{"style":1274},"\"warnings\"",[28,1387,667],{"style":1291},[28,1389,1390],{"style":1274},"0",[28,1392,189],{"style":1291},[28,1394,1395],{"style":1274},"\"infos\"",[28,1397,667],{"style":1291},[28,1399,1400],{"style":1274},"0 ",[28,1402,1359],{"style":1274},[28,1404,1298],{"style":1291},[28,1406,1407,1409,1412,1414,1416],{"class":30,"style":31},[28,1408,1285],{"style":1291},[28,1410,1411],{"style":1274},"\"filesCreated\"",[28,1413,667],{"style":1291},[28,1415,1390],{"style":1274},[28,1417,1298],{"style":1291},[28,1419,1420,1422,1425,1427,1429],{"class":30,"style":31},[28,1421,1285],{"style":1291},[28,1423,1424],{"style":1274},"\"filesUnchanged\"",[28,1426,667],{"style":1291},[28,1428,1390],{"style":1274},[28,1430,1298],{"style":1291},[28,1432,1433,1435,1438,1440,1442],{"class":30,"style":31},[28,1434,1285],{"style":1291},[28,1436,1437],{"style":1274},"\"filesFromLockfile\"",[28,1439,667],{"style":1291},[28,1441,1390],{"style":1274},[28,1443,1298],{"style":1291},[28,1445,1446,1448,1451,1453,1456],{"class":30,"style":31},[28,1447,1285],{"style":1291},[28,1449,1450],{"style":1274},"\"dryRun\"",[28,1452,667],{"style":1291},[28,1454,1455],{"style":1274},"false",[28,1457,1298],{"style":1291},[28,1459,1460,1462,1465,1467,1470],{"class":30,"style":31},[28,1461,1285],{"style":1291},[28,1463,1464],{"style":1274},"\"durationMs\"",[28,1466,667],{"style":1291},[28,1468,1469],{"style":1274},"312",[28,1471,1298],{"style":1291},[28,1473,1474,1476,1479,1481,1484],{"class":30,"style":31},[28,1475,1285],{"style":1291},[28,1477,1478],{"style":1274},"\"output\"",[28,1480,667],{"style":1291},[28,1482,1483],{"style":1294},"\"\u002Fproject\u002Fsrc\u002Fgen\"",[28,1485,1298],{"style":1291},[28,1487,1488,1490,1493,1495,1498,1501,1503,1506,1508,1510,1512,1515,1518],{"class":30,"style":31},[28,1489,1285],{"style":1291},[28,1491,1492],{"style":1274},"\"timings\"",[28,1494,667],{"style":1291},[28,1496,1497],{"style":1274},"[{ ",[28,1499,1500],{"style":1274},"\"plugin\"",[28,1502,667],{"style":1291},[28,1504,1505],{"style":1294},"\"plugin-ts\"",[28,1507,189],{"style":1291},[28,1509,1464],{"style":1274},[28,1511,667],{"style":1291},[28,1513,1514],{"style":1274},"84 ",[28,1516,1517],{"style":1274},"}]",[28,1519,1298],{"style":1291},[28,1521,1522,1524,1527,1529],{"class":30,"style":31},[28,1523,1285],{"style":1291},[28,1525,1526],{"style":1274},"\"diagnostics\"",[28,1528,667],{"style":1291},[28,1530,1275],{"style":1274},[28,1532,1533],{"class":30,"style":31},[28,1534,1535],{"style":1274}," {",[28,1537,1538,1541,1544,1546,1549],{"class":30,"style":31},[28,1539,1540],{"style":1274}," ",[28,1542,1543],{"style":1274},"\"code\"",[28,1545,667],{"style":1291},[28,1547,1548],{"style":1294},"\"KUBB_REF_NOT_FOUND\"",[28,1550,1298],{"style":1291},[28,1552,1553,1555,1558,1560,1563],{"class":30,"style":31},[28,1554,1540],{"style":1291},[28,1556,1557],{"style":1274},"\"severity\"",[28,1559,667],{"style":1291},[28,1561,1562],{"style":1294},"\"error\"",[28,1564,1298],{"style":1291},[28,1566,1567,1569,1572,1574,1577],{"class":30,"style":31},[28,1568,1540],{"style":1291},[28,1570,1571],{"style":1274},"\"message\"",[28,1573,667],{"style":1291},[28,1575,1576],{"style":1294},"\"Could not find a definition for #\u002Fcomponents\u002Fschemas\u002FPet.\"",[28,1578,1298],{"style":1291},[28,1580,1581,1583,1586,1588,1591],{"class":30,"style":31},[28,1582,1540],{"style":1291},[28,1584,1585],{"style":1274},"\"title\"",[28,1587,667],{"style":1291},[28,1589,1590],{"style":1294},"\"Reference not found\"",[28,1592,1298],{"style":1291},[28,1594,1595,1597,1600,1602,1605],{"class":30,"style":31},[28,1596,1540],{"style":1291},[28,1598,1599],{"style":1274},"\"cause\"",[28,1601,667],{"style":1291},[28,1603,1604],{"style":1294},"\"A `$ref` could not be resolved in the source document.\"",[28,1606,1298],{"style":1291},[28,1608,1609,1611,1614,1616,1618,1621,1623,1626,1628,1631,1633,1636,1638],{"class":30,"style":31},[28,1610,1540],{"style":1291},[28,1612,1613],{"style":1274},"\"location\"",[28,1615,667],{"style":1291},[28,1617,1324],{"style":1274},[28,1619,1620],{"style":1274},"\"kind\"",[28,1622,667],{"style":1291},[28,1624,1625],{"style":1294},"\"schema\"",[28,1627,189],{"style":1291},[28,1629,1630],{"style":1274},"\"pointer\"",[28,1632,667],{"style":1291},[28,1634,1635],{"style":1294},"\"#\u002Fcomponents\u002Fschemas\u002FPet\" ",[28,1637,1359],{"style":1274},[28,1639,1298],{"style":1291},[28,1641,1642,1644,1647,1649,1652],{"class":30,"style":31},[28,1643,1540],{"style":1291},[28,1645,1646],{"style":1274},"\"help\"",[28,1648,667],{"style":1291},[28,1650,1651],{"style":1294},"\"Add the schema under components.schemas, or fix the $ref. Run `kubb validate` to check the spec.\"",[28,1653,1298],{"style":1291},[28,1655,1656,1658,1660,1662,1664],{"class":30,"style":31},[28,1657,1540],{"style":1291},[28,1659,1500],{"style":1274},[28,1661,667],{"style":1291},[28,1663,1343],{"style":1294},[28,1665,1298],{"style":1291},[28,1667,1668,1670,1673,1675],{"class":30,"style":31},[28,1669,1540],{"style":1291},[28,1671,1672],{"style":1274},"\"docsUrl\"",[28,1674,667],{"style":1291},[28,1676,1677],{"style":1294},"\"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-ref-not-found\"",[28,1679,1680,1683],{"class":30,"style":31},[28,1681,1682],{"style":1294}," ",[28,1684,1359],{"style":1274},[28,1686,1687],{"class":30,"style":31},[28,1688,1689],{"style":1274}," ]",[28,1691,1692],{"class":30,"style":31},[28,1693,1694],{"style":1274}," }",[28,1696,1697],{"class":30,"style":31},[28,1698,1346],{"style":1274},[114,1700,1701,1711],{},[117,1702,1703],{},[120,1704,1705,1708],{},[123,1706,1707],{},"Field",[123,1709,1710],{},"Holds",[130,1712,1713,1727,1737,1746,1756,1776,1810,1823,1833,1846,1862],{},[120,1714,1715,1720],{},[135,1716,1717],{},[24,1718,1719],{},"name",[135,1721,1722,1723,1076,1725],{},"The config ",[24,1724,1719],{},[24,1726,1295],{},[120,1728,1729,1734],{},[135,1730,1731],{},[24,1732,1733],{},"counts",[135,1735,1736],{},"Diagnostics by severity, without timings",[120,1738,1739,1743],{},[135,1740,1741],{},[24,1742,1212],{},[135,1744,1745],{},"Per-plugin durations, slowest first",[120,1747,1748,1753],{},[135,1749,1750],{},[24,1751,1752],{},"fileChanges",[135,1754,1755],{},"File and line changes, when collected",[120,1757,1758,1763],{},[135,1759,1760],{},[24,1761,1762],{},"check.changed",[135,1764,1765,1766,667,1772,1775],{},"With ",[165,1767,1769],{"href":1768},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fgenerate#check-mode",[24,1770,1771],{},"--check",[24,1773,1774],{},"true"," when the output on disk is out of date",[120,1777,1778,1783],{},[135,1779,1780],{},[24,1781,1782],{},"check.files",[135,1784,1765,1785,1787,1788,699,1791,1794,1795,199,1797,1800,1801,189,1804,1076,1807,224],{},[24,1786,1771],{},": each out-of-date file as ",[24,1789,1790],{},"{ path, status, linesAdded, linesRemoved }",[24,1792,1793],{},"path"," is relative to ",[24,1796,444],{},[24,1798,1799],{},"status"," is ",[24,1802,1803],{},"added",[24,1805,1806],{},"modified",[24,1808,1809],{},"deleted",[120,1811,1812,1820],{},[135,1813,1814,189,1817],{},[24,1815,1816],{},"diagnostics[].title",[24,1818,1819],{},".cause",[135,1821,1822],{},"The code's catalog entry",[120,1824,1825,1830],{},[135,1826,1827],{},[24,1828,1829],{},"diagnostics[].help",[135,1831,1832],{},"Its own fix, or the catalog fix",[120,1834,1835,1843],{},[135,1836,1837,189,1840],{},[24,1838,1839],{},"diagnostics[].plugin",[24,1841,1842],{},".issues",[135,1844,1845],{},"The reporting plugin, and a crashed extension's issue tracker",[120,1847,1848,1856],{},[135,1849,1850,189,1853],{},[24,1851,1852],{},"diagnostics[].causes",[24,1854,1855],{},".stack",[135,1857,1858,1859,1861],{},"Wrapped error messages, and a ",[165,1860,246],{"href":245}," stack",[120,1863,1864,1869],{},[135,1865,1866],{},[24,1867,1868],{},"diagnostics[].docsUrl",[135,1870,1871,1872,1874],{},"This page's entry. ",[24,1873,202],{}," has none.",[10,1876,1877,1878,1880,1881,1887],{},"Any error still exits with code 1, or with code 2 under ",[24,1879,1771],{},". See ",[165,1882,1884],{"href":1883},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fgenerate#reporters",[24,1885,1886],{},"--reporter"," for other reporters.",[180,1889,1891],{"id":1890},"less-common-cases","Less common cases",[230,1893,1247],{"id":1894},"update-check",[10,1896,1897,1898,1903],{},"When a run prints ",[165,1899,1901],{"href":1900},"#kubb-update-available",[24,1902,1240],{}," without a network request, it reuses an earlier answer.",[1905,1906,1907,1921],"ul",{},[1908,1909,1910,1912,1913,1916,1917,1920],"li",{},[24,1911,143],{}," asks npm at most once every 24 hours and keeps the answer in ",[24,1914,1915],{},"KUBB_HOME"," (default ",[24,1918,1919],{},"~\u002F.kubb","), so the notice also shows on runs that make no request.",[1908,1922,1923,1924,398,1927,224],{},"CI skips the check, detected from variables such as ",[24,1925,1926],{},"CI",[24,1928,1929],{},"GITHUB_ACTIONS",[230,1931,177],{"id":1932},"diagnostic-details",[10,1934,1935],{},"Each row adds what a code's entry leaves out.",[114,1937,1938,1948],{},[117,1939,1940],{},[120,1941,1942,1945],{},[123,1943,1944],{},"Code",[123,1946,1947],{},"Detail",[130,1949,1950,1965,1989,2001,2017,2029,2043,2058,2070,2087,2099,2111,2126,2141,2155,2183,2195,2210,2222,2243,2258,2277,2304,2323],{},[120,1951,1952,1959],{},[135,1953,1954],{},[165,1955,1957],{"href":1956},"#kubb-adapter-failed",[24,1958,188],{},[135,1960,1961,1962,1964],{},"Errors the adapter reports on purpose, such as ",[24,1963,908],{},", keep their own code.",[120,1966,1967,1974],{},[135,1968,1969],{},[165,1970,1972],{"href":1971},"#kubb-adapter-required",[24,1973,250],{},[135,1975,1976,1979,1980,1983,1984,731,1987,224],{},[24,1977,1978],{},"defineConfig"," adds the OpenAPI adapter when ",[24,1981,1982],{},"adapter"," is left out, so this happens only with a custom adapter or with ",[24,1985,1986],{},"createKubb",[24,1988,666],{},[120,1990,1991,1998],{},[135,1992,1993],{},[165,1994,1996],{"href":1995},"#kubb-barrel-duplicate-export",[24,1997,272],{},[135,1999,2000],{},"The barrel keeps the first export and drops the rest, so the code still parses, but the run fails. A type and a value may share a name.",[120,2002,2003,2010],{},[135,2004,2005],{},[165,2006,2008],{"href":2007},"#kubb-duplicate-discriminator",[24,2009,974],{},[135,2011,2012,2013,2016],{},"Zod's ",[24,2014,2015],{},"z.discriminatedUnion"," throws on the first parse of such a union.",[120,2018,2019,2026],{},[135,2020,2021],{},[165,2022,2024],{"href":2023},"#kubb-format-failed",[24,2025,317],{},[135,2027,2028],{},"Check the formatter's install and config.",[120,2030,2031,2038],{},[135,2032,2033],{},[165,2034,2036],{"href":2035},"#kubb-git-input-failed",[24,2037,336],{},[135,2039,2040,2042],{},[24,2041,350],{}," is missing, the repository or ref does not exist, or the credentials were refused. For a private repository, set up a credential helper or SSH key.",[120,2044,2045,2052],{},[135,2046,2047],{},[165,2048,2050],{"href":2049},"#kubb-incompatible-extension",[24,2051,391],{},[135,2053,2054,2055,224],{},"Kubb checks at run time and in ",[24,2056,2057],{},"kubb add",[120,2059,2060,2067],{},[135,2061,2062],{},[165,2063,2065],{"href":2064},"#kubb-inline-failed",[24,2066,411],{},[135,2068,2069],{},"The imported name has no inline definition, refers to itself, or has no parser that supports inlining. One diagnostic lists every case.",[120,2071,2072,2079],{},[135,2073,2074],{},[165,2075,2077],{"href":2076},"#kubb-input-not-found",[24,2078,423],{},[135,2080,2081,2082,398,2084,2086],{},"A URL reports ",[24,2083,448],{},[24,2085,484],{}," instead.",[120,2088,2089,2096],{},[135,2090,2091],{},[165,2092,2094],{"href":2093},"#kubb-input-request-failed",[24,2095,448],{},[135,2097,2098],{},"A 404 means a wrong path, and a 5xx a failing server. The extension commands also report it for an invalid registry index.",[120,2100,2101,2108],{},[135,2102,2103],{},[165,2104,2106],{"href":2105},"#kubb-input-unreachable",[24,2107,484],{},[135,2109,2110],{},"The cause is a refused connection, an unknown host, an expired certificate, or a timeout. The message names which one. For a local server, check the port.",[120,2112,2113,2120],{},[135,2114,2115],{},[165,2116,2118],{"href":2117},"#kubb-internal-error",[24,2119,198],{},[135,2121,2122,2123,2125],{},"The bug is in Kubb, not in your config or spec. ",[24,2124,209],{}," also shows the stack.",[120,2127,2128,2135],{},[135,2129,2130],{},[165,2131,2133],{"href":2132},"#kubb-invalid-document",[24,2134,520],{},[135,2136,2137,2138,2140],{},"The check runs even with validation off. A passed ",[24,2139,346],{}," must be the spec itself, not an HTML page or a wrapper object.",[120,2142,2143,2150],{},[135,2144,2145],{},[165,2146,2148],{"href":2147},"#kubb-invalid-plugin-options",[24,2149,544],{},[135,2151,2152,2153,224],{},"See ",[165,2154,563],{"href":562},[120,2156,2157,2164],{},[135,2158,2159],{},[165,2160,2162],{"href":2161},"#kubb-invalid-spec",[24,2163,1045],{},[135,2165,2166,2170,2171,2174,2175,1800,2180,2182],{},[165,2167,2168],{"href":924},[24,2169,927],{}," lists every problem as an error and exits with code 1. ",[24,2172,2173],{},"@kubb\u002Fadapter-oas"," checks while ",[165,2176,2177],{"href":1061},[24,2178,2179],{},"validate",[24,2181,1774],{},", the default.",[120,2184,2185,2192],{},[135,2186,2187],{},[165,2188,2190],{"href":2189},"#kubb-no-context",[24,2191,742],{},[135,2193,2194],{},"The composable has no plugin to apply to. The message names the composable.",[120,2196,2197,2204],{},[135,2198,2199],{},[165,2200,2202],{"href":2201},"#kubb-path-traversal",[24,2203,821],{},[135,2205,2206,2207,2209],{},"The refusal stops a crafted spec or a wrong ",[24,2208,837],{}," from placing files elsewhere on disk.",[120,2211,2212,2219],{},[135,2213,2214],{},[165,2215,2217],{"href":2216},"#kubb-performance",[24,2218,1203],{},[135,2220,2221],{},"Kubb never prints it as a problem. The time leaves out config loading, format, lint, and post-generate.",[120,2223,2224,2231],{},[135,2225,2226],{},[165,2227,2229],{"href":2228},"#kubb-plugin-failed",[24,2230,195],{},[135,2232,2233,2234,224],{},"The diagnostic names the plugin and keeps the thrown error as its cause. Plugin authors can raise a stable code with ",[165,2235,2237,398,2240],{"href":2236},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fengine#diagnostics",[24,2238,2239],{},"Diagnostics.Error",[24,2241,2242],{},"Diagnostics.report",[120,2244,2245,2252],{},[135,2246,2247],{},[165,2248,2250],{"href":2249},"#kubb-plugin-not-found",[24,2251,870],{},[135,2253,2254,2257],{},[24,2255,2256],{},"kubb init --plugins"," also reports it for an id the registry does not list.",[120,2259,2260,2272],{},[135,2261,2262,189,2267],{},[165,2263,2265],{"href":2264},"#kubb-plugin-warning",[24,2266,1131],{},[165,2268,2270],{"href":2269},"#kubb-plugin-info",[24,2271,1225],{},[135,2273,2274,2275,224],{},"Plugin authors can add a stable code and a location with ",[24,2276,2242],{},[120,2278,2279,2286],{},[135,2280,2281],{},[165,2282,2284],{"href":2283},"#kubb-ref-not-found",[24,2285,908],{},[135,2287,2288,2289,2292,2293,2295,2296,2303],{},"Inside an ",[24,2290,2291],{},"x-"," vendor extension it is only a warning. Kubb refuses some local ",[24,2294,456],{}," files, such as any from a URL input. See ",[165,2297,2299,2300,2302],{"href":2298},"\u002Fdocs\u002F5.x\u002Freference\u002Fconfiguration#external-refs","External ",[24,2301,456],{}," files"," for the rules on Kubb Studio agents.",[120,2305,2306,2313],{},[135,2307,2308],{},[165,2309,2311],{"href":2310},"#kubb-unknown",[24,2312,202],{},[135,2314,2315,2316,2319,2320,224],{},"The terminal shows no docs link for it. ",[24,2317,2318],{},"--reporter file"," writes a log with the stack in ",[24,2321,2322],{},".kubb\u002F",[120,2324,2325,2332],{},[135,2326,2327],{},[165,2328,2330],{"href":2329},"#kubb-unsupported-format",[24,2331,1164],{},[135,2333,2334],{},"Kubb reports each format once, with a count, at the first schema that uses it.",[2336,2337,563],"h4",{"id":2338},"invalid-plugin-options",[10,2340,2341,2342,2346,2347,2349],{},"When a run stops with ",[165,2343,2344],{"href":2147},[24,2345,544],{},", the ",[24,2348,656],{}," array or a plugin's options cannot work as given. The message names the case:",[1905,2351,2352,2364,2378,2381,2393,2398,2406],{},[1908,2353,2354,2356,2357,2360,2361,2363],{},[24,2355,550],{}," with file output: ",[24,2358,2359],{},"output.mode: 'file'",", or an ",[24,2362,294],{}," with an extension.",[1908,2365,2366,2368,2369,189,2372,1076,2375,224],{},[24,2367,553],{}," with file output on ",[24,2370,2371],{},"@kubb\u002Fplugin-fetch",[24,2373,2374],{},"@kubb\u002Fplugin-axios",[24,2376,2377],{},"@kubb\u002Fplugin-client",[1908,2379,2380],{},"An option value the plugin does not accept.",[1908,2382,339,2383,2385,2386,2389,2390,224],{},[24,2384,656],{}," entry that is not a plugin, such as ",[24,2387,2388],{},"pluginTs"," instead of ",[24,2391,2392],{},"pluginTs()",[1908,2394,2395,2396,224],{},"The same plugin twice, or a cycle in plugin ",[24,2397,382],{},[1908,2399,2400,2401,398,2404,224],{},"An extension without ",[24,2402,2403],{},"meta.name",[24,2405,1719],{},[1908,2407,339,2408,2411,2412,2415,2416,2419],{},[24,2409,2410],{},"@kubb\u002Fplugin-faker"," ",[24,2413,2414],{},"dateParser"," that cannot format the adapter's ",[24,2417,2418],{},"dateType: 'date'"," values.",[10,2421,2422,2423,2425,2426,2429],{},"Change what the message names. A single file has nothing to group or split, so remove ",[24,2424,550],{},", use ",[24,2427,2428],{},"sdk.mode: 'flat'",", or write to a directory.",{"title":2431,"searchDepth":2432,"depth":2432,"links":2433},"",5,[2434,2436,2468,2479,2485,2486],{"id":182,"depth":2435,"text":183},2,{"id":227,"depth":2435,"text":228,"children":2437},[2438,2440,2441,2442,2443,2444,2445,2446,2447,2448,2449,2450,2451,2452,2453,2454,2455,2456,2457,2458,2459,2460,2461,2462,2463,2464,2465,2466,2467],{"id":232,"depth":2439,"text":188},3,{"id":249,"depth":2439,"text":250},{"id":271,"depth":2439,"text":272},{"id":288,"depth":2439,"text":289},{"id":316,"depth":2439,"text":317},{"id":335,"depth":2439,"text":336},{"id":367,"depth":2439,"text":368},{"id":390,"depth":2439,"text":391},{"id":410,"depth":2439,"text":411},{"id":422,"depth":2439,"text":423},{"id":447,"depth":2439,"text":448},{"id":465,"depth":2439,"text":466},{"id":483,"depth":2439,"text":484},{"id":500,"depth":2439,"text":198},{"id":519,"depth":2439,"text":520},{"id":543,"depth":2439,"text":544},{"id":566,"depth":2439,"text":567},{"id":593,"depth":2439,"text":594},{"id":620,"depth":2439,"text":621},{"id":637,"depth":2439,"text":638},{"id":659,"depth":2439,"text":660},{"id":741,"depth":2439,"text":742},{"id":807,"depth":2439,"text":192},{"id":820,"depth":2439,"text":821},{"id":849,"depth":2439,"text":195},{"id":869,"depth":2439,"text":870},{"id":888,"depth":2439,"text":889},{"id":907,"depth":2439,"text":908},{"id":930,"depth":2439,"text":202},{"id":948,"depth":2435,"text":949,"children":2469},[2470,2471,2472,2473,2474,2475,2476,2477,2478],{"id":952,"depth":2439,"text":953},{"id":973,"depth":2439,"text":974},{"id":1001,"depth":2439,"text":1002},{"id":1044,"depth":2439,"text":1045},{"id":1068,"depth":2439,"text":1069},{"id":1101,"depth":2439,"text":1102},{"id":1130,"depth":2439,"text":1131},{"id":1145,"depth":2439,"text":1146},{"id":1163,"depth":2439,"text":1164},{"id":1183,"depth":2435,"text":157,"children":2480},[2481,2482,2483,2484],{"id":1186,"depth":2439,"text":1187},{"id":1202,"depth":2439,"text":1203},{"id":1224,"depth":2439,"text":1225},{"id":1239,"depth":2439,"text":1240},{"id":1255,"depth":2435,"text":1216},{"id":1890,"depth":2435,"text":1891,"children":2487},[2488,2489],{"id":1894,"depth":2439,"text":1247},{"id":1932,"depth":2439,"text":177,"children":2490},[2491],{"id":2338,"depth":2492,"text":563},4,"Reference for every Kubb diagnostic code, with its severity, cause, and fix, plus the terminal, agent, and JSON formats Kubb reports them in.","md",{"layout":2496,"title":5,"description":2493,"outline":2497,"order":2498,"navigation":2499},"doc",[2435,2439],7,{"title":2500,"icon":2501},"Diagnostics","i-iconoir-warning-triangle",{"layout":2496,"outline":2503},[2435,2439],{"title":2500,"icon":2501},"\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics",{"title":5,"description":2493},{"loc":2505},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics.md","docs\u002F5.x\u002Freference\u002Fdiagnostics","dQ3R8bbWZs47hvxzfPGeI-Z049D5AAjTq5FsTl_TdsY",1795727675277,"1b64b1eb-29b7-4f90-ad41-6f24721e1669"]