[{"data":1,"prerenderedAt":1498},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky\u002Foptions":3},{"id":4,"frontmatter":5,"title":6,"heading":6,"body":7,"path":1497,"source":4},"extensions\u002Fkubb-labs\u002Fplugin-ky\u002Foptions.md",{},"Options",{"type":8,"value":9,"toc":1481},"minimark",[10,25,30,339,343,347,354,385,392,427,440,443,460,497,602,604,618,655,684,880,892,894,900,929,960,966,1025,1028,1035,1072,1088,1143,1152,1154,1157,1186,1228,1235,1361,1371,1373,1383,1412],[11,12,13,14,18,19,24],"p",{},"Pass these options to ",[15,16,17],"code",{},"pluginKy()",". Shared options link to ",[20,21,23],"a",{"href":22},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options","Shared plugin options",".",[26,27,29],"h2",{"id":28},"options-overview","Options overview",[31,32,33,49],"table",{},[34,35,36],"thead",{},[37,38,39,43,46],"tr",{},[40,41,42],"th",{},"Option",[40,44,45],{},"Purpose",[40,47,48],{},"Default",[50,51,52,71,87,102,120,138,155,175,193,208,225,247,262,280,299,321],"tbody",{},[37,53,54,63,66],{},[55,56,57],"td",{},[20,58,60],{"href":59},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#output",[15,61,62],{},"output",[55,64,65],{},"Where files are written.",[55,67,68],{},[15,69,70],{},"{ path: 'clients', barrel: { type: 'named' } }",[37,72,73,81,84],{},[55,74,75],{},[20,76,78],{"href":77},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#group",[15,79,80],{},"group",[55,82,83],{},"Split output by tag or path.",[55,85,86],{},"None",[37,88,89,97,100],{},[55,90,91],{},[20,92,94],{"href":93},"#baseurl",[15,95,96],{},"baseURL",[55,98,99],{},"Base URL the client starts with.",[55,101,86],{},[37,103,104,112,115],{},[55,105,106],{},[20,107,109],{"href":108},"#throwonerrordefault",[15,110,111],{},"throwOnErrorDefault",[55,113,114],{},"Throw on a non-2xx response unless a call says otherwise.",[55,116,117],{},[15,118,119],{},"true",[37,121,122,130,133],{},[55,123,124],{},[20,125,127],{"href":126},"#validator",[15,128,129],{},"validator",[55,131,132],{},"Validate requests and responses with Zod.",[55,134,135],{},[15,136,137],{},"false",[37,139,140,148,153],{},[55,141,142],{},[20,143,145],{"href":144},"#auth",[15,146,147],{},"auth",[55,149,150,151,24],{},"How generated functions take ",[15,152,147],{},[55,154,86],{},[37,156,157,164,170],{},[55,158,159],{},[20,160,161],{"href":144},[15,162,163],{},"auth.mode",[55,165,166,167,169],{},"Optional ",[15,168,147],{},", or required when a token is needed.",[55,171,172],{},[15,173,174],{},"'optional'",[37,176,177,185,188],{},[55,178,179],{},[20,180,182],{"href":181},"#returntype",[15,183,184],{},"returnType",[55,186,187],{},"What a call resolves to.",[55,189,190],{},[15,191,192],{},"'full'",[37,194,195,203,206],{},[55,196,197],{},[20,198,200],{"href":199},"#sdk",[15,201,202],{},"sdk",[55,204,205],{},"Generate classes instead of standalone functions.",[55,207,86],{},[37,209,210,217,220],{},[55,211,212],{},[20,213,214],{"href":199},[15,215,216],{},"sdk.mode",[55,218,219],{},"One class per tag, or one class with every operation.",[55,221,222],{},[15,223,224],{},"'tag'",[37,226,227,234,237],{},[55,228,229],{},[20,230,231],{"href":199},[15,232,233],{},"sdk.name",[55,235,236],{},"Name and file of the root or flat class.",[55,238,239,240,243,244],{},"None, or ",[15,241,242],{},"'sdk'"," with ",[15,245,246],{},"mode: 'flat'",[37,248,249,257,260],{},[55,250,251],{},[20,252,254],{"href":253},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#include",[15,255,256],{},"include",[55,258,259],{},"Keep only operations that match.",[55,261,86],{},[37,263,264,272,275],{},[55,265,266],{},[20,267,269],{"href":268},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#exclude",[15,270,271],{},"exclude",[55,273,274],{},"Skip operations that match.",[55,276,277],{},[15,278,279],{},"[]",[37,281,282,290,295],{},[55,283,284],{},[20,285,287],{"href":286},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#override",[15,288,289],{},"override",[55,291,292,293,24],{},"Options per pattern, except ",[15,294,111],{},[55,296,297],{},[15,298,279],{},[37,300,301,309,316],{},[55,302,303],{},[20,304,306],{"href":305},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#resolver",[15,307,308],{},"resolver",[55,310,311,312,24],{},"Generated names and paths, plus the ",[20,313,315],{"href":314},"#resolver","SDK names",[55,317,318],{},[15,319,320],{},"resolverClient",[37,322,323,331,334],{},[55,324,325],{},[20,326,328],{"href":327},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#macros",[15,329,330],{},"macros",[55,332,333],{},"Rewrite AST nodes before printing.",[55,335,336,338],{},[15,337,279],{},", run after the built-in client macros",[26,340,342],{"id":341},"option-details","Option details",[344,345,96],"h3",{"id":346},"baseurl",[11,348,349,350,353],{},"The base URL the client starts with. ",[15,351,352],{},"client.setConfig({ baseURL })"," replaces it at runtime.",[31,355,356,364],{},[34,357,358],{},[37,359,360,362],{},[40,361],{},[40,363],{},[50,365,366,376],{},[37,367,368,371],{},[55,369,370],{},"Type",[55,372,373],{},[15,374,375],{},"string",[37,377,378,381],{},[55,379,380],{},"Required",[55,382,383],{},[15,384,137],{},[11,386,387,388,391],{},"A ",[15,389,390],{},"${...}"," interpolation becomes a template literal, so it reads the environment at runtime:",[393,394,398],"pre",{"language":395,"code":396,"class":397},"typescript","pluginKy({ baseURL: '${process.env.API_URL}' })","highlights",[15,399,401],{"class":400},"language-typescript",[402,403,406,410,414,416,420,424],"span",{"class":404,"style":405},"line","display: inline",[402,407,409],{"style":408},"color:#6f42c1;--hls-dark:#b392f0","pluginKy",[402,411,413],{"style":412},"color:#005cc5;--hls-dark:#79b8ff","({ ",[402,415,96],{"style":412},[402,417,419],{"style":418},"color:#d73a49;--hls-dark:#f97583",": ",[402,421,423],{"style":422},"color:#032f62;--hls-dark:#9ecbff","'${process.env.API_URL}' ",[402,425,426],{"style":412},"})",[428,429,431,432,435,436,24],"blockquote",{"as":430},"note","The spec's top-level ",[15,433,434],{},"servers"," URL is never used. See ",[20,437,439],{"href":438},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky\u002Fguides\u002Fconfigure-requests#set-the-base-url","Set the base URL",[344,441,111],{"id":442},"throwonerrordefault",[11,444,445,446,449,450,452,453,456,457,24],{},"The ",[15,447,448],{},"throwOnError"," a generated function or SDK method uses when the call leaves it out. Neither ",[15,451,289],{}," nor ",[15,454,455],{},"client.setConfig({ throwOnError })"," changes it. Query hooks always pass ",[15,458,459],{},"throwOnError: true",[31,461,462,470],{},[34,463,464],{},[37,465,466,468],{},[40,467],{},[40,469],{},[50,471,472,481,489],{},[37,473,474,476],{},[55,475,370],{},[55,477,478],{},[15,479,480],{},"boolean",[37,482,483,485],{},[55,484,380],{},[55,486,487],{},[15,488,137],{},[37,490,491,493],{},[55,492,48],{},[55,494,495],{},[15,496,119],{},[393,498,500],{"language":395,"code":499,"class":397},"\u002F\u002F with pluginKy({ throwOnErrorDefault: false })\nconst result = await getPetById({ path: { petId: 1 } })\nif (result.error !== undefined) console.error(result.status, result.error)",[15,501,502,508,509,508,548],{"class":400},[402,503,504],{"class":404,"style":405},[402,505,507],{"style":506},"color:#6a737d;--hls-dark:#6a737d","\u002F\u002F with pluginKy({ throwOnErrorDefault: false })","\n",[402,510,511,514,518,521,524,527,529,532,534,537,540,542,545],{"class":404,"style":405},[402,512,513],{"style":418},"const ",[402,515,517],{"style":516},"color:#24292e;--hls-dark:#e1e4e8","result ",[402,519,520],{"style":418},"= ",[402,522,523],{"style":418},"await ",[402,525,526],{"style":408},"getPetById",[402,528,413],{"style":412},[402,530,531],{"style":412},"path",[402,533,419],{"style":418},[402,535,536],{"style":412},"{ ",[402,538,539],{"style":412},"petId",[402,541,419],{"style":418},[402,543,544],{"style":412},"1 ",[402,546,547],{"style":412},"} })",[402,549,550,553,556,559,561,564,567,570,573,576,578,581,583,585,587,590,593,595,597,599],{"class":404,"style":405},[402,551,552],{"style":418},"if ",[402,554,555],{"style":412},"(",[402,557,558],{"style":516},"result",[402,560,24],{"style":418},[402,562,563],{"style":412},"error ",[402,565,566],{"style":418},"!== ",[402,568,569],{"style":412},"undefined",[402,571,572],{"style":412},") ",[402,574,575],{"style":516},"console",[402,577,24],{"style":418},[402,579,580],{"style":408},"error",[402,582,555],{"style":412},[402,584,558],{"style":516},[402,586,24],{"style":418},[402,588,589],{"style":412},"status",[402,591,592],{"style":418},", ",[402,594,558],{"style":516},[402,596,24],{"style":418},[402,598,580],{"style":412},[402,600,601],{"style":412},")",[344,603,129],{"id":129},[11,605,606,607,610,611,614,615,24],{},"Checks requests and responses against the schemas of ",[15,608,609],{},"@kubb\u002Fplugin-zod",", so add ",[15,612,613],{},"pluginZod()"," too. A value that fails its schema throws a ",[15,616,617],{},"ParseError",[31,619,620,628],{},[34,621,622],{},[37,623,624,626],{},[40,625],{},[40,627],{},[50,629,630,639,647],{},[37,631,632,634],{},[55,633,370],{},[55,635,636],{},[15,637,638],{},"false | 'zod' | { request?: 'zod'; params?: 'zod'; response?: 'zod' }",[37,640,641,643],{},[55,642,380],{},[55,644,645],{},[15,646,137],{},[37,648,649,651],{},[55,650,48],{},[55,652,653],{},[15,654,137],{},[656,657,658,662,666],"field-group",{},[659,660,661],"field",{"name":137},"Default value. No validation. The response is cast to the generated type.",[659,663,665],{"name":664},"'zod'","Validates the success body, and an error body against the schema of its status.",[659,667,669,670,673,674,677,678,681,682,24],{"name":668},"{ request?: 'zod', params?: 'zod', response?: 'zod' }","Opts in per part. ",[15,671,672],{},"request"," checks the body and ",[15,675,676],{},"params"," the path, query, header, and cookie params before the send. ",[15,679,680],{},"response"," works as ",[15,683,664],{},[393,685,688],{"language":395,"filename":686,"code":687,"class":397},"kubb.config.ts","import { defineConfig } from 'kubb\u002Fconfig'\nimport { pluginTs } from '@kubb\u002Fplugin-ts'\nimport { pluginZod } from '@kubb\u002Fplugin-zod'\nimport { pluginKy } from '@kubb\u002Fplugin-ky'\n\nexport default defineConfig({\n  input: '.\u002FpetStore.yaml',\n  output: { path: '.\u002Fsrc\u002Fgen' },\n  plugins: [pluginTs(), pluginZod(), pluginKy({ validator: { request: 'zod', params: 'zod', response: 'zod' } })],\n})",[15,689,690,508,709,508,725,508,741,508,757,508,759,508,773,508,789,508,811,508,876],{"class":400},[402,691,692,695,697,700,703,706],{"class":404,"style":405},[402,693,694],{"style":418},"import ",[402,696,536],{"style":412},[402,698,699],{"style":516},"defineConfig ",[402,701,702],{"style":412},"} ",[402,704,705],{"style":418},"from ",[402,707,708],{"style":422},"'kubb\u002Fconfig'",[402,710,711,713,715,718,720,722],{"class":404,"style":405},[402,712,694],{"style":418},[402,714,536],{"style":412},[402,716,717],{"style":516},"pluginTs ",[402,719,702],{"style":412},[402,721,705],{"style":418},[402,723,724],{"style":422},"'@kubb\u002Fplugin-ts'",[402,726,727,729,731,734,736,738],{"class":404,"style":405},[402,728,694],{"style":418},[402,730,536],{"style":412},[402,732,733],{"style":516},"pluginZod ",[402,735,702],{"style":412},[402,737,705],{"style":418},[402,739,740],{"style":422},"'@kubb\u002Fplugin-zod'",[402,742,743,745,747,750,752,754],{"class":404,"style":405},[402,744,694],{"style":418},[402,746,536],{"style":412},[402,748,749],{"style":516},"pluginKy ",[402,751,702],{"style":412},[402,753,705],{"style":418},[402,755,756],{"style":422},"'@kubb\u002Fplugin-ky'",[402,758],{"class":404,"style":405},[402,760,761,764,767,770],{"class":404,"style":405},[402,762,763],{"style":418},"export ",[402,765,766],{"style":418},"default ",[402,768,769],{"style":408},"defineConfig",[402,771,772],{"style":412},"({",[402,774,775,778,781,783,786],{"class":404,"style":405},[402,776,777],{"style":412},"  ",[402,779,780],{"style":412},"input",[402,782,419],{"style":418},[402,784,785],{"style":422},"'.\u002FpetStore.yaml'",[402,787,788],{"style":418},",",[402,790,791,793,795,797,799,801,803,806,809],{"class":404,"style":405},[402,792,777],{"style":418},[402,794,62],{"style":412},[402,796,419],{"style":418},[402,798,536],{"style":412},[402,800,531],{"style":412},[402,802,419],{"style":418},[402,804,805],{"style":422},"'.\u002Fsrc\u002Fgen' ",[402,807,808],{"style":412},"}",[402,810,788],{"style":418},[402,812,813,815,818,820,823,826,829,831,834,836,838,840,842,844,846,848,850,852,854,856,858,860,862,864,866,868,871,874],{"class":404,"style":405},[402,814,777],{"style":418},[402,816,817],{"style":412},"plugins",[402,819,419],{"style":418},[402,821,822],{"style":412},"[",[402,824,825],{"style":408},"pluginTs",[402,827,828],{"style":412},"()",[402,830,592],{"style":418},[402,832,833],{"style":408},"pluginZod",[402,835,828],{"style":412},[402,837,592],{"style":418},[402,839,409],{"style":408},[402,841,413],{"style":412},[402,843,129],{"style":412},[402,845,419],{"style":418},[402,847,536],{"style":412},[402,849,672],{"style":412},[402,851,419],{"style":418},[402,853,664],{"style":422},[402,855,592],{"style":418},[402,857,676],{"style":412},[402,859,419],{"style":418},[402,861,664],{"style":422},[402,863,592],{"style":418},[402,865,680],{"style":412},[402,867,419],{"style":418},[402,869,870],{"style":422},"'zod' ",[402,872,873],{"style":412},"} })]",[402,875,788],{"style":418},[402,877,878],{"class":404,"style":405},[402,879,426],{"style":412},[11,881,882,883,887,888,24],{},"See ",[20,884,886],{"href":885},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky\u002Fguides\u002Ferror-handling#turn-validation-off-at-runtime","Turn validation off at runtime"," and ",[20,889,891],{"href":890},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky\u002Fguides\u002Fserialization#parameter-validation","Parameter validation",[344,893,147],{"id":147},[11,895,896,897,899],{},"Sets how generated functions take the ",[15,898,147],{}," option.",[31,901,902,910],{},[34,903,904],{},[37,905,906,908],{},[40,907],{},[40,909],{},[50,911,912,921],{},[37,913,914,916],{},[55,915,370],{},[55,917,918],{},[15,919,920],{},"{ mode?: 'optional' | 'required' }",[37,922,923,925],{},[55,924,380],{},[55,926,927],{},[15,928,137],{},[656,930,931,942],{},[659,932,934,935,937,938,941],{"name":933},"mode: 'optional'","Default value. Every generated function takes ",[15,936,147],{}," as an optional option. Use it when ",[15,939,940],{},"client.setConfig({ auth })"," supplies the token, and with the query-hook plugins, which pass a partial config to the function.",[659,943,945,946,948,949,952,953,956,957,959],{"name":944},"mode: 'required'","A generated function whose operation needs a security scheme takes ",[15,947,147],{}," as a required option, so a missing token fails at compile time. An operation without ",[15,950,951],{},"security",", or one that allows ",[15,954,955],{},"{}"," (anonymous access), keeps ",[15,958,147],{}," optional.",[11,961,962,963,965],{},"SDK classes take ",[15,964,147],{}," in their constructor and ignore this option.",[393,967,970],{"language":968,"code":969,"class":397},"ts","\u002F\u002F with pluginKy({ auth: { mode: 'required' } })\nawait addPet({ body, auth: () => getToken() })\nawait addPet({ body }) \u002F\u002F Type error: `auth` is missing",[15,971,973,508,978,508,1008],{"class":972},"language-ts",[402,974,975],{"class":404,"style":405},[402,976,977],{"style":506},"\u002F\u002F with pluginKy({ auth: { mode: 'required' } })",[402,979,980,982,985,987,990,992,994,996,999,1002,1005],{"class":404,"style":405},[402,981,523],{"style":418},[402,983,984],{"style":408},"addPet",[402,986,413],{"style":412},[402,988,989],{"style":516},"body",[402,991,592],{"style":418},[402,993,147],{"style":412},[402,995,419],{"style":418},[402,997,998],{"style":412},"() ",[402,1000,1001],{"style":418},"=> ",[402,1003,1004],{"style":408},"getToken",[402,1006,1007],{"style":412},"() })",[402,1009,1010,1012,1014,1016,1019,1022],{"class":404,"style":405},[402,1011,523],{"style":418},[402,1013,984],{"style":408},[402,1015,413],{"style":412},[402,1017,1018],{"style":516},"body ",[402,1020,1021],{"style":412},"}) ",[402,1023,1024],{"style":506},"\u002F\u002F Type error: `auth` is missing",[344,1026,184],{"id":1027},"returntype",[11,1029,1030,1031,1034],{},"What a generated function or SDK method resolves to. The query plugins and ",[15,1032,1033],{},"@kubb\u002Fplugin-mcp"," read it too.",[31,1036,1037,1045],{},[34,1038,1039],{},[37,1040,1041,1043],{},[40,1042],{},[40,1044],{},[50,1046,1047,1056,1064],{},[37,1048,1049,1051],{},[55,1050,370],{},[55,1052,1053],{},[15,1054,1055],{},"'full' | 'data'",[37,1057,1058,1060],{},[55,1059,380],{},[55,1061,1062],{},[15,1063,137],{},[37,1065,1066,1068],{},[55,1067,48],{},[55,1069,1070],{},[15,1071,192],{},[656,1073,1074,1080],{},[659,1075,1076,1077,24],{"name":192},"Default value. The full result: ",[15,1078,1079],{},"{ status, data, error, contentType, headers, request, response }",[659,1081,1083,1084,1087],{"name":1082},"'data'","The success body. With ",[15,1085,1086],{},"throwOnError: false",", the full result, so the caller can tell an error from a success.",[393,1089,1091],{"language":395,"code":1090,"class":397},"pluginKy({ returnType: 'data' })\n\nconst pet = await getPetById({ path: { petId: 1 } }) \u002F\u002F Pet, not { status, data, ... }",[15,1092,1093,508,1108,508,1110],{"class":400},[402,1094,1095,1097,1099,1101,1103,1106],{"class":404,"style":405},[402,1096,409],{"style":408},[402,1098,413],{"style":412},[402,1100,184],{"style":412},[402,1102,419],{"style":418},[402,1104,1105],{"style":422},"'data' ",[402,1107,426],{"style":412},[402,1109],{"class":404,"style":405},[402,1111,1112,1114,1117,1119,1121,1123,1125,1127,1129,1131,1133,1135,1137,1140],{"class":404,"style":405},[402,1113,513],{"style":418},[402,1115,1116],{"style":516},"pet ",[402,1118,520],{"style":418},[402,1120,523],{"style":418},[402,1122,526],{"style":408},[402,1124,413],{"style":412},[402,1126,531],{"style":412},[402,1128,419],{"style":418},[402,1130,536],{"style":412},[402,1132,539],{"style":412},[402,1134,419],{"style":418},[402,1136,544],{"style":412},[402,1138,1139],{"style":412},"} }) ",[402,1141,1142],{"style":506},"\u002F\u002F Pet, not { status, data, ... }",[11,1144,882,1145,24],{},[20,1146,1148,1149],{"href":1147},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky\u002Fguides\u002Ferror-handling#read-headers-with-returntype-data","Read headers with ",[15,1150,1151],{},"returnType: 'data'",[344,1153,202],{"id":202},[11,1155,1156],{},"Generates classes instead of standalone functions. Each instance builds its own client from its config, so two environments are two instances.",[31,1158,1159,1167],{},[34,1160,1161],{},[37,1162,1163,1165],{},[40,1164],{},[40,1166],{},[50,1168,1169,1178],{},[37,1170,1171,1173],{},[55,1172,370],{},[55,1174,1175],{},[15,1176,1177],{},"{ mode?: 'tag' | 'flat'; name?: string }",[37,1179,1180,1182],{},[55,1181,380],{},[55,1183,1184],{},[15,1185,137],{},[656,1187,1188,1211],{},[659,1189,1191,1192,1195,1196,1199,1200,1203,1204,1210],{"name":1190},"mode: 'tag'","Default value. One class per tag, such as ",[15,1193,1194],{},"PetClient",". With ",[15,1197,1198],{},"name",", a root class also shares one client with every tag: ",[15,1201,1202],{},"new PetStore(config).pet.getPetById(...)",". Throws ",[20,1205,1207],{"href":1206},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fdiagnostics#kubb-invalid-plugin-options",[15,1208,1209],{},"KUBB_INVALID_PLUGIN_OPTIONS"," with single-file output.",[659,1212,1213,1214,1216,1217,1219,1220,1223,1224,1227],{"name":246},"One class named by ",[15,1215,1198],{},", with every operation as a method. Without ",[15,1218,1198],{},", the class is ",[15,1221,1222],{},"Sdk"," in ",[15,1225,1226],{},"sdk.ts",". Works with single-file output.",[11,1229,1230,1231,1234],{},"Methods take the same options and return the same result as the standalone functions. Interceptors on the root class's ",[15,1232,1233],{},"client"," reach every tag:",[393,1236,1238],{"language":395,"code":1237,"class":397},"const api = new PetStore({ baseURL: 'https:\u002F\u002Fpetstore.swagger.io\u002Fv2' })\napi.client.interceptors.request.use((request) => request)\nawait api.pet.getPetById({ path: { petId: 1 } })\n\nconst pets = new PetClient(api.client) \u002F\u002F a tag class also accepts an existing client",[15,1239,1240,508,1266,508,1302,508,1333,508,1335],{"class":400},[402,1241,1242,1244,1247,1249,1252,1255,1257,1259,1261,1264],{"class":404,"style":405},[402,1243,513],{"style":418},[402,1245,1246],{"style":516},"api ",[402,1248,520],{"style":418},[402,1250,1251],{"style":418},"new ",[402,1253,1254],{"style":408},"PetStore",[402,1256,413],{"style":412},[402,1258,96],{"style":412},[402,1260,419],{"style":418},[402,1262,1263],{"style":422},"'https:\u002F\u002Fpetstore.swagger.io\u002Fv2' ",[402,1265,426],{"style":412},[402,1267,1268,1271,1273,1275,1277,1280,1282,1284,1286,1289,1292,1294,1296,1298,1300],{"class":404,"style":405},[402,1269,1270],{"style":516},"api",[402,1272,24],{"style":418},[402,1274,1233],{"style":412},[402,1276,24],{"style":418},[402,1278,1279],{"style":412},"interceptors",[402,1281,24],{"style":418},[402,1283,672],{"style":412},[402,1285,24],{"style":418},[402,1287,1288],{"style":408},"use",[402,1290,1291],{"style":412},"((",[402,1293,672],{"style":516},[402,1295,572],{"style":412},[402,1297,1001],{"style":418},[402,1299,672],{"style":516},[402,1301,601],{"style":412},[402,1303,1304,1306,1308,1310,1313,1315,1317,1319,1321,1323,1325,1327,1329,1331],{"class":404,"style":405},[402,1305,523],{"style":418},[402,1307,1270],{"style":516},[402,1309,24],{"style":418},[402,1311,1312],{"style":412},"pet",[402,1314,24],{"style":418},[402,1316,526],{"style":408},[402,1318,413],{"style":412},[402,1320,531],{"style":412},[402,1322,419],{"style":418},[402,1324,536],{"style":412},[402,1326,539],{"style":412},[402,1328,419],{"style":418},[402,1330,544],{"style":412},[402,1332,547],{"style":412},[402,1334],{"class":404,"style":405},[402,1336,1337,1339,1342,1344,1346,1348,1350,1352,1354,1356,1358],{"class":404,"style":405},[402,1338,513],{"style":418},[402,1340,1341],{"style":516},"pets ",[402,1343,520],{"style":418},[402,1345,1251],{"style":418},[402,1347,1194],{"style":408},[402,1349,555],{"style":412},[402,1351,1270],{"style":516},[402,1353,24],{"style":418},[402,1355,1233],{"style":412},[402,1357,572],{"style":412},[402,1359,1360],{"style":506},"\u002F\u002F a tag class also accepts an existing client",[428,1362,1364,1365,1367,1368,1370],{"as":1363},"warning","The query plugins and ",[15,1366,1033],{}," call the standalone functions, so leave ",[15,1369,202],{}," unset for them.",[344,1372,308],{"id":308},[11,1374,1375,1376,1380,1381,24],{},"Adds three members to the shared ",[20,1377,1378],{"href":305},[15,1379,308],{},". Members you leave out keep ",[15,1382,320],{},[31,1384,1385,1393],{},[34,1386,1387],{},[37,1388,1389,1391],{},[40,1390],{},[40,1392],{},[50,1394,1395,1404],{},[37,1396,1397,1399],{},[55,1398,370],{},[55,1400,1401],{},[15,1402,1403],{},"ResolverPatch\u003CResolverClient>",[37,1405,1406,1408],{},[55,1407,380],{},[55,1409,1410],{},[15,1411,137],{},[31,1413,1414,1427],{},[34,1415,1416],{},[37,1417,1418,1421,1424],{},[40,1419,1420],{},"Member",[40,1422,1423],{},"Names",[40,1425,1426],{},"Example",[50,1428,1429,1447,1464],{},[37,1430,1431,1436,1439],{},[55,1432,1433],{},[15,1434,1435],{},"className(name)",[55,1437,1438],{},"The root class, the flat class, and the class of untagged operations.",[55,1440,1441,1444,1445],{},[15,1442,1443],{},"className('petStore')"," → ",[15,1446,1254],{},[37,1448,1449,1454,1457],{},[55,1450,1451],{},[15,1452,1453],{},"groupName(name)",[55,1455,1456],{},"A tag class.",[55,1458,1459,1444,1462],{},[15,1460,1461],{},"groupName('pet')",[15,1463,1194],{},[37,1465,1466,1471,1474],{},[55,1467,1468],{},[15,1469,1470],{},"propertyName(name)",[55,1472,1473],{},"The field a tag class has on the root class.",[55,1475,1476,1444,1479],{},[15,1477,1478],{},"propertyName('pet')",[15,1480,1312],{},{"title":1482,"searchDepth":1483,"depth":1483,"links":1484},"",5,[1485,1487],{"id":28,"depth":1486,"text":29},2,{"id":341,"depth":1486,"text":342,"children":1488},[1489,1491,1492,1493,1494,1495,1496],{"id":346,"depth":1490,"text":96},3,{"id":442,"depth":1490,"text":111},{"id":129,"depth":1490,"text":129},{"id":147,"depth":1490,"text":147},{"id":1027,"depth":1490,"text":184},{"id":202,"depth":1490,"text":202},{"id":308,"depth":1490,"text":308},"\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky\u002Foptions",1795015649717]