@scalar/api-reference 1.24.26 → 1.24.27

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.24.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a01df62]
8
+ - @scalar/oas-utils@0.2.8
9
+ - @scalar/api-client@2.0.4
10
+
3
11
  ## 1.24.26
4
12
 
5
13
  ### Patch Changes
@@ -18499,15 +18499,15 @@ var t,n,r,o,i;const a=[],s=[],l=(e=>{if("string"!=typeof e)return e
18499
18499
  ;const p=new Set
18500
18500
  ;Object.entries((null==u?void 0:u.paths)||{}).forEach((([e,t])=>{if(!t)return
18501
18501
  ;["get","put","post","delete","options","head","patch","trace"].forEach((n=>{
18502
- var r;const o=t[n];if(!o)return
18503
- ;if("$ref"in o)return void a.push(`${n.toUpperCase}:${e} - Importing of $ref paths is not yet supported`)
18504
- ;const i={path:{},query:{},headers:{},cookies:{}}
18505
- ;null==(r=o.parameters)||r.forEach((e=>{const t=e
18506
- ;"name"in t&&R8[t.in]&&(i[R8[t.in]][t.name]=t)}));const l=T8({
18507
- method:n.toUpperCase(),path:e,tags:o.tags||["default"],
18508
- description:o.description,operationId:o.operationId,security:o.security,
18509
- summary:o.summary,externalDocs:o.externalDocs,requestBody:o.requestBody,
18510
- parameters:i});l.tags.forEach((e=>p.add(e))),s.push(l)}))}))
18502
+ const r=t[n];if(!r)return
18503
+ ;if("$ref"in r)return void a.push(`${n.toUpperCase}:${e} - Importing of $ref paths is not yet supported`)
18504
+ ;const o={path:{},query:{},headers:{},cookies:{}}
18505
+ ;[...t.parameters||[],...r.parameters||[]].filter((e=>e)).forEach((e=>{const t=e
18506
+ ;"name"in t&&R8[t.in]&&(o[R8[t.in]][t.name]=t)}));const i=T8({
18507
+ method:n.toUpperCase(),path:e,tags:r.tags||["default"],
18508
+ description:r.description,operationId:r.operationId,security:r.security,
18509
+ summary:r.summary,externalDocs:r.externalDocs,requestBody:r.requestBody,
18510
+ parameters:o});i.tags.forEach((e=>p.add(e))),s.push(i)}))}))
18511
18511
  ;const h=function(e,t,n=!0){if(n){const n=t.safeParse(e)
18512
18512
  ;if(!n.success)throw console.error("Zod Schema Error"),
18513
18513
  console.group(),n.error.issues.forEach((e=>{