@redocly/cli 2.66.1 → 2.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/lib/chunks/{PYSE2LAG.js → 2AJDP47K.js} +1 -1
  2. package/lib/chunks/{7NPQH3V7.js → 3HSHTOK2.js} +1 -1
  3. package/lib/chunks/{F7K3O6UM.js → 3SPC2VZI.js} +1 -1
  4. package/lib/chunks/{K4IZRPJV.js → 4JI4GT6B.js} +35 -35
  5. package/lib/chunks/{CK2FG2DD.js → 6BJRKKAU.js} +1 -1
  6. package/lib/chunks/{JZV7OYQZ.js → 7WOMNRDU.js} +1 -1
  7. package/lib/chunks/{ULKOLYWY.js → 7YY5ECWE.js} +1 -1
  8. package/lib/chunks/{SDGM5YBT.js → A3NSKGWO.js} +1 -1
  9. package/lib/chunks/{4ABWBH3W.js → AENSGZDZ.js} +1 -1
  10. package/lib/chunks/{TPBJSMIK.js → AL7PXK7F.js} +1 -1
  11. package/lib/chunks/{B4Z2Z4FS.js → BUQQJCMF.js} +1 -1
  12. package/lib/chunks/{TLDUEX6A.js → BYO4KBZG.js} +1 -1
  13. package/lib/chunks/{LR6VKQFM.js → CCZY5XJV.js} +2 -2
  14. package/lib/chunks/{VAPT4FUS.js → D4U2LEEI.js} +1 -1
  15. package/lib/chunks/{GLUPJCQU.js → D5A4WCOD.js} +1 -1
  16. package/lib/chunks/{LJTGHAPA.js → DQZXJA6Q.js} +1 -1
  17. package/lib/chunks/{FXCLUZIF.js → DTPYQUHR.js} +13 -13
  18. package/lib/chunks/{U7SJFXVW.js → EDKRUI6D.js} +1 -1
  19. package/lib/chunks/{WFZEGGBA.js → EOCKJNES.js} +1 -1
  20. package/lib/chunks/{LSFJCPZH.js → EPVPJTXN.js} +1 -1
  21. package/lib/chunks/{TOBKCE6P.js → F77DQGVI.js} +1 -1
  22. package/lib/chunks/{T23ZPTN4.js → F7DLPPNU.js} +1 -1
  23. package/lib/chunks/{ROLEKKAB.js → G67BALR7.js} +1 -1
  24. package/lib/chunks/{RALPAYEE.js → GP5VOB7R.js} +1 -1
  25. package/lib/chunks/{POIQ4MUQ.js → GU34RIUR.js} +1 -1
  26. package/lib/chunks/{L3SH4LDY.js → H3CWVIT3.js} +1 -1
  27. package/lib/chunks/{ON2YZD5C.js → HET452FN.js} +1 -1
  28. package/lib/chunks/{HXPCC4OG.js → HG5B2AKP.js} +1 -1
  29. package/lib/chunks/{NUBOB7QM.js → HPYQF7FO.js} +2 -2
  30. package/lib/chunks/{KOEA2NZG.js → HQTUYG5X.js} +2 -2
  31. package/lib/chunks/{M37DUXGN.js → HU6QTMHN.js} +1 -1
  32. package/lib/chunks/{IAAYM25M.js → IHFKHD4E.js} +1 -1
  33. package/lib/chunks/{NT6J6VMM.js → IRF3OXDB.js} +1 -1
  34. package/lib/chunks/{OYDBXGWA.js → IZVG6IUS.js} +1 -1
  35. package/lib/chunks/{UJN4HIWM.js → J32G7NQF.js} +1 -1
  36. package/lib/chunks/{AONBK2JI.js → JH6AK2RM.js} +1 -1
  37. package/lib/chunks/{RO4A6LSK.js → JMYCFXFO.js} +1 -1
  38. package/lib/chunks/{6KF4UNVM.js → KA43H34P.js} +1 -1
  39. package/lib/chunks/{R5MSEDNK.js → KHQEQ7SW.js} +1 -1
  40. package/lib/chunks/{ZSK75GT2.js → KIFTQ6KG.js} +1 -1
  41. package/lib/chunks/{JGSM4NRA.js → KMGFC2JR.js} +1 -1
  42. package/lib/chunks/{5EHUKG3I.js → LEPQDSTM.js} +1 -1
  43. package/lib/chunks/{UYF7BOSD.js → LZUYKJND.js} +1 -1
  44. package/lib/chunks/{PGX27JIK.js → M5FZMXND.js} +1 -1
  45. package/lib/chunks/{NHOPECWM.js → MLLRCWW6.js} +1 -1
  46. package/lib/chunks/{FOXOWXSK.js → OKWRNBEY.js} +1 -1
  47. package/lib/chunks/{JFWECYV5.js → OLVAP7AA.js} +1 -1
  48. package/lib/chunks/{CVCE3TMJ.js → OUNJECS6.js} +1 -1
  49. package/lib/chunks/{6JHVGOS4.js → PNADRNVV.js} +1 -1
  50. package/lib/chunks/{NFCO7FU3.js → QPNNEO3Y.js} +1 -1
  51. package/lib/chunks/{FP63LRP5.js → QT45SNBU.js} +1 -1
  52. package/lib/chunks/{46YO7ZAG.js → RIJ5NQKJ.js} +1 -1
  53. package/lib/chunks/{IVWO724G.js → RV4QSDBS.js} +1 -1
  54. package/lib/chunks/{ARBQ5CUR.js → SR776DY3.js} +1 -1
  55. package/lib/chunks/{QMIJ4HMG.js → TO7JCTX3.js} +1 -1
  56. package/lib/chunks/{DRSH6QBU.js → UNWO4KGQ.js} +1 -1
  57. package/lib/chunks/{YY44N7JX.js → VEVZJC25.js} +1 -1
  58. package/lib/chunks/{AZPQQ3GI.js → VJQCED3T.js} +1 -1
  59. package/lib/chunks/{FHDBQIEB.js → WFKHK77N.js} +1 -1
  60. package/lib/chunks/{36DQZK3T.js → WH5ELPJC.js} +1 -1
  61. package/lib/chunks/{STYLK3WI.js → WHI5PM5X.js} +1 -1
  62. package/lib/chunks/{YCJL4ZHF.js → WJLUIDSE.js} +1 -1
  63. package/lib/chunks/{M3VAMERP.js → XZIAEGVZ.js} +1 -1
  64. package/lib/chunks/{JZPKVDJA.js → XZNJU67S.js} +1 -1
  65. package/lib/chunks/{LIDTATJI.js → Y5OFK6NL.js} +1 -1
  66. package/lib/chunks/{GG6HRP6Y.js → YIXIZB5W.js} +1 -1
  67. package/lib/chunks/{OMDMN4SS.js → YQYR6TIT.js} +1 -1
  68. package/lib/chunks/YUHXZXUL.js +34 -0
  69. package/lib/chunks/{KTZA5BVG.js → ZLAHBPRQ.js} +1 -1
  70. package/lib/chunks/{USAJ5FBD.js → ZMV5LF7Y.js} +1 -1
  71. package/lib/eject-assets/generators/cli/docs.ts +1 -1
  72. package/lib/eject-assets/generators/cli/engine-source.ts +1 -1
  73. package/lib/eject-assets/generators/cli/index.ts +2 -2
  74. package/lib/eject-assets/generators/cli/render.ts +1 -1
  75. package/lib/eject-assets/generators/go/client.ts +1 -1
  76. package/lib/eject-assets/generators/go/descriptor.ts +1 -1
  77. package/lib/eject-assets/generators/go/index.ts +2 -2
  78. package/lib/eject-assets/generators/go/models.ts +1 -1
  79. package/lib/eject-assets/generators/go/naming.ts +1 -1
  80. package/lib/eject-assets/generators/go/operations.ts +1 -1
  81. package/lib/eject-assets/generators/go/pagination.ts +1 -1
  82. package/lib/eject-assets/generators/go/types.ts +1 -1
  83. package/lib/eject-assets/generators/mock/faker.ts +1 -1
  84. package/lib/eject-assets/generators/mock/index.ts +2 -2
  85. package/lib/eject-assets/generators/mock/render.ts +1 -1
  86. package/lib/eject-assets/generators/mock/sample.ts +1 -1
  87. package/lib/eject-assets/generators/mock/values.ts +1 -1
  88. package/lib/eject-assets/generators/php/client.ts +1 -1
  89. package/lib/eject-assets/generators/php/descriptor.ts +1 -1
  90. package/lib/eject-assets/generators/php/index.ts +2 -2
  91. package/lib/eject-assets/generators/php/models.ts +1 -1
  92. package/lib/eject-assets/generators/php/naming.ts +1 -1
  93. package/lib/eject-assets/generators/php/operations.ts +1 -1
  94. package/lib/eject-assets/generators/php/pagination.ts +1 -1
  95. package/lib/eject-assets/generators/php/types.ts +1 -1
  96. package/lib/eject-assets/generators/python/client.ts +1 -1
  97. package/lib/eject-assets/generators/python/descriptor.ts +1 -1
  98. package/lib/eject-assets/generators/python/index.ts +2 -2
  99. package/lib/eject-assets/generators/python/models.ts +1 -1
  100. package/lib/eject-assets/generators/python/naming.ts +1 -1
  101. package/lib/eject-assets/generators/python/operations.ts +1 -1
  102. package/lib/eject-assets/generators/python/pagination.ts +1 -1
  103. package/lib/eject-assets/generators/python/types.ts +1 -1
  104. package/lib/eject-assets/generators/swr/index.ts +2 -2
  105. package/lib/eject-assets/generators/swr/render.ts +1 -1
  106. package/lib/eject-assets/generators/tanstack-query/index.ts +2 -2
  107. package/lib/eject-assets/generators/tanstack-query/render.ts +1 -1
  108. package/lib/eject-assets/generators/transformers/index.ts +2 -2
  109. package/lib/eject-assets/generators/transformers/render.ts +1 -1
  110. package/lib/eject-assets/generators/typescript/banner.ts +1 -1
  111. package/lib/eject-assets/generators/typescript/client.ts +1 -1
  112. package/lib/eject-assets/generators/typescript/descriptor.ts +1 -1
  113. package/lib/eject-assets/generators/typescript/index.ts +2 -2
  114. package/lib/eject-assets/generators/typescript/inline-runtime.ts +1 -1
  115. package/lib/eject-assets/generators/typescript/operation-signature.ts +1 -1
  116. package/lib/eject-assets/generators/typescript/operation-types.ts +1 -1
  117. package/lib/eject-assets/generators/typescript/operations.ts +1 -1
  118. package/lib/eject-assets/generators/typescript/response-headers.ts +1 -1
  119. package/lib/eject-assets/generators/typescript/type-guards.ts +1 -1
  120. package/lib/eject-assets/generators/typescript/types.ts +1 -1
  121. package/lib/eject-assets/generators/zod/index.ts +2 -2
  122. package/lib/eject-assets/generators/zod/schemas.ts +1 -1
  123. package/lib/index.js +5 -5
  124. package/package.json +1 -1
  125. package/lib/chunks/MSJZTIMR.js +0 -34
