[{"data":1,"prerenderedAt":1246},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-axios\u002Fguides\u002Fcalling-operations":3},{"id":4,"frontmatter":5,"title":6,"heading":6,"body":7,"path":1245,"source":4},"extensions\u002Fkubb-labs\u002Fplugin-axios\u002Fguides\u002Fcalling-operations.md",{},"Call operations",{"type":8,"value":9,"toc":1234},"minimark",[10,19,24,45,133,139,337,344,348,356,470,484,578,584,673,677,684,747,768,867,871,881,1010,1017,1021,1043,1104,1116,1120,1127],[11,12,13,14,18],"p",{},"The generated client accepts grouped request options on every operation and returns a typed ",[15,16,17],"code",{},"RequestResult"," by default.",[20,21,23],"h2",{"id":22},"call-an-operation","Call an operation",[11,25,26,27,30,31,30,34,30,37,40,41,44],{},"Pass parameters under ",[15,28,29],{},"path",", ",[15,32,33],{},"query",[15,35,36],{},"headers",[15,38,39],{},"cookies",", or ",[15,42,43],{},"body",", matching the OpenAPI operation.",[46,47,51],"pre",{"language":48,"code":49,"class":50},"typescript","import { getPetById } from '.\u002Fgen\u002Fclients\u002FgetPetById'\n\nconst { data } = await getPetById({ path: { petId: 1 } })\n\u002F\u002F      ^ the parsed pet, typed from the 200 response","highlights",[15,52,54,81,82,81,84,81,127],{"class":53},"language-typescript",[55,56,59,63,67,71,74,77],"span",{"class":57,"style":58},"line","display: inline",[55,60,62],{"style":61},"color:#d73a49;--hls-dark:#f97583","import ",[55,64,66],{"style":65},"color:#005cc5;--hls-dark:#79b8ff","{ ",[55,68,70],{"style":69},"color:#24292e;--hls-dark:#e1e4e8","getPetById ",[55,72,73],{"style":65},"} ",[55,75,76],{"style":61},"from ",[55,78,80],{"style":79},"color:#032f62;--hls-dark:#9ecbff","'.\u002Fgen\u002Fclients\u002FgetPetById'","\n",[55,83],{"class":57,"style":58},[55,85,86,89,91,94,96,99,102,106,109,111,114,116,119,121,124],{"class":57,"style":58},[55,87,88],{"style":61},"const ",[55,90,66],{"style":65},[55,92,93],{"style":69},"data ",[55,95,73],{"style":65},[55,97,98],{"style":61},"= ",[55,100,101],{"style":61},"await ",[55,103,105],{"style":104},"color:#6f42c1;--hls-dark:#b392f0","getPetById",[55,107,108],{"style":65},"({ ",[55,110,29],{"style":65},[55,112,113],{"style":61},": ",[55,115,66],{"style":65},[55,117,118],{"style":65},"petId",[55,120,113],{"style":61},[55,122,123],{"style":65},"1 ",[55,125,126],{"style":65},"} })",[55,128,129],{"class":57,"style":58},[55,130,132],{"style":131},"color:#6a737d;--hls-dark:#6a737d","\u002F\u002F      ^ the parsed pet, typed from the 200 response",[11,134,135,136,138],{},"Query, header, and cookie parameters sit under their own keys, and a request body goes under\n",[15,137,43],{},":",[46,140,142],{"language":48,"code":141,"class":50},"import { searchPets } from '.\u002Fgen\u002Fclients\u002FsearchPets'\nimport { updatePet } from '.\u002Fgen\u002Fclients\u002FupdatePet'\n\nawait searchPets({\n  query: { status: 'available', category: 'dogs', limit: 10, offset: 0 },\n})\n\nawait updatePet({\n  path: { petId: '123' },\n  headers: { 'X-Request-ID': 'req-123456' },\n  body: { name: 'Updated name', status: 'sold' },\n})",[15,143,144,81,160,81,176,81,178,81,188,81,243,81,248,81,250,81,259,81,280,81,302,81,333],{"class":53},[55,145,146,148,150,153,155,157],{"class":57,"style":58},[55,147,62],{"style":61},[55,149,66],{"style":65},[55,151,152],{"style":69},"searchPets ",[55,154,73],{"style":65},[55,156,76],{"style":61},[55,158,159],{"style":79},"'.\u002Fgen\u002Fclients\u002FsearchPets'",[55,161,162,164,166,169,171,173],{"class":57,"style":58},[55,163,62],{"style":61},[55,165,66],{"style":65},[55,167,168],{"style":69},"updatePet ",[55,170,73],{"style":65},[55,172,76],{"style":61},[55,174,175],{"style":79},"'.\u002Fgen\u002Fclients\u002FupdatePet'",[55,177],{"class":57,"style":58},[55,179,180,182,185],{"class":57,"style":58},[55,181,101],{"style":61},[55,183,184],{"style":104},"searchPets",[55,186,187],{"style":65},"({",[55,189,190,193,195,197,199,202,204,207,209,212,214,217,219,222,224,227,229,232,234,237,240],{"class":57,"style":58},[55,191,192],{"style":65},"  ",[55,194,33],{"style":65},[55,196,113],{"style":61},[55,198,66],{"style":65},[55,200,201],{"style":65},"status",[55,203,113],{"style":61},[55,205,206],{"style":79},"'available'",[55,208,30],{"style":61},[55,210,211],{"style":65},"category",[55,213,113],{"style":61},[55,215,216],{"style":79},"'dogs'",[55,218,30],{"style":61},[55,220,221],{"style":65},"limit",[55,223,113],{"style":61},[55,225,226],{"style":65},"10",[55,228,30],{"style":61},[55,230,231],{"style":65},"offset",[55,233,113],{"style":61},[55,235,236],{"style":65},"0 ",[55,238,239],{"style":65},"}",[55,241,242],{"style":61},",",[55,244,245],{"class":57,"style":58},[55,246,247],{"style":65},"})",[55,249],{"class":57,"style":58},[55,251,252,254,257],{"class":57,"style":58},[55,253,101],{"style":61},[55,255,256],{"style":104},"updatePet",[55,258,187],{"style":65},[55,260,261,263,265,267,269,271,273,276,278],{"class":57,"style":58},[55,262,192],{"style":65},[55,264,29],{"style":65},[55,266,113],{"style":61},[55,268,66],{"style":65},[55,270,118],{"style":65},[55,272,113],{"style":61},[55,274,275],{"style":79},"'123' ",[55,277,239],{"style":65},[55,279,242],{"style":61},[55,281,282,284,286,288,290,293,295,298,300],{"class":57,"style":58},[55,283,192],{"style":61},[55,285,36],{"style":65},[55,287,113],{"style":61},[55,289,66],{"style":65},[55,291,292],{"style":79},"'X-Request-ID'",[55,294,113],{"style":61},[55,296,297],{"style":79},"'req-123456' ",[55,299,239],{"style":65},[55,301,242],{"style":61},[55,303,304,306,308,310,312,315,317,320,322,324,326,329,331],{"class":57,"style":58},[55,305,192],{"style":61},[55,307,43],{"style":65},[55,309,113],{"style":61},[55,311,66],{"style":65},[55,313,314],{"style":65},"name",[55,316,113],{"style":61},[55,318,319],{"style":79},"'Updated name'",[55,321,30],{"style":61},[55,323,201],{"style":65},[55,325,113],{"style":61},[55,327,328],{"style":79},"'sold' ",[55,330,239],{"style":65},[55,332,242],{"style":61},[55,334,335],{"class":57,"style":58},[55,336,247],{"style":65},[11,338,339,340,343],{},"Each key is optional and only appears when the operation declares it. Call an operation with no parameters with an empty object: ",[15,341,342],{},"getStatus({})",".",[20,345,347],{"id":346},"read-the-result","Read the result",[11,349,350,351,353,354,138],{},"A resolved call returns a ",[15,352,17],{}," discriminated by the numeric ",[15,355,201],{},[46,357,359],{"language":48,"code":358,"class":50},"type RequestResult = {\n  status: number\n  data: TData \u002F\u002F the parsed success body, undefined on an error result\n  error: TError \u002F\u002F the parsed error body, undefined on a success result\n  contentType: string | undefined \u002F\u002F the negotiated response media type\n  request: AxiosRequestConfig \u002F\u002F the native request config\n  response: AxiosResponse \u002F\u002F the native response\n}",[15,360,361,81,374,81,385,81,400,81,415,81,436,81,451,81,466],{"class":53},[55,362,363,366,369,371],{"class":57,"style":58},[55,364,365],{"style":61},"type ",[55,367,368],{"style":104},"RequestResult ",[55,370,98],{"style":61},[55,372,373],{"style":65},"{",[55,375,376,378,380,382],{"class":57,"style":58},[55,377,192],{"style":65},[55,379,201],{"style":65},[55,381,113],{"style":69},[55,383,384],{"style":104},"number",[55,386,387,389,392,394,397],{"class":57,"style":58},[55,388,192],{"style":104},[55,390,391],{"style":69},"data",[55,393,113],{"style":69},[55,395,396],{"style":104},"TData ",[55,398,399],{"style":131},"\u002F\u002F the parsed success body, undefined on an error result",[55,401,402,404,407,409,412],{"class":57,"style":58},[55,403,192],{"style":131},[55,405,406],{"style":69},"error",[55,408,113],{"style":69},[55,410,411],{"style":104},"TError ",[55,413,414],{"style":131},"\u002F\u002F the parsed error body, undefined on a success result",[55,416,417,419,422,424,427,430,433],{"class":57,"style":58},[55,418,192],{"style":131},[55,420,421],{"style":69},"contentType",[55,423,113],{"style":69},[55,425,426],{"style":104},"string ",[55,428,429],{"style":61},"| ",[55,431,432],{"style":65},"undefined ",[55,434,435],{"style":131},"\u002F\u002F the negotiated response media type",[55,437,438,440,443,445,448],{"class":57,"style":58},[55,439,192],{"style":131},[55,441,442],{"style":69},"request",[55,444,113],{"style":69},[55,446,447],{"style":104},"AxiosRequestConfig ",[55,449,450],{"style":131},"\u002F\u002F the native request config",[55,452,453,455,458,460,463],{"class":57,"style":58},[55,454,192],{"style":131},[55,456,457],{"style":69},"response",[55,459,113],{"style":69},[55,461,462],{"style":104},"AxiosResponse ",[55,464,465],{"style":131},"\u002F\u002F the native response",[55,467,468],{"class":57,"style":58},[55,469,239],{"style":65},[11,471,472,473,476,477,480,481,483],{},"When ",[15,474,475],{},"throwOnError"," is ",[15,478,479],{},"true"," (the generated default), a resolved call is always a success, so you\nread ",[15,482,391],{}," straight away:",[46,485,487],{"language":48,"code":486,"class":50},"const { data, status, response } = await getPetById({ path: { petId: 1 } })\n\nconsole.info(status) \u002F\u002F 200\nconsole.info(response.headers['x-ratelimit-remaining'])",[15,488,489,81,530,81,532,81,553],{"class":53},[55,490,491,493,495,497,499,501,503,506,508,510,512,514,516,518,520,522,524,526,528],{"class":57,"style":58},[55,492,88],{"style":61},[55,494,66],{"style":65},[55,496,391],{"style":69},[55,498,30],{"style":61},[55,500,201],{"style":69},[55,502,30],{"style":61},[55,504,505],{"style":69},"response ",[55,507,73],{"style":65},[55,509,98],{"style":61},[55,511,101],{"style":61},[55,513,105],{"style":104},[55,515,108],{"style":65},[55,517,29],{"style":65},[55,519,113],{"style":61},[55,521,66],{"style":65},[55,523,118],{"style":65},[55,525,113],{"style":61},[55,527,123],{"style":65},[55,529,126],{"style":65},[55,531],{"class":57,"style":58},[55,533,534,537,539,542,545,547,550],{"class":57,"style":58},[55,535,536],{"style":69},"console",[55,538,343],{"style":61},[55,540,541],{"style":104},"info",[55,543,544],{"style":65},"(",[55,546,201],{"style":69},[55,548,549],{"style":65},") ",[55,551,552],{"style":131},"\u002F\u002F 200",[55,554,555,557,559,561,563,565,567,569,572,575],{"class":57,"style":58},[55,556,536],{"style":69},[55,558,343],{"style":61},[55,560,541],{"style":104},[55,562,544],{"style":65},[55,564,457],{"style":69},[55,566,343],{"style":61},[55,568,36],{"style":65},[55,570,571],{"style":65},"[",[55,573,574],{"style":79},"'x-ratelimit-remaining'",[55,576,577],{"style":65},"])",[11,579,580,581,583],{},"When an operation documents more than one success status, narrow on ",[15,582,201],{}," to reach the body\nfor that case, and TypeScript follows the check:",[46,585,587],{"language":48,"code":586,"class":50},"const result = await getPetById({ path: { petId: 1 } })\n\nif (result.status === 200) {\n  console.info(result.data.name)\n}",[15,588,589,81,618,81,620,81,644,81,669],{"class":53},[55,590,591,593,596,598,600,602,604,606,608,610,612,614,616],{"class":57,"style":58},[55,592,88],{"style":61},[55,594,595],{"style":69},"result ",[55,597,98],{"style":61},[55,599,101],{"style":61},[55,601,105],{"style":104},[55,603,108],{"style":65},[55,605,29],{"style":65},[55,607,113],{"style":61},[55,609,66],{"style":65},[55,611,118],{"style":65},[55,613,113],{"style":61},[55,615,123],{"style":65},[55,617,126],{"style":65},[55,619],{"class":57,"style":58},[55,621,622,625,627,630,632,635,638,641],{"class":57,"style":58},[55,623,624],{"style":61},"if ",[55,626,544],{"style":65},[55,628,629],{"style":69},"result",[55,631,343],{"style":61},[55,633,634],{"style":65},"status ",[55,636,637],{"style":61},"=== ",[55,639,640],{"style":65},"200",[55,642,643],{"style":65},") {",[55,645,646,648,650,652,654,656,658,660,662,664,666],{"class":57,"style":58},[55,647,192],{"style":65},[55,649,536],{"style":69},[55,651,343],{"style":61},[55,653,541],{"style":104},[55,655,544],{"style":65},[55,657,629],{"style":69},[55,659,343],{"style":61},[55,661,391],{"style":65},[55,663,343],{"style":61},[55,665,314],{"style":65},[55,667,668],{"style":65},")",[55,670,671],{"class":57,"style":58},[55,672,239],{"style":65},[20,674,676],{"id":675},"unwrap-the-success-body","Unwrap the success body",[11,678,679,680,683],{},"Call ",[15,681,682],{},".unwrap()"," to return the success body. Awaiting the operation directly returns the full result.",[46,685,687],{"language":48,"code":686,"class":50},"import { getPetById } from '.\u002Fgen\u002Fclients\u002FgetPetById'\n\nconst pet = await getPetById({ path: { petId: 1 } }).unwrap()\n\u002F\u002F    ^ the parsed pet, not the full RequestResult",[15,688,689,81,703,81,705,81,742],{"class":53},[55,690,691,693,695,697,699,701],{"class":57,"style":58},[55,692,62],{"style":61},[55,694,66],{"style":65},[55,696,70],{"style":69},[55,698,73],{"style":65},[55,700,76],{"style":61},[55,702,80],{"style":79},[55,704],{"class":57,"style":58},[55,706,707,709,712,714,716,718,720,722,724,726,728,730,732,734,736,739],{"class":57,"style":58},[55,708,88],{"style":61},[55,710,711],{"style":69},"pet ",[55,713,98],{"style":61},[55,715,101],{"style":61},[55,717,105],{"style":104},[55,719,108],{"style":65},[55,721,29],{"style":65},[55,723,113],{"style":61},[55,725,66],{"style":65},[55,727,118],{"style":65},[55,729,113],{"style":61},[55,731,123],{"style":65},[55,733,126],{"style":65},[55,735,343],{"style":61},[55,737,738],{"style":104},"unwrap",[55,740,741],{"style":65},"()",[55,743,744],{"class":57,"style":58},[55,745,746],{"style":131},"\u002F\u002F    ^ the parsed pet, not the full RequestResult",[11,748,749,750,753,754,757,758,761,762,30,765,767],{},"With ",[15,751,752],{},"throwOnError: true",", a non-2xx response throws the same ",[15,755,756],{},"ResponseError"," a plain ",[15,759,760],{},"await"," would. With ",[15,763,764],{},"throwOnError: false",[15,766,682],{}," rejects with the parsed error body instead:",[46,769,771],{"language":48,"code":770,"class":50},"try {\n  const pet = await getPetById({ path: { petId: 1 }, throwOnError: false }).unwrap()\n} catch (error) {\n  \u002F\u002F the parsed error body, not a ResponseError\n  console.error(error)\n}",[15,772,773,81,780,81,827,81,840,81,847,81,863],{"class":53},[55,774,775,778],{"class":57,"style":58},[55,776,777],{"style":61},"try ",[55,779,373],{"style":65},[55,781,782,784,786,788,790,792,794,796,798,800,802,804,806,808,810,812,814,816,819,821,823,825],{"class":57,"style":58},[55,783,192],{"style":65},[55,785,88],{"style":61},[55,787,711],{"style":69},[55,789,98],{"style":61},[55,791,101],{"style":61},[55,793,105],{"style":104},[55,795,108],{"style":65},[55,797,29],{"style":65},[55,799,113],{"style":61},[55,801,66],{"style":65},[55,803,118],{"style":65},[55,805,113],{"style":61},[55,807,123],{"style":65},[55,809,239],{"style":65},[55,811,30],{"style":61},[55,813,475],{"style":65},[55,815,113],{"style":61},[55,817,818],{"style":65},"false ",[55,820,247],{"style":65},[55,822,343],{"style":61},[55,824,738],{"style":104},[55,826,741],{"style":65},[55,828,829,831,834,836,838],{"class":57,"style":58},[55,830,73],{"style":65},[55,832,833],{"style":61},"catch ",[55,835,544],{"style":65},[55,837,406],{"style":69},[55,839,643],{"style":65},[55,841,842,844],{"class":57,"style":58},[55,843,192],{"style":65},[55,845,846],{"style":131},"\u002F\u002F the parsed error body, not a ResponseError",[55,848,849,851,853,855,857,859,861],{"class":57,"style":58},[55,850,192],{"style":131},[55,852,536],{"style":69},[55,854,343],{"style":61},[55,856,406],{"style":104},[55,858,544],{"style":65},[55,860,406],{"style":69},[55,862,668],{"style":65},[55,864,865],{"class":57,"style":58},[55,866,239],{"style":65},[20,868,870],{"id":869},"set-the-content-type","Set the content type",[11,872,873,874,876,877,880],{},"When an operation accepts or returns more than one media type, set ",[15,875,421],{}," on the call. A\nbare string sets the request content type. The object form also sends an ",[15,878,879],{},"Accept"," header for the\nresponse:",[46,882,884],{"language":48,"code":883,"class":50},"await uploadAvatar({\n  path: { petId: '123' },\n  body: avatarBlob,\n  contentType: 'image\u002Fpng',\n})\n\nawait getPet({\n  path: { petId: '123' },\n  contentType: { request: 'application\u002Fjson', response: 'application\u002Fxml' },\n})",[15,885,886,81,895,81,915,81,928,81,941,81,945,81,947,81,956,81,976,81,1006],{"class":53},[55,887,888,890,893],{"class":57,"style":58},[55,889,101],{"style":61},[55,891,892],{"style":104},"uploadAvatar",[55,894,187],{"style":65},[55,896,897,899,901,903,905,907,909,911,913],{"class":57,"style":58},[55,898,192],{"style":65},[55,900,29],{"style":65},[55,902,113],{"style":61},[55,904,66],{"style":65},[55,906,118],{"style":65},[55,908,113],{"style":61},[55,910,275],{"style":79},[55,912,239],{"style":65},[55,914,242],{"style":61},[55,916,917,919,921,923,926],{"class":57,"style":58},[55,918,192],{"style":61},[55,920,43],{"style":65},[55,922,113],{"style":61},[55,924,925],{"style":69},"avatarBlob",[55,927,242],{"style":61},[55,929,930,932,934,936,939],{"class":57,"style":58},[55,931,192],{"style":61},[55,933,421],{"style":65},[55,935,113],{"style":61},[55,937,938],{"style":79},"'image\u002Fpng'",[55,940,242],{"style":61},[55,942,943],{"class":57,"style":58},[55,944,247],{"style":65},[55,946],{"class":57,"style":58},[55,948,949,951,954],{"class":57,"style":58},[55,950,101],{"style":61},[55,952,953],{"style":104},"getPet",[55,955,187],{"style":65},[55,957,958,960,962,964,966,968,970,972,974],{"class":57,"style":58},[55,959,192],{"style":65},[55,961,29],{"style":65},[55,963,113],{"style":61},[55,965,66],{"style":65},[55,967,118],{"style":65},[55,969,113],{"style":61},[55,971,275],{"style":79},[55,973,239],{"style":65},[55,975,242],{"style":61},[55,977,978,980,982,984,986,988,990,993,995,997,999,1002,1004],{"class":57,"style":58},[55,979,192],{"style":61},[55,981,421],{"style":65},[55,983,113],{"style":61},[55,985,66],{"style":65},[55,987,442],{"style":65},[55,989,113],{"style":61},[55,991,992],{"style":79},"'application\u002Fjson'",[55,994,30],{"style":61},[55,996,457],{"style":65},[55,998,113],{"style":61},[55,1000,1001],{"style":79},"'application\u002Fxml' ",[55,1003,239],{"style":65},[55,1005,242],{"style":61},[55,1007,1008],{"class":57,"style":58},[55,1009,247],{"style":65},[11,1011,1012,1013,1016],{},"An operation that declares a single content type has it built in, so a multipart upload such as ",[15,1014,1015],{},"uploadFile({ path: { petId: '123' }, body: { file: pngBlob } })"," needs only the body.",[20,1018,1020],{"id":1019},"pass-native-client-options","Pass native client options",[11,1022,1023,1024,1027,1028,30,1031,30,1034,30,1037,40,1040,138],{},"Pass ",[15,1025,1026],{},"options"," on an operation for native axios settings, such as ",[15,1029,1030],{},"timeout",[15,1032,1033],{},"proxy",[15,1035,1036],{},"maxRedirects",[15,1038,1039],{},"decompress",[15,1041,1042],{},"onUploadProgress",[46,1044,1047],{"language":48,"filename":1045,"code":1046,"class":50},"src\u002Fapp.ts","import { getPetById } from '.\u002Fgen\u002Fclients\u002FgetPetById'\n\nawait getPetById({ path: { petId: 1 }, options: { timeout: 5_000 } })",[15,1048,1049,81,1063,81,1065],{"class":53},[55,1050,1051,1053,1055,1057,1059,1061],{"class":57,"style":58},[55,1052,62],{"style":61},[55,1054,66],{"style":65},[55,1056,70],{"style":69},[55,1058,73],{"style":65},[55,1060,76],{"style":61},[55,1062,80],{"style":79},[55,1064],{"class":57,"style":58},[55,1066,1067,1069,1071,1073,1075,1077,1079,1081,1083,1085,1087,1089,1091,1093,1095,1097,1099,1102],{"class":57,"style":58},[55,1068,101],{"style":61},[55,1070,105],{"style":104},[55,1072,108],{"style":65},[55,1074,29],{"style":65},[55,1076,113],{"style":61},[55,1078,66],{"style":65},[55,1080,118],{"style":65},[55,1082,113],{"style":61},[55,1084,123],{"style":65},[55,1086,239],{"style":65},[55,1088,30],{"style":61},[55,1090,1026],{"style":65},[55,1092,113],{"style":61},[55,1094,66],{"style":65},[55,1096,1030],{"style":65},[55,1098,113],{"style":61},[55,1100,1101],{"style":65},"5_000 ",[55,1103,126],{"style":65},[11,1105,1106,1107,1110,1111,343],{},"Set ",[15,1108,1109],{},"client.setConfig({ options })"," for shared defaults. Per-call options take precedence. Kubb keeps control of serialization and HTTP error handling. See ",[1112,1113,1115],"a",{"href":1114},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-axios\u002Fguides\u002Ftransport","Use a custom transport",[20,1117,1119],{"id":1118},"build-a-url-without-sending","Build a URL without sending",[11,1121,1122,1123,1126],{},"Use ",[15,1124,1125],{},"client.getUrl"," to build a URL with the same base URL, path interpolation, and query serialization as a request:",[46,1128,1130],{"language":48,"code":1129,"class":50},"import { client } from '.\u002Fgen\u002F.kubb\u002Fclient'\n\nconst url = client.getUrl({\n  url: '\u002Fpets\u002F{petId}',\n  path: { petId: 1 },\n  query: { fields: 'name' },\n})\n\u002F\u002F https:\u002F\u002Fapi.example.com\u002Fv1\u002Fpets\u002F1?fields=name",[15,1131,1132,81,1148,81,1150,81,1169,81,1183,81,1203,81,1225,81,1229],{"class":53},[55,1133,1134,1136,1138,1141,1143,1145],{"class":57,"style":58},[55,1135,62],{"style":61},[55,1137,66],{"style":65},[55,1139,1140],{"style":69},"client ",[55,1142,73],{"style":65},[55,1144,76],{"style":61},[55,1146,1147],{"style":79},"'.\u002Fgen\u002F.kubb\u002Fclient'",[55,1149],{"class":57,"style":58},[55,1151,1152,1154,1157,1159,1162,1164,1167],{"class":57,"style":58},[55,1153,88],{"style":61},[55,1155,1156],{"style":69},"url ",[55,1158,98],{"style":61},[55,1160,1161],{"style":69},"client",[55,1163,343],{"style":61},[55,1165,1166],{"style":104},"getUrl",[55,1168,187],{"style":65},[55,1170,1171,1173,1176,1178,1181],{"class":57,"style":58},[55,1172,192],{"style":65},[55,1174,1175],{"style":65},"url",[55,1177,113],{"style":61},[55,1179,1180],{"style":79},"'\u002Fpets\u002F{petId}'",[55,1182,242],{"style":61},[55,1184,1185,1187,1189,1191,1193,1195,1197,1199,1201],{"class":57,"style":58},[55,1186,192],{"style":61},[55,1188,29],{"style":65},[55,1190,113],{"style":61},[55,1192,66],{"style":65},[55,1194,118],{"style":65},[55,1196,113],{"style":61},[55,1198,123],{"style":65},[55,1200,239],{"style":65},[55,1202,242],{"style":61},[55,1204,1205,1207,1209,1211,1213,1216,1218,1221,1223],{"class":57,"style":58},[55,1206,192],{"style":61},[55,1208,33],{"style":65},[55,1210,113],{"style":61},[55,1212,66],{"style":65},[55,1214,1215],{"style":65},"fields",[55,1217,113],{"style":61},[55,1219,1220],{"style":79},"'name' ",[55,1222,239],{"style":65},[55,1224,242],{"style":61},[55,1226,1227],{"class":57,"style":58},[55,1228,247],{"style":65},[55,1230,1231],{"class":57,"style":58},[55,1232,1233],{"style":131},"\u002F\u002F https:\u002F\u002Fapi.example.com\u002Fv1\u002Fpets\u002F1?fields=name",{"title":1235,"searchDepth":1236,"depth":1236,"links":1237},"",5,[1238,1240,1241,1242,1243,1244],{"id":22,"depth":1239,"text":23},2,{"id":346,"depth":1239,"text":347},{"id":675,"depth":1239,"text":676},{"id":869,"depth":1239,"text":870},{"id":1019,"depth":1239,"text":1020},{"id":1118,"depth":1239,"text":1119},"\u002Fextensions\u002Fkubb-labs\u002Fplugin-axios\u002Fguides\u002Fcalling-operations",1793639046823]