@redocly/cli 2.53.0 → 2.53.2
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.
- package/lib/chunks/{7XKLR23N.js → 3BIPHQGZ.js} +1 -1
- package/lib/chunks/{WXEYD7NS.js → 4BCUUE3J.js} +1 -1
- package/lib/chunks/{VWXKJFAQ.js → 53VK4LV5.js} +244 -244
- package/lib/chunks/{CB6XVWTN.js → 6ER74AF4.js} +1 -1
- package/lib/chunks/6LHYZTIP.js +48 -0
- package/lib/chunks/{ALSURPIO.js → 7GYVSRCX.js} +1 -1
- package/lib/chunks/{MYLGXOMV.js → BNWXU2OA.js} +1 -1
- package/lib/chunks/{ME5BLHWL.js → BSAURQIG.js} +1 -1
- package/lib/chunks/{NGKTQKHT.js → BVF3GEBD.js} +1 -1
- package/lib/chunks/{SP226N2A.js → CXNOQVEB.js} +1 -1
- package/lib/chunks/{DKDWSUDO.js → DQLEE5LL.js} +1 -1
- package/lib/chunks/{PVJS33DH.js → EFVXVP5M.js} +1 -1
- package/lib/chunks/{ZDOHFHBO.js → FKRGYVXD.js} +1 -1
- package/lib/chunks/{KURL24BE.js → FPOO3NKZ.js} +1 -1
- package/lib/chunks/{HVX462TG.js → GJKYTFLY.js} +1 -1
- package/lib/chunks/{D2C25BNK.js → GM5FQCWY.js} +1 -1
- package/lib/chunks/{HVDGOLNB.js → HE2DJR6Y.js} +1 -1
- package/lib/chunks/{3XHU56AF.js → HY6IF56V.js} +1 -1
- package/lib/chunks/{TAEKERG4.js → I4EFNEXU.js} +1 -1
- package/lib/chunks/{K2W62QUQ.js → IMWIJK4I.js} +1 -1
- package/lib/chunks/{KCLCOEXJ.js → JA4LTWW3.js} +1 -1
- package/lib/chunks/{QFGL6EQH.js → KQUR5LDF.js} +1 -1
- package/lib/chunks/{ICWFBVOK.js → LGWICMQK.js} +1 -1
- package/lib/chunks/{S5TMFXGJ.js → LUCPX66E.js} +1 -1
- package/lib/chunks/{EJQ73UTM.js → NPD4SXEI.js} +1 -1
- package/lib/chunks/{2AQKABZE.js → NU76FSGR.js} +1 -1
- package/lib/chunks/{32VQQDJ3.js → Q3LFOSXJ.js} +1 -1
- package/lib/chunks/{O24NDKZ5.js → QJ4W6N5P.js} +1 -1
- package/lib/chunks/{ZHT6ML3F.js → R2EWSE4Z.js} +1 -1
- package/lib/chunks/{ILDBRWGH.js → R6Q6FO6R.js} +1 -1
- package/lib/chunks/{5SQYAE7S.js → RD64AQAZ.js} +1 -1
- package/lib/chunks/{Q7NDZ7OM.js → RGJTOYYC.js} +1 -1
- package/lib/chunks/{37GCJWSG.js → RI6WFA4F.js} +1 -1
- package/lib/chunks/{HJB3IMKI.js → SCWHIBJL.js} +1 -1
- package/lib/chunks/{Q23LKMUF.js → SP5G6SN2.js} +1 -1
- package/lib/chunks/{OMLOXL7A.js → T226COGJ.js} +1 -1
- package/lib/chunks/{G3H6T776.js → T376AHHQ.js} +1 -1
- package/lib/chunks/{YD6ZIH2Z.js → UWKKXZOE.js} +41 -41
- package/lib/chunks/{ERMGTRH2.js → UZQGV3C7.js} +2 -2
- package/lib/chunks/{2B6GSF4H.js → WEAET3FR.js} +1 -1
- package/lib/chunks/{53NH2YLN.js → WV7XOOFD.js} +1 -1
- package/lib/chunks/{7BOICAID.js → YLZS72LY.js} +1 -1
- package/lib/chunks/{2TX3YF62.js → Z57CXIHX.js} +1 -1
- package/lib/chunks/{4C4UXCK4.js → ZBW2UTL4.js} +1 -1
- package/lib/eject-assets/generators/cli/docs.ts +1 -1
- package/lib/eject-assets/generators/cli/engine-source.ts +1 -1
- package/lib/eject-assets/generators/cli/index.ts +2 -2
- package/lib/eject-assets/generators/cli/render.ts +1 -1
- package/lib/eject-assets/generators/go/client.ts +1 -1
- package/lib/eject-assets/generators/go/descriptor.ts +1 -1
- package/lib/eject-assets/generators/go/index.ts +2 -2
- package/lib/eject-assets/generators/go/models.ts +1 -1
- package/lib/eject-assets/generators/go/naming.ts +1 -1
- package/lib/eject-assets/generators/go/operations.ts +1 -1
- package/lib/eject-assets/generators/go/pagination.ts +1 -1
- package/lib/eject-assets/generators/go/types.ts +1 -1
- package/lib/eject-assets/generators/mock/faker.ts +1 -1
- package/lib/eject-assets/generators/mock/index.ts +2 -2
- package/lib/eject-assets/generators/mock/render.ts +1 -1
- package/lib/eject-assets/generators/mock/sample.ts +1 -1
- package/lib/eject-assets/generators/mock/values.ts +1 -1
- package/lib/eject-assets/generators/php/client.ts +1 -1
- package/lib/eject-assets/generators/php/descriptor.ts +1 -1
- package/lib/eject-assets/generators/php/index.ts +2 -2
- package/lib/eject-assets/generators/php/models.ts +1 -1
- package/lib/eject-assets/generators/php/naming.ts +1 -1
- package/lib/eject-assets/generators/php/operations.ts +1 -1
- package/lib/eject-assets/generators/php/pagination.ts +1 -1
- package/lib/eject-assets/generators/php/types.ts +1 -1
- package/lib/eject-assets/generators/python/client.ts +1 -1
- package/lib/eject-assets/generators/python/descriptor.ts +1 -1
- package/lib/eject-assets/generators/python/index.ts +2 -2
- package/lib/eject-assets/generators/python/models.ts +1 -1
- package/lib/eject-assets/generators/python/naming.ts +1 -1
- package/lib/eject-assets/generators/python/operations.ts +1 -1
- package/lib/eject-assets/generators/python/pagination.ts +1 -1
- package/lib/eject-assets/generators/python/types.ts +1 -1
- package/lib/eject-assets/generators/swr/index.ts +2 -2
- package/lib/eject-assets/generators/swr/render.ts +1 -1
- package/lib/eject-assets/generators/tanstack-query/index.ts +2 -2
- package/lib/eject-assets/generators/tanstack-query/render.ts +1 -1
- package/lib/eject-assets/generators/transformers/index.ts +2 -2
- package/lib/eject-assets/generators/transformers/render.ts +1 -1
- package/lib/eject-assets/generators/typescript/banner.ts +1 -1
- package/lib/eject-assets/generators/typescript/client.ts +1 -1
- package/lib/eject-assets/generators/typescript/descriptor.ts +1 -1
- package/lib/eject-assets/generators/typescript/index.ts +2 -2
- package/lib/eject-assets/generators/typescript/inline-runtime.ts +1 -1
- package/lib/eject-assets/generators/typescript/operation-signature.ts +1 -1
- package/lib/eject-assets/generators/typescript/operation-types.ts +1 -1
- package/lib/eject-assets/generators/typescript/operations.ts +1 -1
- package/lib/eject-assets/generators/typescript/response-headers.ts +1 -1
- package/lib/eject-assets/generators/typescript/type-guards.ts +1 -1
- package/lib/eject-assets/generators/typescript/types.ts +1 -1
- package/lib/eject-assets/generators/zod/index.ts +2 -2
- package/lib/eject-assets/generators/zod/schemas.ts +1 -1
- package/lib/index.js +139 -141
- package/package.json +1 -1
- package/lib/chunks/OVEWHBE3.js +0 -47
|
@@ -4,7 +4,7 @@ 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{a as oe,e as ae,f as ue,g as ce,h as b,i as de,k as H,l as V,m as pe,n as le,v as he,w as me}from"./
|
|
7
|
+
import{a as oe,e as ae,f as ue,g as ce,h as b,i as de,k as H,l as V,m as pe,n as le,v as he,w as me}from"./BNWXU2OA.js";import{$ as se,H as X,K as Je,L as Z,M as g,N as O,O as ee,P as $,Q as C,S,U as y,W as w,X as te,Y as ne,Z as re,ba as ie,c as l,p as Y,u as Q,x as We}from"./UWKKXZOE.js";import{e as J}from"./RFWIIJFG.js";import fe from"node:path";function R(t){return t?t.trim():""}function T(t){let e=R(t.operationId)||R(t.path);return[R(t.ruleId),R(t.severity),R(t.message),e,R(t.target),R(t.schemaPath)].join("")}var F=t=>Z(S(t));function Ye(t){return t==="error"?"error":t==="warning"?"warning":"note"}function Qe(t){if(t==null)return"";let e=String(t);return!e.includes(",")&&!e.includes('"')&&!e.includes(`
|
|
8
8
|
`)?e:`"${e.replace(/"/g,'""')}"`}function Xe(t){return fe.isAbsolute(t)?fe.relative(process.cwd(),t)||".":t}function Ze(t){if(!t)return null;let e=t.operationPathTemplate;return typeof e=="string"&&e.length>0?e:null}function et(t){return Object.entries(t).sort((e,r)=>{let n=r[1]-e[1];return n!==0?n:e[0].localeCompare(r[0])})}function tt(t){let e=[],r=new Map;for(let n of t){let s=T({ruleId:n.ruleId,severity:n.severity,message:n.message,operationId:n.operationId,path:n.path,target:n.target,schemaPath:n.schemaPath}),i=r.get(s);if(i!==void 0){e[i].occurrences+=1;continue}r.set(s,e.length),e.push({finding:n,occurrences:1})}return e}function nt(t){let e=tt(t.findings).map(n=>({occurrences:n.occurrences,exchangeIndex:n.finding.exchangeIndex,ruleId:n.finding.ruleId,severity:n.finding.severity,category:n.finding.category,message:n.finding.message,operationId:n.finding.operationId,specSource:n.finding.specSource,target:n.finding.target,schemaPath:n.finding.schemaPath,dataPath:n.finding.dataPath,details:n.finding.details,method:n.finding.method,url:n.finding.url,path:n.finding.path,status:n.finding.status})),r={run:{id:t.runId,specSource:t.meta.specSource,trafficPath:t.meta.trafficPath,format:t.meta.format,matchMode:t.meta.matchMode,server:t.meta.server,totalExchanges:t.summary.totalExchanges,documentedExchanges:t.summary.documentedExchanges,undocumentedExchanges:t.summary.undocumentedExchanges,skippedExchanges:t.summary.skippedExchanges,findingsBySeverity:t.summary.findingsBySeverity,findingsByRule:t.summary.findingsByRule,totalProblems:t.summary.totalProblemGroups,durationMs:t.summary.durationMs},problems:e};return`${JSON.stringify(r,null,2)}
|
|
9
9
|
`}function rt(t){let e=["run_id","finding_id","exchange_index","severity","category","rule_id","message","method","path","url","status","operation_id","spec_source","target","schema_path","data_path"],r=t.findings.map(s=>[t.runId,s.id,s.exchangeIndex,s.severity,s.category,s.ruleId,s.message,s.method,s.path,s.url,s.status,s.operationId,s.specSource,s.target,s.schemaPath,s.dataPath]);return`${[e,...r].map(s=>s.map(Qe).join(",")).join(`
|
|
10
10
|
`)}
|