@@ -8,4 +8,4 @@ import{a as p,f,j as d,m as u}from"./UW4UC7ZI.js";function m(e,t,n){let i=t??{},
8
8
  `))e.line(l);e.line("```"),e.blank()}let s=[...n.pathParams,...n.queryParams,...n.headerParams];s.length>0&&w(e,s),n.requestBody!==void 0&&e.line(`Body: \`${n.requestBody.contentType}\`${n.requestBody.required?", required":", optional"}, of type ${c(n.requestBody.schema)}.`);let r=n.successResponses[0];e.line(r===void 0?"Returns no content.":`Returns \`${r.contentType}\`, of type ${c(r.schema)}.`),(i.paginated!==void 0?i.paginated.has(n.name):m(n,i.pagination,t)!==void 0)&&e.line("This operation is paginated, so the SDK gives it page and item iterators."),n.successResponses.some(l=>l.contentType==="text/event-stream")&&e.line("This operation streams server-sent events, so the SDK iterates the events."),N(n)&&e.line("This operation returns binary content."),e.blank()}function E(e,t){let n=new p;if(t.frontmatter&&(n.line("---"),n.line(`title: ${t.title}`),n.line("---"),n.blank()),n.line(`# ${t.title}`),n.blank(),n.line(`Generated reference for the ${t.language.label} SDK, produced from the API description by \`redocly generate-client\`.`),n.line("Re-run generation to update it \u2014 this file is not hand-edited."),n.blank(),n.line(t.language.requires),n.blank(),n.line("## Authentication"),n.blank(),e.securitySchemes.length===0)n.line("The description declares no security schemes.");else{n.line("The description declares these schemes, which you pass to the client:"),n.blank(),n.line("| Scheme | Kind | Sent as |"),n.line("| ------ | ---- | ------- |");for(let s of e.securitySchemes){let r=s.kind==="bearer"?"`Authorization: Bearer <token>`":s.kind==="basic"?"`Authorization: Basic <base64>`":s.kind==="apiKeyHeader"?`the \`${s.headerName}\` header`:s.kind==="apiKeyQuery"?`the \`${s.paramName}\` query parameter`:`the \`${s.cookieName}\` cookie`;n.line(`| \`${s.key}\` | ${s.kind} | ${r} |`)}}n.blank();let i=e.services.flatMap(s=>s.operations),a=[...new Set(i.map(s=>s.tags[0]))];for(let s of a){n.line(s===void 0?"## Operations":`## ${s}`),n.blank();for(let r of i.filter(o=>o.tags[0]===s))B(n,e,r,t)}return n.toString().replace(/\n{3,}/g,`
9
9
 
10
10
  `).trimEnd()+`
11
- `}var ne=["Printer","casing","identifierFor","uniqueIdentifiers","RESERVED_WORDS","flattenAllOf","deref","discriminatorCases","jsonSuccessSchema","sseResponse","isMultipartBody","isUntypedMultipartBody","isBinaryContentType","serverUrlParts","securityRequirements","paginationItemSchema","isNullable","unwrapNullable","enumValues","docText","headerCoerceType","schemaAtPointer","paginationRuleFor","renderReferencePage","NotSupportedError"];function A(e){return e}function q(e){return e.toLowerCase().split(/[^a-z0-9]+/).filter(Boolean).join("-")}function j(e){return e.replace(/[^A-Za-z0-9]+/g,"_").replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase()}function L(e,t){let n={...e};for(let[i,a]of Object.entries(t))a!==void 0&&(n[i]=a);return n}function ye(e){return e}async function be(e){return(await import("./U7SJFXVW.js")).generateClient(e)}export{m as a,b,R as c,x as d,S as e,y as f,P as g,T as h,C as i,E as j,ne as k,A as l,q as m,j as n,L as o,ye as p,be as q};
11
+ `}var ne=["Printer","casing","identifierFor","uniqueIdentifiers","RESERVED_WORDS","flattenAllOf","deref","discriminatorCases","jsonSuccessSchema","sseResponse","isMultipartBody","isUntypedMultipartBody","isBinaryContentType","serverUrlParts","securityRequirements","paginationItemSchema","isNullable","unwrapNullable","enumValues","docText","headerCoerceType","schemaAtPointer","paginationRuleFor","renderReferencePage","NotSupportedError"];function A(e){return e}function q(e){return e.toLowerCase().split(/[^a-z0-9]+/).filter(Boolean).join("-")}function j(e){return e.replace(/[^A-Za-z0-9]+/g,"_").replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase()}function L(e,t){let n={...e};for(let[i,a]of Object.entries(t))a!==void 0&&(n[i]=a);return n}function ye(e){return e}async function be(e){return(await import("./EDKRUI6D.js")).generateClient(e)}export{m as a,b,R as c,x as d,S as e,y as f,P as g,T as h,C as i,E as j,ne as k,A as l,q as m,j as n,L as o,ye as p,be as q};
@@ -4,4 +4,4 @@ import { dirname as __pathDirname } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  var __filename = __fileURLToPath(import.meta.url);
6
6
  var __dirname = __pathDirname(__filename);
7
- import{c as r}from"./K4IZRPJV.js";var s="components",p="paths",i="webhooks",O="x-webhooks",c="channels",f="operations";function e(o,n){if(r(o)){n(o);for(let t of Object.keys(o))e(o[t],n)}else if(Array.isArray(o))for(let t of o)e(t,n)}function S(o){return o.startsWith(`#/${s}/`)}export{s as a,p as b,i as c,O as d,c as e,f,e as g,S as h};
7
+ import{c as r}from"./4JI4GT6B.js";var s="components",p="paths",i="webhooks",O="x-webhooks",c="channels",f="operations";function e(o,n){if(r(o)){n(o);for(let t of Object.keys(o))e(o[t],n)}else if(Array.isArray(o))for(let t of o)e(t,n)}function S(o){return o.startsWith(`#/${s}/`)}export{s as a,p as b,i as c,O as d,c as e,f,e as g,S as h};
@@ -4,5 +4,5 @@ import { dirname as __pathDirname } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  var __filename = __fileURLToPath(import.meta.url);
6
6
  var __dirname = __pathDirname(__filename);
7
- import{ia as t}from"./K4IZRPJV.js";import*as e from"node:process";var o=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],n=class{frames;currentFrame;intervalId;message;constructor(){this.frames=o,this.currentFrame=0,this.intervalId=null,this.message=""}showFrame(){t.info("\r"+this.frames[this.currentFrame]+" "+this.message),this.currentFrame=(this.currentFrame+1)%this.frames.length}start(r){if(this.message!==r){if(this.message=r,!e.stderr.isTTY){t.info(`${r}...
7
+ import{ia as t}from"./4JI4GT6B.js";import*as e from"node:process";var o=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],n=class{frames;currentFrame;intervalId;message;constructor(){this.frames=o,this.currentFrame=0,this.intervalId=null,this.message=""}showFrame(){t.info("\r"+this.frames[this.currentFrame]+" "+this.message),this.currentFrame=(this.currentFrame+1)%this.frames.length}start(r){if(this.message!==r){if(this.message=r,!e.stderr.isTTY){t.info(`${r}...
8
8
  `);return}this.intervalId===null&&(this.intervalId=setInterval(()=>{this.showFrame()},100))}}stop(){this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null,t.info("\r")),this.message=""}};function h(i){i.stop(),e.stderr.isTTY&&t.info("\x1B[2K")}function m(i,r){let[s]=r.inFlight;if(!s)return;let a=r.inFlight.size>1?` (+${r.inFlight.size-1} more)`:"";i.start(`[${r.position}/${r.total}] ${r.action} ${s}${a}`)}export{n as a,h as b,m as c};