@scalar/api-reference 1.20.26 → 1.20.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 +6 -0
- package/dist/browser/standalone.js +3 -3
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.css +1 -1
- package/dist/index.js +424 -436
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -25874,7 +25874,7 @@ const zl = /* @__PURE__ */ xZ(QZ), Pf = "scalar-component", TZ = _Z({
|
|
|
25874
25874
|
[Pf]: [Pf]
|
|
25875
25875
|
}
|
|
25876
25876
|
}
|
|
25877
|
-
}), { cva: tm, cx: jd, compose:
|
|
25877
|
+
}), { cva: tm, cx: jd, compose: nL } = LR({
|
|
25878
25878
|
hooks: {
|
|
25879
25879
|
onComplete: (r) => `${TZ(r, Pf)}`
|
|
25880
25880
|
}
|
|
@@ -28069,7 +28069,7 @@ const hy = () => {
|
|
|
28069
28069
|
const r = window.location.origin;
|
|
28070
28070
|
return r.endsWith("/") ? r.slice(0, -1) : r;
|
|
28071
28071
|
};
|
|
28072
|
-
function
|
|
28072
|
+
function sL(r) {
|
|
28073
28073
|
const e = /{{?\s*([\w.-]+)\s*}}?/g, t = r == null ? void 0 : r.matchAll(e);
|
|
28074
28074
|
return Array.from(t ?? [], (n) => n[1]);
|
|
28075
28075
|
}
|
|
@@ -28087,10 +28087,10 @@ function oj(r) {
|
|
|
28087
28087
|
return !1;
|
|
28088
28088
|
}
|
|
28089
28089
|
}
|
|
28090
|
-
const
|
|
28090
|
+
const iL = (r, e) => Object.keys(r).map((t) => ({
|
|
28091
28091
|
[e ?? t]: t,
|
|
28092
28092
|
value: r[t]
|
|
28093
|
-
})),
|
|
28093
|
+
})), oL = (r) => r.reduce((e, t) => ({
|
|
28094
28094
|
...e,
|
|
28095
28095
|
...t
|
|
28096
28096
|
}), {});
|
|
@@ -40159,7 +40159,7 @@ const P7 = (r) => new Promise(async (e, t) => {
|
|
|
40159
40159
|
}), _7 = (r) => {
|
|
40160
40160
|
r.tags || (r.tags = []), r.paths || (r.paths = {});
|
|
40161
40161
|
const e = {};
|
|
40162
|
-
Object.keys(r.webhooks ?? {}).forEach((n) => {
|
|
40162
|
+
return Object.keys(r.webhooks ?? {}).forEach((n) => {
|
|
40163
40163
|
var s;
|
|
40164
40164
|
Object.keys(((s = r.webhooks) == null ? void 0 : s[n]) ?? {}).forEach((i) => {
|
|
40165
40165
|
var a, l, c;
|
|
@@ -40232,23 +40232,12 @@ const P7 = (r) => new Promise(async (e, t) => {
|
|
|
40232
40232
|
var o;
|
|
40233
40233
|
const i = n["x-displayName"];
|
|
40234
40234
|
i && ((o = r.tags) != null && o[s]) && (r.tags[s].name = i);
|
|
40235
|
-
})
|
|
40236
|
-
const t = {
|
|
40235
|
+
}), {
|
|
40237
40236
|
...r,
|
|
40238
40237
|
webhooks: e
|
|
40239
40238
|
};
|
|
40240
|
-
|
|
40241
|
-
|
|
40242
|
-
var e;
|
|
40243
|
-
return {
|
|
40244
|
-
...r,
|
|
40245
|
-
tags: (e = r.tags) == null ? void 0 : e.filter((t) => {
|
|
40246
|
-
var n;
|
|
40247
|
-
return ((n = t.operations) == null ? void 0 : n.length) > 0;
|
|
40248
|
-
})
|
|
40249
|
-
};
|
|
40250
|
-
}, Ks = (r) => new Promise((e) => setTimeout(e, r)), Q7 = Symbol("downloadSpec"), Kk = cp(Q7);
|
|
40251
|
-
function T7(r) {
|
|
40239
|
+
}, Ks = (r) => new Promise((e) => setTimeout(e, r)), x7 = Symbol("downloadSpec"), Kk = cp(x7);
|
|
40240
|
+
function Q7(r) {
|
|
40252
40241
|
const e = xc(r), t = e ? new Blob([r], { type: "application/json" }) : new Blob([r], { type: "application/x-yaml" }), n = URL.createObjectURL(t), s = document.createElement("a");
|
|
40253
40242
|
s.href = n, s.download = e ? "spec.json" : "spec.yaml", s.dispatchEvent(
|
|
40254
40243
|
new MouseEvent("click", {
|
|
@@ -40260,19 +40249,19 @@ function T7(r) {
|
|
|
40260
40249
|
window.URL.revokeObjectURL(n), s.remove();
|
|
40261
40250
|
}, 100);
|
|
40262
40251
|
}
|
|
40263
|
-
function
|
|
40252
|
+
function T7(r, e = 1) {
|
|
40264
40253
|
const t = new RegExp(`^(?=#{${e}} )`, "m");
|
|
40265
40254
|
return r.split(t).map((n) => n.trim()).filter(Boolean);
|
|
40266
40255
|
}
|
|
40267
40256
|
const Jk = {
|
|
40268
40257
|
toast: (r) => null
|
|
40269
40258
|
};
|
|
40270
|
-
function
|
|
40259
|
+
function C7(r) {
|
|
40271
40260
|
Jk.toast = r;
|
|
40272
40261
|
}
|
|
40273
40262
|
function e$() {
|
|
40274
40263
|
return {
|
|
40275
|
-
initializeToasts:
|
|
40264
|
+
initializeToasts: C7,
|
|
40276
40265
|
toast: Jk.toast
|
|
40277
40266
|
};
|
|
40278
40267
|
}
|
|
@@ -40286,7 +40275,7 @@ const xo = () => {
|
|
|
40286
40275
|
}
|
|
40287
40276
|
};
|
|
40288
40277
|
}, Dn = ce(!1);
|
|
40289
|
-
function
|
|
40278
|
+
function A7(r) {
|
|
40290
40279
|
var s;
|
|
40291
40280
|
const e = () => {
|
|
40292
40281
|
var o, a;
|
|
@@ -40312,7 +40301,7 @@ function E7(r) {
|
|
|
40312
40301
|
setDarkMode: n
|
|
40313
40302
|
};
|
|
40314
40303
|
}
|
|
40315
|
-
const
|
|
40304
|
+
const E7 = ["unirest"], Kf = ce([...E7]), R7 = mP().map((r) => (r.key === "node" && (r.default = "undici", r.clients.unshift({
|
|
40316
40305
|
description: "An HTTP/1.1 client, written from scratch for Node.js.",
|
|
40317
40306
|
key: "undici",
|
|
40318
40307
|
link: "https://github.com/nodejs/undici",
|
|
@@ -40322,42 +40311,42 @@ const R7 = ["unirest"], Kf = ce([...R7]), Z7 = mP().map((r) => (r.key === "node"
|
|
|
40322
40311
|
), r)).filter((r) => r.clients.length);
|
|
40323
40312
|
function pl() {
|
|
40324
40313
|
return {
|
|
40325
|
-
availableTargets: ne(() =>
|
|
40314
|
+
availableTargets: ne(() => R7),
|
|
40326
40315
|
excludedClients: sp(Kf),
|
|
40327
40316
|
setExcludedClients: (e) => Kf.value = e
|
|
40328
40317
|
};
|
|
40329
40318
|
}
|
|
40330
|
-
const pg = ce(""), Jf = ce(!1),
|
|
40319
|
+
const pg = ce(""), Jf = ce(!1), Z7 = (r) => r.slug ? `description/${r.slug}` : "", I7 = (r, e) => {
|
|
40331
40320
|
if (!r)
|
|
40332
40321
|
return "webhooks";
|
|
40333
40322
|
const t = dp(r), n = encodeURIComponent(t);
|
|
40334
40323
|
return `webhook/${e}/${n}`;
|
|
40335
|
-
},
|
|
40324
|
+
}, j7 = (r) => {
|
|
40336
40325
|
if (!r)
|
|
40337
40326
|
return "models";
|
|
40338
40327
|
const e = dp(r);
|
|
40339
40328
|
return `model/${encodeURIComponent(e)}`;
|
|
40340
|
-
},
|
|
40329
|
+
}, N7 = (r, e) => `${t$(e)}/${r.httpVerb}${r.path}`, t$ = ({ name: r }) => {
|
|
40341
40330
|
const e = dp(r);
|
|
40342
40331
|
return `tag/${encodeURIComponent(e)}`;
|
|
40343
|
-
},
|
|
40332
|
+
}, D7 = (r = pg.value) => {
|
|
40344
40333
|
var n;
|
|
40345
40334
|
const e = (n = r.match(/(tag\/[^/]+)/)) == null ? void 0 : n[0], t = r.startsWith("model") ? "models" : "";
|
|
40346
40335
|
return e ?? t;
|
|
40347
|
-
}, nb = () => pg.value = window.location.hash.replace(/^#/, ""),
|
|
40336
|
+
}, nb = () => pg.value = window.location.hash.replace(/^#/, ""), M7 = () => Tn(async () => {
|
|
40348
40337
|
nb(), window.onhashchange = async () => {
|
|
40349
40338
|
Jf.value = !1, nb(), sS(window.location.hash.replace(/^#/, "")), await Ks(100), Jf.value = !0;
|
|
40350
40339
|
};
|
|
40351
40340
|
}), Wt = () => ({
|
|
40352
40341
|
hash: pg,
|
|
40353
|
-
getWebhookId:
|
|
40354
|
-
getModelId:
|
|
40355
|
-
getHeadingId:
|
|
40356
|
-
getOperationId:
|
|
40357
|
-
getSectionId:
|
|
40342
|
+
getWebhookId: I7,
|
|
40343
|
+
getModelId: j7,
|
|
40344
|
+
getHeadingId: Z7,
|
|
40345
|
+
getOperationId: N7,
|
|
40346
|
+
getSectionId: D7,
|
|
40358
40347
|
getTagId: t$,
|
|
40359
40348
|
isIntersectionEnabled: Jf,
|
|
40360
|
-
enableHashListener:
|
|
40349
|
+
enableHashListener: M7
|
|
40361
40350
|
});
|
|
40362
40351
|
function mg(r) {
|
|
40363
40352
|
return {
|
|
@@ -40402,7 +40391,7 @@ const sb = () => ({
|
|
|
40402
40391
|
},
|
|
40403
40392
|
servers: [],
|
|
40404
40393
|
tags: []
|
|
40405
|
-
}),
|
|
40394
|
+
}), X7 = async ({ url: r, content: e }, t) => {
|
|
40406
40395
|
if (r)
|
|
40407
40396
|
return oj(r) ? await Xg(r, t) : await Xg(r);
|
|
40408
40397
|
const n = typeof e == "function" ? e() : e;
|
|
@@ -40411,7 +40400,7 @@ const sb = () => ({
|
|
|
40411
40400
|
if (typeof n == "object")
|
|
40412
40401
|
return JSON.stringify(n);
|
|
40413
40402
|
};
|
|
40414
|
-
function
|
|
40403
|
+
function W7({
|
|
40415
40404
|
specConfig: r,
|
|
40416
40405
|
proxy: e
|
|
40417
40406
|
}) {
|
|
@@ -40431,7 +40420,7 @@ function q7({
|
|
|
40431
40420
|
async (o) => {
|
|
40432
40421
|
var a;
|
|
40433
40422
|
if (o) {
|
|
40434
|
-
const l = (a = await
|
|
40423
|
+
const l = (a = await X7(o, Ot(e))) == null ? void 0 : a.trim();
|
|
40435
40424
|
typeof l == "string" && (t.value = l);
|
|
40436
40425
|
}
|
|
40437
40426
|
},
|
|
@@ -40444,7 +40433,7 @@ function q7({
|
|
|
40444
40433
|
specErrors: s
|
|
40445
40434
|
};
|
|
40446
40435
|
}
|
|
40447
|
-
function
|
|
40436
|
+
function q7(r) {
|
|
40448
40437
|
const e = ce(null);
|
|
40449
40438
|
return Tn(() => {
|
|
40450
40439
|
e.value = r();
|
|
@@ -40464,23 +40453,23 @@ function gg(r) {
|
|
|
40464
40453
|
}) };
|
|
40465
40454
|
}
|
|
40466
40455
|
const {
|
|
40467
|
-
getHeadingId:
|
|
40456
|
+
getHeadingId: V7,
|
|
40468
40457
|
getModelId: ib,
|
|
40469
40458
|
getOperationId: ob,
|
|
40470
|
-
getSectionId:
|
|
40459
|
+
getSectionId: z7,
|
|
40471
40460
|
getTagId: r$,
|
|
40472
40461
|
getWebhookId: Oh,
|
|
40473
|
-
hash:
|
|
40462
|
+
hash: U7
|
|
40474
40463
|
} = Wt(), ut = ce(void 0), n$ = ce(!1), cd = an(
|
|
40475
40464
|
vp["useSidebarContent-collapsedSidebarItems"] ?? {}
|
|
40476
40465
|
);
|
|
40477
|
-
function
|
|
40466
|
+
function Y7(r) {
|
|
40478
40467
|
cd[r] = !cd[r];
|
|
40479
40468
|
}
|
|
40480
40469
|
function yh(r, e) {
|
|
40481
40470
|
cd[r] = e;
|
|
40482
40471
|
}
|
|
40483
|
-
const s$ = ce([]),
|
|
40472
|
+
const s$ = ce([]), L7 = async (r) => {
|
|
40484
40473
|
const e = await Jc(r), t = eS(e);
|
|
40485
40474
|
return e.filter((n) => n.depth === t);
|
|
40486
40475
|
}, i$ = ne(() => {
|
|
@@ -40488,7 +40477,7 @@ const s$ = ce([]), B7 = async (r) => {
|
|
|
40488
40477
|
const { state: r } = up(), e = {}, {
|
|
40489
40478
|
openApi: { globalSecurity: t }
|
|
40490
40479
|
} = wd(), n = s$.value.map(($) => ({
|
|
40491
|
-
id:
|
|
40480
|
+
id: V7($),
|
|
40492
40481
|
title: $.value.toUpperCase(),
|
|
40493
40482
|
show: !r.showApiClient
|
|
40494
40483
|
})), s = (u = (d = ut.value) == null ? void 0 : d.tags) == null ? void 0 : u[0], o = s && (($) => ($ == null ? void 0 : $.length) !== 1 || $[0].name !== "default" || $[0].description !== "")((h = ut.value) == null ? void 0 : h.tags) && ((f = s.operations) == null ? void 0 : f.length) > 0 ? (g = (p = ut.value) == null ? void 0 : p.tags) == null ? void 0 : g.map(($) => {
|
|
@@ -40591,9 +40580,9 @@ const s$ = ce([]), B7 = async (r) => {
|
|
|
40591
40580
|
],
|
|
40592
40581
|
titles: e
|
|
40593
40582
|
};
|
|
40594
|
-
}),
|
|
40583
|
+
}), B7 = ce(!1), H7 = ne(() => {
|
|
40595
40584
|
var r, e;
|
|
40596
|
-
return ((e = (r = i$.value) == null ? void 0 : r.titles) == null ? void 0 : e[
|
|
40585
|
+
return ((e = (r = i$.value) == null ? void 0 : r.titles) == null ? void 0 : e[U7.value]) ?? "";
|
|
40597
40586
|
});
|
|
40598
40587
|
function Nr(r) {
|
|
40599
40588
|
return r != null && r.parsedSpec && (ut.value = r.parsedSpec, Ne(
|
|
@@ -40604,7 +40593,7 @@ function Nr(r) {
|
|
|
40604
40593
|
() => {
|
|
40605
40594
|
var e, t;
|
|
40606
40595
|
if (window != null && window.location.hash) {
|
|
40607
|
-
const n =
|
|
40596
|
+
const n = z7(window.location.hash);
|
|
40608
40597
|
n || yh(n, !0);
|
|
40609
40598
|
} else {
|
|
40610
40599
|
const n = (t = (e = ut.value) == null ? void 0 : e.tags) == null ? void 0 : t[0];
|
|
@@ -40619,28 +40608,28 @@ function Nr(r) {
|
|
|
40619
40608
|
async () => {
|
|
40620
40609
|
var t, n;
|
|
40621
40610
|
const e = (n = (t = ut.value) == null ? void 0 : t.info) == null ? void 0 : n.description;
|
|
40622
|
-
return e ? s$.value = await
|
|
40611
|
+
return e ? s$.value = await L7(e) : [];
|
|
40623
40612
|
}
|
|
40624
40613
|
)), {
|
|
40625
|
-
breadcrumb:
|
|
40614
|
+
breadcrumb: H7,
|
|
40626
40615
|
items: i$,
|
|
40627
|
-
isSidebarOpen:
|
|
40616
|
+
isSidebarOpen: B7,
|
|
40628
40617
|
collapsedSidebarItems: cd,
|
|
40629
|
-
toggleCollapsedSidebarItem:
|
|
40618
|
+
toggleCollapsedSidebarItem: Y7,
|
|
40630
40619
|
setCollapsedSidebarItem: yh,
|
|
40631
40620
|
hideModels: n$
|
|
40632
40621
|
};
|
|
40633
40622
|
}
|
|
40634
|
-
const
|
|
40623
|
+
const G7 = ["id"], F7 = {
|
|
40635
40624
|
key: 0,
|
|
40636
40625
|
class: "sidebar-heading-chevron"
|
|
40637
|
-
},
|
|
40626
|
+
}, K7 = ["href"], J7 = { class: "sidebar-heading-link-title" }, e9 = {
|
|
40638
40627
|
key: 1,
|
|
40639
40628
|
class: "sidebar-heading-link-method"
|
|
40640
|
-
},
|
|
40629
|
+
}, t9 = {
|
|
40641
40630
|
key: 1,
|
|
40642
40631
|
class: "action-menu"
|
|
40643
|
-
},
|
|
40632
|
+
}, r9 = /* @__PURE__ */ G({
|
|
40644
40633
|
__name: "SidebarElement",
|
|
40645
40634
|
props: {
|
|
40646
40635
|
id: {},
|
|
@@ -40672,7 +40661,7 @@ const F7 = ["id"], K7 = {
|
|
|
40672
40661
|
}]),
|
|
40673
40662
|
onClick: s
|
|
40674
40663
|
}, [
|
|
40675
|
-
o.hasChildren ? (k(), Q("p",
|
|
40664
|
+
o.hasChildren ? (k(), Q("p", F7, [
|
|
40676
40665
|
I(w(rm), {
|
|
40677
40666
|
class: "toggle-nested-icon",
|
|
40678
40667
|
icon: o.open ? "ChevronDown" : "ChevronRight",
|
|
@@ -40691,8 +40680,8 @@ const F7 = ["id"], K7 = {
|
|
|
40691
40680
|
class: "sidebar-icon",
|
|
40692
40681
|
icon: o.item.icon.src
|
|
40693
40682
|
}, null, 8, ["icon"])) : B("", !0),
|
|
40694
|
-
E("p",
|
|
40695
|
-
o.item.httpVerb ? (k(), Q("p",
|
|
40683
|
+
E("p", J7, K(o.item.title), 1),
|
|
40684
|
+
o.item.httpVerb ? (k(), Q("p", e9, [
|
|
40696
40685
|
F(" "),
|
|
40697
40686
|
I(w(hs), {
|
|
40698
40687
|
as: "div",
|
|
@@ -40702,16 +40691,16 @@ const F7 = ["id"], K7 = {
|
|
|
40702
40691
|
short: ""
|
|
40703
40692
|
}, null, 8, ["method"])
|
|
40704
40693
|
])) : B("", !0)
|
|
40705
|
-
], 8,
|
|
40694
|
+
], 8, K7)
|
|
40706
40695
|
], 2),
|
|
40707
40696
|
o.open ? te(o.$slots, "default", { key: 0 }, void 0, !0) : B("", !0),
|
|
40708
|
-
o.$slots["action-menu"] ? (k(), Q("div",
|
|
40697
|
+
o.$slots["action-menu"] ? (k(), Q("div", t9, [
|
|
40709
40698
|
te(o.$slots, "action-menu", {}, void 0, !0)
|
|
40710
40699
|
])) : B("", !0)
|
|
40711
|
-
], 8,
|
|
40700
|
+
], 8, G7);
|
|
40712
40701
|
};
|
|
40713
40702
|
}
|
|
40714
|
-
}), Jl = /* @__PURE__ */ ee(
|
|
40703
|
+
}), Jl = /* @__PURE__ */ ee(r9, [["__scopeId", "data-v-6e7b73b3"]]), n9 = /* @__PURE__ */ G({
|
|
40715
40704
|
__name: "SidebarGroup",
|
|
40716
40705
|
props: {
|
|
40717
40706
|
level: {}
|
|
@@ -40724,7 +40713,7 @@ const F7 = ["id"], K7 = {
|
|
|
40724
40713
|
te(e.$slots, "default", {}, void 0, !0)
|
|
40725
40714
|
], 4));
|
|
40726
40715
|
}
|
|
40727
|
-
}), bh = /* @__PURE__ */ ee(
|
|
40716
|
+
}), bh = /* @__PURE__ */ ee(n9, [["__scopeId", "data-v-3fac4969"]]), s9 = { class: "sidebar" }, i9 = { class: "sidebar-group-title" }, o9 = -160, a9 = /* @__PURE__ */ G({
|
|
40728
40717
|
__name: "Sidebar",
|
|
40729
40718
|
props: {
|
|
40730
40719
|
parsedSpec: {}
|
|
@@ -40743,14 +40732,14 @@ const F7 = ["id"], K7 = {
|
|
|
40743
40732
|
const u = document.getElementById(`sidebar-${d}`);
|
|
40744
40733
|
if (!u || !a.value)
|
|
40745
40734
|
return;
|
|
40746
|
-
let h =
|
|
40735
|
+
let h = o9;
|
|
40747
40736
|
u.getAttribute("data-sidebar-type") === "heading" ? h += u.offsetTop + ((f = u.getElementsByClassName("sidebar-heading")) == null ? void 0 : f[0]).offsetHeight : h += u.offsetTop + (((p = u.parentElement) == null ? void 0 : p.offsetTop) ?? 0) + (((m = (g = u.parentElement) == null ? void 0 : g.parentElement) == null ? void 0 : m.offsetTop) ?? 0), a.value.scrollTo({ top: h, behavior: "smooth" });
|
|
40748
40737
|
};
|
|
40749
40738
|
return Tn(() => {
|
|
40750
40739
|
setTimeout(() => {
|
|
40751
40740
|
c(window.location.hash.replace(/^#/, ""));
|
|
40752
40741
|
}, 500), l.value = !1;
|
|
40753
|
-
}), (d, u) => (k(), Q("div",
|
|
40742
|
+
}), (d, u) => (k(), Q("div", s9, [
|
|
40754
40743
|
te(d.$slots, "sidebar-start", {}, void 0, !0),
|
|
40755
40744
|
E("div", {
|
|
40756
40745
|
ref_key: "scrollerEl",
|
|
@@ -40763,7 +40752,7 @@ const F7 = ["id"], K7 = {
|
|
|
40763
40752
|
key: h.id
|
|
40764
40753
|
}, [
|
|
40765
40754
|
h.isGroup ? (k(), Q(J, { key: 0 }, [
|
|
40766
|
-
E("li",
|
|
40755
|
+
E("li", i9, K(h.title), 1),
|
|
40767
40756
|
(k(!0), Q(J, null, be(h.children, (f) => (k(), q(Jl, {
|
|
40768
40757
|
key: f.id,
|
|
40769
40758
|
id: `sidebar-${f.id}`,
|
|
@@ -40872,16 +40861,16 @@ const F7 = ["id"], K7 = {
|
|
|
40872
40861
|
te(d.$slots, "sidebar-end", {}, void 0, !0)
|
|
40873
40862
|
]));
|
|
40874
40863
|
}
|
|
40875
|
-
}), ep = /* @__PURE__ */ ee(
|
|
40864
|
+
}), ep = /* @__PURE__ */ ee(a9, [["__scopeId", "data-v-2ab63047"]]), l9 = {
|
|
40876
40865
|
key: 0,
|
|
40877
40866
|
class: "api-client-drawer"
|
|
40878
|
-
},
|
|
40867
|
+
}, c9 = { class: "api-client-container" }, d9 = { class: "scalar-api-client-height" }, u9 = {
|
|
40879
40868
|
key: 0,
|
|
40880
40869
|
class: "t-doc__sidebar"
|
|
40881
|
-
},
|
|
40870
|
+
}, h9 = {
|
|
40882
40871
|
key: 1,
|
|
40883
40872
|
class: "t-doc__sidebar"
|
|
40884
|
-
},
|
|
40873
|
+
}, f9 = /* @__PURE__ */ G({
|
|
40885
40874
|
__name: "ApiClientModal",
|
|
40886
40875
|
props: {
|
|
40887
40876
|
parsedSpec: {},
|
|
@@ -40894,17 +40883,17 @@ const F7 = ["id"], K7 = {
|
|
|
40894
40883
|
setup(r) {
|
|
40895
40884
|
const { hideApiClient: e, state: t } = up(), n = gd("(max-width: 1000px)");
|
|
40896
40885
|
return (s, i) => (k(), Q(J, null, [
|
|
40897
|
-
w(t).showApiClient || s.overloadShow ? (k(), Q("div",
|
|
40898
|
-
E("div",
|
|
40886
|
+
w(t).showApiClient || s.overloadShow ? (k(), Q("div", l9, [
|
|
40887
|
+
E("div", c9, [
|
|
40899
40888
|
te(s.$slots, "header", {}, void 0, !0),
|
|
40900
|
-
E("div",
|
|
40889
|
+
E("div", d9, [
|
|
40901
40890
|
s.tabMode ? (k(), Q(J, { key: 0 }, [
|
|
40902
|
-
s.activeTab === "sidebar" ? (k(), Q("div",
|
|
40891
|
+
s.activeTab === "sidebar" ? (k(), Q("div", u9, [
|
|
40903
40892
|
Nt(I(w(ep), { parsedSpec: s.parsedSpec }, null, 8, ["parsedSpec"]), [
|
|
40904
40893
|
[qs, !w(n)]
|
|
40905
40894
|
])
|
|
40906
40895
|
])) : te(s.$slots, "active-tab", { key: 1 }, void 0, !0)
|
|
40907
|
-
], 64)) : (k(), Q("div",
|
|
40896
|
+
], 64)) : (k(), Q("div", h9, [
|
|
40908
40897
|
Nt(I(w(ep), { parsedSpec: s.parsedSpec }, {
|
|
40909
40898
|
"sidebar-start": T(() => [
|
|
40910
40899
|
te(s.$slots, "sidebar-start", {}, void 0, !0)
|
|
@@ -40933,13 +40922,13 @@ const F7 = ["id"], K7 = {
|
|
|
40933
40922
|
})) : B("", !0)
|
|
40934
40923
|
], 64));
|
|
40935
40924
|
}
|
|
40936
|
-
}),
|
|
40937
|
-
function
|
|
40938
|
-
return k(), Q("div",
|
|
40925
|
+
}), p9 = /* @__PURE__ */ ee(f9, [["__scopeId", "data-v-9991daf5"]]), m9 = {}, g9 = { class: "scalar-card" };
|
|
40926
|
+
function O9(r, e) {
|
|
40927
|
+
return k(), Q("div", g9, [
|
|
40939
40928
|
te(r.$slots, "default", {}, void 0, !0)
|
|
40940
40929
|
]);
|
|
40941
40930
|
}
|
|
40942
|
-
const ri = /* @__PURE__ */ ee(
|
|
40931
|
+
const ri = /* @__PURE__ */ ee(m9, [["render", O9], ["__scopeId", "data-v-f9d4a1f3"]]), y9 = /* @__PURE__ */ G({
|
|
40943
40932
|
__name: "CardContent",
|
|
40944
40933
|
props: {
|
|
40945
40934
|
muted: { type: Boolean },
|
|
@@ -40961,7 +40950,7 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
40961
40950
|
te(e.$slots, "default", {}, void 0, !0)
|
|
40962
40951
|
], 2));
|
|
40963
40952
|
}
|
|
40964
|
-
}), on = /* @__PURE__ */ ee(
|
|
40953
|
+
}), on = /* @__PURE__ */ ee(y9, [["__scopeId", "data-v-47a41f7c"]]), b9 = { class: "scalar-card-header-slots" }, v9 = { class: "scalar-card-header-slot scalar-card-header-title" }, w9 = { class: "scalar-card-header-slot scalar-card-header-actions" }, S9 = /* @__PURE__ */ G({
|
|
40965
40954
|
__name: "CardHeader",
|
|
40966
40955
|
props: {
|
|
40967
40956
|
muted: { type: Boolean },
|
|
@@ -40974,11 +40963,11 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
40974
40963
|
const e = r;
|
|
40975
40964
|
return (t, n) => (k(), q(on, ip(e, { class: "scalar-card-header" }), {
|
|
40976
40965
|
default: T(() => [
|
|
40977
|
-
E("div",
|
|
40978
|
-
E("div",
|
|
40966
|
+
E("div", b9, [
|
|
40967
|
+
E("div", v9, [
|
|
40979
40968
|
te(t.$slots, "default", {}, void 0, !0)
|
|
40980
40969
|
]),
|
|
40981
|
-
E("div",
|
|
40970
|
+
E("div", w9, [
|
|
40982
40971
|
te(t.$slots, "actions", {}, void 0, !0)
|
|
40983
40972
|
])
|
|
40984
40973
|
])
|
|
@@ -40986,7 +40975,7 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
40986
40975
|
_: 3
|
|
40987
40976
|
}, 16));
|
|
40988
40977
|
}
|
|
40989
|
-
}), ni = /* @__PURE__ */ ee(
|
|
40978
|
+
}), ni = /* @__PURE__ */ ee(S9, [["__scopeId", "data-v-403cccd4"]]), k9 = /* @__PURE__ */ G({
|
|
40990
40979
|
__name: "CardFooter",
|
|
40991
40980
|
props: {
|
|
40992
40981
|
muted: { type: Boolean },
|
|
@@ -41004,7 +40993,7 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
41004
40993
|
_: 3
|
|
41005
40994
|
}, 16));
|
|
41006
40995
|
}
|
|
41007
|
-
}), yu = /* @__PURE__ */ ee(
|
|
40996
|
+
}), yu = /* @__PURE__ */ ee(k9, [["__scopeId", "data-v-c179b8a4"]]), $9 = /* @__PURE__ */ G({
|
|
41008
40997
|
__name: "CardTabHeader",
|
|
41009
40998
|
emits: ["change"],
|
|
41010
40999
|
setup(r, { emit: e }) {
|
|
@@ -41031,7 +41020,7 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
41031
41020
|
_: 3
|
|
41032
41021
|
}));
|
|
41033
41022
|
}
|
|
41034
|
-
}),
|
|
41023
|
+
}), P9 = /* @__PURE__ */ ee($9, [["__scopeId", "data-v-6a91b57c"]]), _9 = /* @__PURE__ */ G({
|
|
41035
41024
|
__name: "CardTab",
|
|
41036
41025
|
setup(r) {
|
|
41037
41026
|
return (e, t) => (k(), q(w(vh), { as: "template" }, {
|
|
@@ -41048,7 +41037,7 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
41048
41037
|
_: 3
|
|
41049
41038
|
}));
|
|
41050
41039
|
}
|
|
41051
|
-
}),
|
|
41040
|
+
}), x9 = /* @__PURE__ */ ee(_9, [["__scopeId", "data-v-d044c876"]]), Q9 = { class: "selector" }, T9 = /* @__PURE__ */ G({
|
|
41052
41041
|
__name: "Authentication",
|
|
41053
41042
|
props: {
|
|
41054
41043
|
parsedSpec: {}
|
|
@@ -41086,7 +41075,7 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
41086
41075
|
actions: T(() => {
|
|
41087
41076
|
var a, l;
|
|
41088
41077
|
return [
|
|
41089
|
-
E("div",
|
|
41078
|
+
E("div", Q9, [
|
|
41090
41079
|
I(w(Bw), {
|
|
41091
41080
|
value: (l = (a = i.parsedSpec) == null ? void 0 : a.components) == null ? void 0 : l.securitySchemes
|
|
41092
41081
|
}, null, 8, ["value"])
|
|
@@ -41118,11 +41107,11 @@ const ri = /* @__PURE__ */ ee(g9, [["render", y9], ["__scopeId", "data-v-f9d4a1f
|
|
|
41118
41107
|
_: 1
|
|
41119
41108
|
})) : B("", !0);
|
|
41120
41109
|
}
|
|
41121
|
-
}),
|
|
41110
|
+
}), C9 = /* @__PURE__ */ ee(T9, [["__scopeId", "data-v-43c33327"]]), o$ = () => ({
|
|
41122
41111
|
targetKey: "shell",
|
|
41123
41112
|
clientKey: "curl"
|
|
41124
41113
|
}), no = an(o$());
|
|
41125
|
-
function
|
|
41114
|
+
function A9() {
|
|
41126
41115
|
aj(no, o$());
|
|
41127
41116
|
}
|
|
41128
41117
|
function a$(r) {
|
|
@@ -41135,20 +41124,20 @@ function l$(r) {
|
|
|
41135
41124
|
const { availableTargets: e } = pl();
|
|
41136
41125
|
return ((n = (t = e.value.find((s) => s.key === r.targetKey)) == null ? void 0 : t.clients.find((s) => s.key === r.clientKey)) == null ? void 0 : n.title) ?? r.clientKey;
|
|
41137
41126
|
}
|
|
41138
|
-
const
|
|
41127
|
+
const E9 = (r) => {
|
|
41139
41128
|
Object.assign(no, {
|
|
41140
41129
|
...no,
|
|
41141
41130
|
...r
|
|
41142
41131
|
});
|
|
41143
|
-
},
|
|
41132
|
+
}, R9 = ne(() => a$(no)), Z9 = ne(() => l$(no)), Og = () => ({
|
|
41144
41133
|
httpClient: sp(no),
|
|
41145
|
-
resetState:
|
|
41146
|
-
setHttpClient:
|
|
41147
|
-
httpTargetTitle:
|
|
41148
|
-
httpClientTitle:
|
|
41134
|
+
resetState: A9,
|
|
41135
|
+
setHttpClient: E9,
|
|
41136
|
+
httpTargetTitle: R9,
|
|
41137
|
+
httpClientTitle: Z9,
|
|
41149
41138
|
getClientTitle: l$,
|
|
41150
41139
|
getTargetTitle: a$
|
|
41151
|
-
}),
|
|
41140
|
+
}), I9 = ["innerHTML"], j9 = /* @__PURE__ */ G({
|
|
41152
41141
|
__name: "MarkdownRenderer",
|
|
41153
41142
|
props: {
|
|
41154
41143
|
value: {},
|
|
@@ -41175,9 +41164,9 @@ const R9 = (r) => {
|
|
|
41175
41164
|
), Js(async () => await Ks(1)), (s, i) => (k(), Q("div", {
|
|
41176
41165
|
class: "markdown",
|
|
41177
41166
|
innerHTML: t.value
|
|
41178
|
-
}, null, 8,
|
|
41167
|
+
}, null, 8, I9));
|
|
41179
41168
|
}
|
|
41180
|
-
}), Zr = /* @__PURE__ */ ee(
|
|
41169
|
+
}), Zr = /* @__PURE__ */ ee(j9, [["__scopeId", "data-v-055da1e2"]]), N9 = ["title", "innerHTML"], D9 = /* @__PURE__ */ G({
|
|
41181
41170
|
__name: "ServerItem",
|
|
41182
41171
|
props: {
|
|
41183
41172
|
value: {},
|
|
@@ -41201,9 +41190,9 @@ const R9 = (r) => {
|
|
|
41201
41190
|
title: s.value.description,
|
|
41202
41191
|
onClick: i[0] || (i[0] = (o) => w(t)(s.value.url)),
|
|
41203
41192
|
innerHTML: n.value
|
|
41204
|
-
}, null, 8,
|
|
41193
|
+
}, null, 8, N9)) : B("", !0);
|
|
41205
41194
|
}
|
|
41206
|
-
}),
|
|
41195
|
+
}), M9 = /* @__PURE__ */ ee(D9, [["__scopeId", "data-v-3be410d7"]]), X9 = { key: 0 }, W9 = ["for"], q9 = ["id", "value", "onInput"], V9 = ["value"], z9 = { class: "input-value" }, U9 = ["id", "value", "onInput"], Y9 = /* @__PURE__ */ G({
|
|
41207
41196
|
__name: "ServerVariables",
|
|
41208
41197
|
props: {
|
|
41209
41198
|
value: {}
|
|
@@ -41218,7 +41207,7 @@ const R9 = (r) => {
|
|
|
41218
41207
|
const o = e.variables.findIndex((a) => a.name === i);
|
|
41219
41208
|
return e.variables[o].value ?? "";
|
|
41220
41209
|
};
|
|
41221
|
-
return (i, o) => i.value ? (k(), Q("div",
|
|
41210
|
+
return (i, o) => i.value ? (k(), Q("div", X9, [
|
|
41222
41211
|
(k(!0), Q(J, null, be(i.value, (a) => (k(), Q("div", {
|
|
41223
41212
|
key: a.name,
|
|
41224
41213
|
class: "input"
|
|
@@ -41227,7 +41216,7 @@ const R9 = (r) => {
|
|
|
41227
41216
|
for: `variable-${a.name}`
|
|
41228
41217
|
}, [
|
|
41229
41218
|
E("code", null, K(a.name), 1)
|
|
41230
|
-
], 8,
|
|
41219
|
+
], 8, W9),
|
|
41231
41220
|
a.enum ? (k(), Q(J, { key: 0 }, [
|
|
41232
41221
|
E("select", {
|
|
41233
41222
|
id: `variable-${a.name}`,
|
|
@@ -41237,9 +41226,9 @@ const R9 = (r) => {
|
|
|
41237
41226
|
(k(!0), Q(J, null, be(a.enum, (l) => (k(), Q("option", {
|
|
41238
41227
|
key: l,
|
|
41239
41228
|
value: l
|
|
41240
|
-
}, K(l), 9,
|
|
41241
|
-
], 40,
|
|
41242
|
-
E("div",
|
|
41229
|
+
}, K(l), 9, V9))), 128))
|
|
41230
|
+
], 40, q9),
|
|
41231
|
+
E("div", z9, K(a.default), 1)
|
|
41243
41232
|
], 64)) : (k(), Q("input", {
|
|
41244
41233
|
key: 1,
|
|
41245
41234
|
id: `variable-${a.name}`,
|
|
@@ -41249,11 +41238,11 @@ const R9 = (r) => {
|
|
|
41249
41238
|
type: "text",
|
|
41250
41239
|
value: s(a.name),
|
|
41251
41240
|
onInput: (l) => n(a.name, l)
|
|
41252
|
-
}, null, 40,
|
|
41241
|
+
}, null, 40, U9))
|
|
41253
41242
|
]))), 128))
|
|
41254
41243
|
])) : B("", !0);
|
|
41255
41244
|
}
|
|
41256
|
-
}),
|
|
41245
|
+
}), L9 = /* @__PURE__ */ ee(Y9, [["__scopeId", "data-v-92aa612f"]]), B9 = { class: "scalar-card-serverlist-container" }, H9 = { class: "server-item" }, G9 = { class: "server-selector" }, F9 = ["value"], K9 = ["value"], J9 = { class: "description" }, eV = /* @__PURE__ */ G({
|
|
41257
41246
|
__name: "BaseUrl",
|
|
41258
41247
|
props: {
|
|
41259
41248
|
value: {}
|
|
@@ -41308,9 +41297,9 @@ const R9 = (r) => {
|
|
|
41308
41297
|
}),
|
|
41309
41298
|
I(w(on), { class: "scalar-card-serverlist" }, {
|
|
41310
41299
|
default: T(() => [
|
|
41311
|
-
E("div",
|
|
41312
|
-
E("div",
|
|
41313
|
-
E("div",
|
|
41300
|
+
E("div", B9, [
|
|
41301
|
+
E("div", H9, [
|
|
41302
|
+
E("div", G9, [
|
|
41314
41303
|
i.value.length > 1 ? (k(), Q("select", {
|
|
41315
41304
|
key: 0,
|
|
41316
41305
|
value: s.value,
|
|
@@ -41322,9 +41311,9 @@ const R9 = (r) => {
|
|
|
41322
41311
|
(k(!0), Q(J, null, be(i.value, (a, l) => (k(), Q("option", {
|
|
41323
41312
|
key: l,
|
|
41324
41313
|
value: l
|
|
41325
|
-
}, K(a.url), 9,
|
|
41326
|
-
], 40,
|
|
41327
|
-
I(
|
|
41314
|
+
}, K(a.url), 9, K9))), 128))
|
|
41315
|
+
], 40, F9)) : B("", !0),
|
|
41316
|
+
I(M9, {
|
|
41328
41317
|
value: i.value[s.value],
|
|
41329
41318
|
variables: w(t).variables
|
|
41330
41319
|
}, null, 8, ["value", "variables"]),
|
|
@@ -41334,7 +41323,7 @@ const R9 = (r) => {
|
|
|
41334
41323
|
})) : B("", !0)
|
|
41335
41324
|
])
|
|
41336
41325
|
]),
|
|
41337
|
-
I(
|
|
41326
|
+
I(L9, {
|
|
41338
41327
|
value: w(t).variables
|
|
41339
41328
|
}, null, 8, ["value"])
|
|
41340
41329
|
])
|
|
@@ -41346,7 +41335,7 @@ const R9 = (r) => {
|
|
|
41346
41335
|
muted: ""
|
|
41347
41336
|
}, {
|
|
41348
41337
|
default: T(() => [
|
|
41349
|
-
E("div",
|
|
41338
|
+
E("div", J9, [
|
|
41350
41339
|
I(w(Zr), {
|
|
41351
41340
|
value: w(t).description
|
|
41352
41341
|
}, null, 8, ["value"])
|
|
@@ -41358,21 +41347,21 @@ const R9 = (r) => {
|
|
|
41358
41347
|
_: 1
|
|
41359
41348
|
})) : B("", !0);
|
|
41360
41349
|
}
|
|
41361
|
-
}),
|
|
41350
|
+
}), tV = /* @__PURE__ */ ee(eV, [["__scopeId", "data-v-9a12f82b"]]), c$ = (r) => ($t("data-v-8457f4be"), r = r(), Pt(), r), rV = ["onClick"], nV = ["value"], sV = ["label"], iV = ["value"], oV = { class: "code-languages-background code-languages-icon__more" }, aV = {
|
|
41362
41351
|
key: 1,
|
|
41363
41352
|
class: "code-languages-icon",
|
|
41364
41353
|
height: "50",
|
|
41365
41354
|
viewBox: "0 0 50 50",
|
|
41366
41355
|
width: "50",
|
|
41367
41356
|
xmlns: "http://www.w3.org/2000/svg"
|
|
41368
|
-
},
|
|
41357
|
+
}, lV = /* @__PURE__ */ c$(() => /* @__PURE__ */ E("g", {
|
|
41369
41358
|
fill: "currentColor",
|
|
41370
41359
|
"fill-rule": "nonzero"
|
|
41371
41360
|
}, [
|
|
41372
41361
|
/* @__PURE__ */ E("path", { d: "M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0" })
|
|
41373
|
-
], -1)),
|
|
41374
|
-
|
|
41375
|
-
],
|
|
41362
|
+
], -1)), cV = [
|
|
41363
|
+
lV
|
|
41364
|
+
], dV = /* @__PURE__ */ c$(() => /* @__PURE__ */ E("span", null, "More", -1)), uV = /* @__PURE__ */ G({
|
|
41376
41365
|
__name: "ClientSelector",
|
|
41377
41366
|
setup(r) {
|
|
41378
41367
|
const { httpClient: e, setHttpClient: t, getClientTitle: n, getTargetTitle: s } = Og(), { availableTargets: i } = pl(), o = ce(), a = [
|
|
@@ -41424,7 +41413,7 @@ const R9 = (r) => {
|
|
|
41424
41413
|
}, null, 8, ["icon"])
|
|
41425
41414
|
], 2),
|
|
41426
41415
|
E("span", null, K(w(s)(f)), 1)
|
|
41427
|
-
], 10,
|
|
41416
|
+
], 10, rV)), 64)),
|
|
41428
41417
|
E("div", {
|
|
41429
41418
|
class: me(["code-languages code-languages__select", {
|
|
41430
41419
|
"code-languages__active": w(e) && !d(w(e))
|
|
@@ -41448,10 +41437,10 @@ const R9 = (r) => {
|
|
|
41448
41437
|
}, K(w(n)({
|
|
41449
41438
|
targetKey: f.key,
|
|
41450
41439
|
clientKey: p.key
|
|
41451
|
-
})), 9,
|
|
41452
|
-
], 8,
|
|
41453
|
-
], 40,
|
|
41454
|
-
E("div",
|
|
41440
|
+
})), 9, iV))), 128))
|
|
41441
|
+
], 8, sV))), 128))
|
|
41442
|
+
], 40, nV),
|
|
41443
|
+
E("div", oV, [
|
|
41455
41444
|
w(e) && !d(w(e)) ? (k(), Q("div", {
|
|
41456
41445
|
key: 0,
|
|
41457
41446
|
class: me(`code-languages-icon__${w(e).targetKey}`)
|
|
@@ -41460,13 +41449,13 @@ const R9 = (r) => {
|
|
|
41460
41449
|
class: "code-languages-icon",
|
|
41461
41450
|
icon: l(w(e).targetKey)
|
|
41462
41451
|
}, null, 8, ["icon"])
|
|
41463
|
-
], 2)) : (k(), Q("svg",
|
|
41452
|
+
], 2)) : (k(), Q("svg", aV, cV))
|
|
41464
41453
|
]),
|
|
41465
|
-
|
|
41454
|
+
dV
|
|
41466
41455
|
], 2)
|
|
41467
41456
|
], 512));
|
|
41468
41457
|
}
|
|
41469
|
-
}),
|
|
41458
|
+
}), hV = /* @__PURE__ */ ee(uV, [["__scopeId", "data-v-8457f4be"]]), fV = /* @__PURE__ */ G({
|
|
41470
41459
|
__name: "ClientLibraries",
|
|
41471
41460
|
setup(r) {
|
|
41472
41461
|
const { httpTargetTitle: e, httpClientTitle: t } = Og();
|
|
@@ -41486,7 +41475,7 @@ const R9 = (r) => {
|
|
|
41486
41475
|
transparent: ""
|
|
41487
41476
|
}, {
|
|
41488
41477
|
default: T(() => [
|
|
41489
|
-
I(
|
|
41478
|
+
I(hV)
|
|
41490
41479
|
]),
|
|
41491
41480
|
_: 1
|
|
41492
41481
|
}),
|
|
@@ -41503,13 +41492,13 @@ const R9 = (r) => {
|
|
|
41503
41492
|
_: 1
|
|
41504
41493
|
}));
|
|
41505
41494
|
}
|
|
41506
|
-
}),
|
|
41507
|
-
function
|
|
41508
|
-
return k(), Q("div",
|
|
41495
|
+
}), pV = /* @__PURE__ */ ee(fV, [["__scopeId", "data-v-aeeff450"]]), mV = {}, gV = { class: "badge" };
|
|
41496
|
+
function OV(r, e) {
|
|
41497
|
+
return k(), Q("div", gV, [
|
|
41509
41498
|
te(r.$slots, "default", {}, void 0, !0)
|
|
41510
41499
|
]);
|
|
41511
41500
|
}
|
|
41512
|
-
const Va = /* @__PURE__ */ ee(
|
|
41501
|
+
const Va = /* @__PURE__ */ ee(mV, [["render", OV], ["__scopeId", "data-v-08c68ac3"]]), yg = /* @__PURE__ */ G({
|
|
41513
41502
|
__name: "IntersectionObserver",
|
|
41514
41503
|
props: {
|
|
41515
41504
|
id: {},
|
|
@@ -41540,7 +41529,7 @@ const Va = /* @__PURE__ */ ee(gV, [["render", yV], ["__scopeId", "data-v-08c68ac
|
|
|
41540
41529
|
_: 3
|
|
41541
41530
|
}, 8, ["id"]));
|
|
41542
41531
|
}
|
|
41543
|
-
}),
|
|
41532
|
+
}), yV = /* @__PURE__ */ G({
|
|
41544
41533
|
__name: "Section",
|
|
41545
41534
|
props: {
|
|
41546
41535
|
id: {},
|
|
@@ -41567,13 +41556,13 @@ const Va = /* @__PURE__ */ ee(gV, [["render", yV], ["__scopeId", "data-v-08c68ac
|
|
|
41567
41556
|
_: 3
|
|
41568
41557
|
}, 8, ["id"]));
|
|
41569
41558
|
}
|
|
41570
|
-
}), Qo = /* @__PURE__ */ ee(
|
|
41559
|
+
}), Qo = /* @__PURE__ */ ee(yV, [["__scopeId", "data-v-4ff98d72"]]), bV = { class: "section-accordion-button-content" }, vV = {
|
|
41571
41560
|
key: 0,
|
|
41572
41561
|
class: "section-accordion-button-actions"
|
|
41573
|
-
},
|
|
41562
|
+
}, wV = {
|
|
41574
41563
|
key: 0,
|
|
41575
41564
|
class: "section-accordion-description"
|
|
41576
|
-
},
|
|
41565
|
+
}, SV = { class: "section-accordion-content-card" }, kV = /* @__PURE__ */ G({
|
|
41577
41566
|
__name: "SectionAccordion",
|
|
41578
41567
|
props: {
|
|
41579
41568
|
id: {},
|
|
@@ -41597,10 +41586,10 @@ const Va = /* @__PURE__ */ ee(gV, [["render", yV], ["__scopeId", "data-v-08c68ac
|
|
|
41597
41586
|
class: "section-accordion-button"
|
|
41598
41587
|
}, {
|
|
41599
41588
|
default: T(() => [
|
|
41600
|
-
E("div",
|
|
41589
|
+
E("div", bV, [
|
|
41601
41590
|
te(n.$slots, "title", {}, void 0, !0)
|
|
41602
41591
|
]),
|
|
41603
|
-
n.$slots.actions ? (k(), Q("div",
|
|
41592
|
+
n.$slots.actions ? (k(), Q("div", vV, [
|
|
41604
41593
|
te(n.$slots, "actions", {
|
|
41605
41594
|
active: w(t) || i
|
|
41606
41595
|
}, void 0, !0)
|
|
@@ -41614,10 +41603,10 @@ const Va = /* @__PURE__ */ ee(gV, [["render", yV], ["__scopeId", "data-v-08c68ac
|
|
|
41614
41603
|
}, 1536),
|
|
41615
41604
|
I(w(pd), { class: "section-accordion-content" }, {
|
|
41616
41605
|
default: T(() => [
|
|
41617
|
-
n.$slots.description ? (k(), Q("div",
|
|
41606
|
+
n.$slots.description ? (k(), Q("div", wV, [
|
|
41618
41607
|
te(n.$slots, "description", {}, void 0, !0)
|
|
41619
41608
|
])) : B("", !0),
|
|
41620
|
-
E("div",
|
|
41609
|
+
E("div", SV, [
|
|
41621
41610
|
te(n.$slots, "default", {}, void 0, !0)
|
|
41622
41611
|
])
|
|
41623
41612
|
]),
|
|
@@ -41630,28 +41619,28 @@ const Va = /* @__PURE__ */ ee(gV, [["render", yV], ["__scopeId", "data-v-08c68ac
|
|
|
41630
41619
|
_: 3
|
|
41631
41620
|
}, 8, ["id"]));
|
|
41632
41621
|
}
|
|
41633
|
-
}), d$ = /* @__PURE__ */ ee(
|
|
41634
|
-
function
|
|
41635
|
-
return k(), Q("div",
|
|
41622
|
+
}), d$ = /* @__PURE__ */ ee(kV, [["__scopeId", "data-v-d82ba6d9"]]), $V = {}, PV = { class: "section-column" };
|
|
41623
|
+
function _V(r, e) {
|
|
41624
|
+
return k(), Q("div", PV, [
|
|
41636
41625
|
te(r.$slots, "default", {}, void 0, !0)
|
|
41637
41626
|
]);
|
|
41638
41627
|
}
|
|
41639
|
-
const so = /* @__PURE__ */ ee(
|
|
41640
|
-
function
|
|
41641
|
-
return k(), Q("div",
|
|
41628
|
+
const so = /* @__PURE__ */ ee($V, [["render", _V], ["__scopeId", "data-v-d64e7382"]]), xV = {}, QV = { class: "section-columns" };
|
|
41629
|
+
function TV(r, e) {
|
|
41630
|
+
return k(), Q("div", QV, [
|
|
41642
41631
|
te(r.$slots, "default", {}, void 0, !0)
|
|
41643
41632
|
]);
|
|
41644
41633
|
}
|
|
41645
|
-
const bg = /* @__PURE__ */ ee(
|
|
41646
|
-
function
|
|
41647
|
-
return k(), Q("div",
|
|
41634
|
+
const bg = /* @__PURE__ */ ee(xV, [["render", TV], ["__scopeId", "data-v-8b9602bf"]]), CV = {}, AV = { class: "section-container" };
|
|
41635
|
+
function EV(r, e) {
|
|
41636
|
+
return k(), Q("div", AV, [
|
|
41648
41637
|
te(r.$slots, "default", {}, void 0, !0)
|
|
41649
41638
|
]);
|
|
41650
41639
|
}
|
|
41651
|
-
const ml = /* @__PURE__ */ ee(
|
|
41640
|
+
const ml = /* @__PURE__ */ ee(CV, [["render", EV], ["__scopeId", "data-v-b630668c"]]), RV = { class: "section-accordion-wrapper" }, ZV = { class: "section-accordion-title" }, IV = /* @__PURE__ */ G({
|
|
41652
41641
|
__name: "SectionContainerAccordion",
|
|
41653
41642
|
setup(r) {
|
|
41654
|
-
return (e, t) => (k(), Q("div",
|
|
41643
|
+
return (e, t) => (k(), Q("div", RV, [
|
|
41655
41644
|
I(w(hd), {
|
|
41656
41645
|
as: "div",
|
|
41657
41646
|
class: "section-accordion",
|
|
@@ -41664,7 +41653,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41664
41653
|
class: "section-accordion-chevron",
|
|
41665
41654
|
icon: n ? "ChevronDown" : "ChevronRight"
|
|
41666
41655
|
}, null, 8, ["icon"]),
|
|
41667
|
-
E("div",
|
|
41656
|
+
E("div", ZV, [
|
|
41668
41657
|
te(e.$slots, "title", {}, void 0, !0)
|
|
41669
41658
|
])
|
|
41670
41659
|
]),
|
|
@@ -41681,7 +41670,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41681
41670
|
})
|
|
41682
41671
|
]));
|
|
41683
41672
|
}
|
|
41684
|
-
}), u$ = /* @__PURE__ */ ee(
|
|
41673
|
+
}), u$ = /* @__PURE__ */ ee(IV, [["__scopeId", "data-v-42342baf"]]), jV = /* @__PURE__ */ G({
|
|
41685
41674
|
__name: "LoadingSkeleton",
|
|
41686
41675
|
props: {
|
|
41687
41676
|
lines: { default: 1 }
|
|
@@ -41692,20 +41681,20 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41692
41681
|
class: me(["loading", { "single-line": e.lines === 1 }])
|
|
41693
41682
|
}, null, 2))), 128));
|
|
41694
41683
|
}
|
|
41695
|
-
}), h$ = /* @__PURE__ */ ee(
|
|
41684
|
+
}), h$ = /* @__PURE__ */ ee(jV, [["__scopeId", "data-v-99d52311"]]), NV = { class: "section-content" }, DV = /* @__PURE__ */ G({
|
|
41696
41685
|
__name: "SectionContent",
|
|
41697
41686
|
props: {
|
|
41698
41687
|
loading: { type: Boolean, default: !1 }
|
|
41699
41688
|
},
|
|
41700
41689
|
setup(r) {
|
|
41701
|
-
return (e, t) => (k(), Q("div",
|
|
41690
|
+
return (e, t) => (k(), Q("div", NV, [
|
|
41702
41691
|
e.loading ? (k(), q(h$, {
|
|
41703
41692
|
key: 1,
|
|
41704
41693
|
lines: 8
|
|
41705
41694
|
})) : te(e.$slots, "default", { key: 0 }, void 0, !0)
|
|
41706
41695
|
]));
|
|
41707
41696
|
}
|
|
41708
|
-
}), To = /* @__PURE__ */ ee(
|
|
41697
|
+
}), To = /* @__PURE__ */ ee(DV, [["__scopeId", "data-v-9735459e"]]), MV = /* @__PURE__ */ G({
|
|
41709
41698
|
__name: "SectionHeader",
|
|
41710
41699
|
props: {
|
|
41711
41700
|
loading: { type: Boolean, default: !1 },
|
|
@@ -41723,10 +41712,10 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41723
41712
|
_: 3
|
|
41724
41713
|
}, 8, ["class"]));
|
|
41725
41714
|
}
|
|
41726
|
-
}), fs = /* @__PURE__ */ ee(
|
|
41715
|
+
}), fs = /* @__PURE__ */ ee(MV, [["__scopeId", "data-v-9e0df4d5"]]), XV = {
|
|
41727
41716
|
key: 0,
|
|
41728
41717
|
class: "introduction-description"
|
|
41729
|
-
},
|
|
41718
|
+
}, WV = /* @__PURE__ */ G({
|
|
41730
41719
|
__name: "Description",
|
|
41731
41720
|
props: {
|
|
41732
41721
|
value: {}
|
|
@@ -41738,7 +41727,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41738
41727
|
return [];
|
|
41739
41728
|
const c = await Jc(e.value), d = eS(c);
|
|
41740
41729
|
return await Promise.all(
|
|
41741
|
-
|
|
41730
|
+
T7(e.value, d).map(
|
|
41742
41731
|
async (u) => ({
|
|
41743
41732
|
heading: (await Jc(u))[0],
|
|
41744
41733
|
content: u
|
|
@@ -41755,7 +41744,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41755
41744
|
return Js(async () => {
|
|
41756
41745
|
const c = op();
|
|
41757
41746
|
await Ks(1), c.scalarState[n] = s.value;
|
|
41758
|
-
}), (c, d) => c.value ? (k(), Q("div",
|
|
41747
|
+
}), (c, d) => c.value ? (k(), Q("div", XV, [
|
|
41759
41748
|
(k(!0), Q(J, null, be(w(s), (u, h) => (k(), Q(J, { key: h }, [
|
|
41760
41749
|
u.heading ? (k(), q(yg, {
|
|
41761
41750
|
key: 0,
|
|
@@ -41778,14 +41767,14 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41778
41767
|
], 64))), 128))
|
|
41779
41768
|
])) : B("", !0);
|
|
41780
41769
|
}
|
|
41781
|
-
}),
|
|
41770
|
+
}), qV = /* @__PURE__ */ ee(WV, [["__scopeId", "data-v-72a2ff84"]]), VV = { class: "download" }, zV = { class: "download-cta" }, UV = /* @__PURE__ */ G({
|
|
41782
41771
|
__name: "DownloadSpec",
|
|
41783
41772
|
setup(r) {
|
|
41784
41773
|
const e = ap(nS);
|
|
41785
41774
|
return (t, n) => {
|
|
41786
41775
|
var s;
|
|
41787
|
-
return k(), Q("div",
|
|
41788
|
-
E("div",
|
|
41776
|
+
return k(), Q("div", VV, [
|
|
41777
|
+
E("div", zV, [
|
|
41789
41778
|
(s = w(e)) != null && s() ? B("", !0) : (k(), Q("button", {
|
|
41790
41779
|
key: 0,
|
|
41791
41780
|
class: "download-button",
|
|
@@ -41796,7 +41785,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41796
41785
|
]);
|
|
41797
41786
|
};
|
|
41798
41787
|
}
|
|
41799
|
-
}),
|
|
41788
|
+
}), YV = /* @__PURE__ */ ee(UV, [["__scopeId", "data-v-ebcd558c"]]), LV = { class: "badges" }, BV = { class: "sticky-cards" }, HV = /* @__PURE__ */ G({
|
|
41800
41789
|
__name: "Introduction",
|
|
41801
41790
|
props: {
|
|
41802
41791
|
info: {},
|
|
@@ -41816,7 +41805,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41816
41805
|
default: T(() => [
|
|
41817
41806
|
I(w(so), null, {
|
|
41818
41807
|
default: T(() => [
|
|
41819
|
-
E("div",
|
|
41808
|
+
E("div", LV, [
|
|
41820
41809
|
n.info.version ? (k(), q(w(Va), { key: 0 }, {
|
|
41821
41810
|
default: T(() => [
|
|
41822
41811
|
F(K(n.info.version), 1)
|
|
@@ -41840,8 +41829,8 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41840
41829
|
]),
|
|
41841
41830
|
_: 1
|
|
41842
41831
|
}, 8, ["loading"]),
|
|
41843
|
-
I(
|
|
41844
|
-
I(
|
|
41832
|
+
I(YV),
|
|
41833
|
+
I(qV, {
|
|
41845
41834
|
value: n.info.description
|
|
41846
41835
|
}, null, 8, ["value"])
|
|
41847
41836
|
]),
|
|
@@ -41849,7 +41838,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41849
41838
|
}),
|
|
41850
41839
|
n.$slots.aside ? (k(), q(w(so), { key: 0 }, {
|
|
41851
41840
|
default: T(() => [
|
|
41852
|
-
E("div",
|
|
41841
|
+
E("div", BV, [
|
|
41853
41842
|
te(n.$slots, "aside", {}, void 0, !0)
|
|
41854
41843
|
])
|
|
41855
41844
|
]),
|
|
@@ -41869,7 +41858,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41869
41858
|
_: 3
|
|
41870
41859
|
}));
|
|
41871
41860
|
}
|
|
41872
|
-
}),
|
|
41861
|
+
}), GV = /* @__PURE__ */ ee(HV, [["__scopeId", "data-v-af049f63"]]), FV = Symbol(), tp = cp(FV), dd = /* @__PURE__ */ G({
|
|
41873
41862
|
__name: "Lazy",
|
|
41874
41863
|
props: {
|
|
41875
41864
|
id: {},
|
|
@@ -41885,20 +41874,20 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41885
41874
|
n.value = !0, e.id && ec(() => tp.emit({ id: e.id }));
|
|
41886
41875
|
}) : e.id && ec(() => tp.emit({ id: e.id })), (s, i) => n.value ? te(s.$slots, "default", { key: 0 }) : B("", !0);
|
|
41887
41876
|
}
|
|
41888
|
-
}),
|
|
41877
|
+
}), KV = {
|
|
41889
41878
|
key: 0,
|
|
41890
41879
|
class: "screenreader-only"
|
|
41891
|
-
},
|
|
41880
|
+
}, JV = /* @__PURE__ */ G({
|
|
41892
41881
|
__name: "ScreenReader",
|
|
41893
41882
|
props: {
|
|
41894
41883
|
if: { type: Boolean, default: !0 }
|
|
41895
41884
|
},
|
|
41896
41885
|
setup(r) {
|
|
41897
|
-
return (e, t) => e.$props.if ? (k(), Q("span",
|
|
41886
|
+
return (e, t) => e.$props.if ? (k(), Q("span", KV, [
|
|
41898
41887
|
te(e.$slots, "default", {}, void 0, !0)
|
|
41899
41888
|
])) : te(e.$slots, "default", { key: 1 }, void 0, !0);
|
|
41900
41889
|
}
|
|
41901
|
-
}), f$ = /* @__PURE__ */ ee(
|
|
41890
|
+
}), f$ = /* @__PURE__ */ ee(JV, [["__scopeId", "data-v-681ebf2c"]]), ez = (r) => ($t("data-v-6dd4d525"), r = r(), Pt(), r), tz = { class: "label" }, rz = { class: "anchor" }, nz = /* @__PURE__ */ ez(() => /* @__PURE__ */ E("span", null, "", -1)), sz = /* @__PURE__ */ G({
|
|
41902
41891
|
__name: "Anchor",
|
|
41903
41892
|
props: {
|
|
41904
41893
|
id: {}
|
|
@@ -41908,10 +41897,10 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41908
41897
|
const s = new URL(window.location.href);
|
|
41909
41898
|
return s.hash = n, s.toString();
|
|
41910
41899
|
};
|
|
41911
|
-
return (n, s) => (k(), Q("span",
|
|
41900
|
+
return (n, s) => (k(), Q("span", tz, [
|
|
41912
41901
|
te(n.$slots, "default", {}, void 0, !0),
|
|
41913
|
-
E("span",
|
|
41914
|
-
|
|
41902
|
+
E("span", rz, [
|
|
41903
|
+
nz,
|
|
41915
41904
|
E("button", {
|
|
41916
41905
|
class: "anchor-copy",
|
|
41917
41906
|
type: "button",
|
|
@@ -41930,7 +41919,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41930
41919
|
])
|
|
41931
41920
|
]));
|
|
41932
41921
|
}
|
|
41933
|
-
}), ps = /* @__PURE__ */ ee(
|
|
41922
|
+
}), ps = /* @__PURE__ */ ee(sz, [["__scopeId", "data-v-6dd4d525"]]), iz = ["value"], oz = ["label"], az = ["value"], lz = ["value"], vg = /* @__PURE__ */ G({
|
|
41934
41923
|
__name: "TextSelect",
|
|
41935
41924
|
props: {
|
|
41936
41925
|
modelValue: {},
|
|
@@ -41958,16 +41947,16 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
41958
41947
|
(k(!0), Q(J, null, be(n.options, (s) => (k(), Q("option", {
|
|
41959
41948
|
key: s.value,
|
|
41960
41949
|
value: s.value
|
|
41961
|
-
}, K(s.label), 9,
|
|
41962
|
-
], 8,
|
|
41950
|
+
}, K(s.label), 9, az))), 128))
|
|
41951
|
+
], 8, oz)) : (k(), Q("option", {
|
|
41963
41952
|
key: n.value,
|
|
41964
41953
|
value: n.value
|
|
41965
|
-
}, K(n.label), 9,
|
|
41954
|
+
}, K(n.label), 9, lz))
|
|
41966
41955
|
], 64))), 128))
|
|
41967
|
-
], 40,
|
|
41956
|
+
], 40, iz)
|
|
41968
41957
|
], 2));
|
|
41969
41958
|
}
|
|
41970
|
-
}),
|
|
41959
|
+
}), cz = { class: "request-header" }, dz = /* @__PURE__ */ G({
|
|
41971
41960
|
__name: "CustomRequestExamples",
|
|
41972
41961
|
props: {
|
|
41973
41962
|
operation: {},
|
|
@@ -42039,7 +42028,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42039
42028
|
])
|
|
42040
42029
|
]),
|
|
42041
42030
|
default: T(() => [
|
|
42042
|
-
E("div",
|
|
42031
|
+
E("div", cz, [
|
|
42043
42032
|
I(w(hs), {
|
|
42044
42033
|
class: "request-method",
|
|
42045
42034
|
method: o.operation.httpVerb
|
|
@@ -42077,7 +42066,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42077
42066
|
_: 3
|
|
42078
42067
|
}));
|
|
42079
42068
|
}
|
|
42080
|
-
}),
|
|
42069
|
+
}), uz = /* @__PURE__ */ ee(dz, [["__scopeId", "data-v-71343148"]]), hz = { class: "schema-type" }, fz = ["title"], pz = /* @__PURE__ */ G({
|
|
42081
42070
|
__name: "SchemaHeading",
|
|
42082
42071
|
props: {
|
|
42083
42072
|
value: {},
|
|
@@ -42086,7 +42075,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42086
42075
|
setup(r) {
|
|
42087
42076
|
return (e, t) => {
|
|
42088
42077
|
var n, s, i, o, a, l;
|
|
42089
|
-
return k(), Q("span",
|
|
42078
|
+
return k(), Q("span", hz, [
|
|
42090
42079
|
E("span", {
|
|
42091
42080
|
class: "schema-type-icon",
|
|
42092
42081
|
title: typeof e.value.type == "string" ? e.value.type : Array.isArray(e.value.type) ? e.value.type.join(" | ") : "unkown type"
|
|
@@ -42100,7 +42089,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42100
42089
|
e.value.enum ? (k(), Q(J, { key: 2 }, [
|
|
42101
42090
|
F(" enum ")
|
|
42102
42091
|
], 64)) : B("", !0)
|
|
42103
|
-
], 8,
|
|
42092
|
+
], 8, fz),
|
|
42104
42093
|
(s = (n = e.value) == null ? void 0 : n.xml) != null && s.name && ((o = (i = e.value) == null ? void 0 : i.xml) == null ? void 0 : o.name) !== "##default" ? (k(), Q(J, { key: 0 }, [
|
|
42105
42094
|
F(" <" + K((l = (a = e.value) == null ? void 0 : a.xml) == null ? void 0 : l.name) + " /> ", 1)
|
|
42106
42095
|
], 64)) : e.name ? (k(), Q(J, { key: 1 }, [
|
|
@@ -42111,16 +42100,16 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42111
42100
|
]);
|
|
42112
42101
|
};
|
|
42113
42102
|
}
|
|
42114
|
-
}), p$ = /* @__PURE__ */ ee(
|
|
42103
|
+
}), p$ = /* @__PURE__ */ ee(pz, [["__scopeId", "data-v-066afd0e"]]), mz = {
|
|
42115
42104
|
key: 0,
|
|
42116
42105
|
class: "property-detail-prefix"
|
|
42117
|
-
},
|
|
42106
|
+
}, gz = {
|
|
42118
42107
|
key: 1,
|
|
42119
42108
|
class: "property-detail-value"
|
|
42120
|
-
},
|
|
42109
|
+
}, Oz = {
|
|
42121
42110
|
key: 2,
|
|
42122
42111
|
class: "property-detail-value"
|
|
42123
|
-
},
|
|
42112
|
+
}, yz = /* @__PURE__ */ G({
|
|
42124
42113
|
__name: "SchemaPropertyDetail",
|
|
42125
42114
|
props: {
|
|
42126
42115
|
truncate: { type: Boolean },
|
|
@@ -42130,36 +42119,36 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42130
42119
|
return (e, t) => (k(), Q("span", {
|
|
42131
42120
|
class: me(["property-detail", { "property-detail-truncate": e.truncate }])
|
|
42132
42121
|
}, [
|
|
42133
|
-
e.$slots.prefix ? (k(), Q("div",
|
|
42122
|
+
e.$slots.prefix ? (k(), Q("div", mz, [
|
|
42134
42123
|
te(e.$slots, "prefix", {}, void 0, !0),
|
|
42135
42124
|
F(" ")
|
|
42136
42125
|
])) : B("", !0),
|
|
42137
|
-
e.code ? (k(), Q("code",
|
|
42126
|
+
e.code ? (k(), Q("code", gz, [
|
|
42138
42127
|
te(e.$slots, "default", {}, void 0, !0)
|
|
42139
|
-
])) : (k(), Q("span",
|
|
42128
|
+
])) : (k(), Q("span", Oz, [
|
|
42140
42129
|
te(e.$slots, "default", {}, void 0, !0)
|
|
42141
42130
|
]))
|
|
42142
42131
|
], 2));
|
|
42143
42132
|
}
|
|
42144
|
-
}), Ur = /* @__PURE__ */ ee(
|
|
42133
|
+
}), Ur = /* @__PURE__ */ ee(yz, [["__scopeId", "data-v-d3d50f2c"]]), bz = { class: "property-heading" }, vz = {
|
|
42145
42134
|
key: 0,
|
|
42146
42135
|
class: "property-name"
|
|
42147
|
-
},
|
|
42136
|
+
}, wz = {
|
|
42148
42137
|
key: 1,
|
|
42149
42138
|
class: "property-deprecated"
|
|
42150
|
-
},
|
|
42139
|
+
}, Sz = {
|
|
42151
42140
|
key: 2,
|
|
42152
42141
|
class: "property-required"
|
|
42153
|
-
},
|
|
42142
|
+
}, kz = {
|
|
42154
42143
|
key: 3,
|
|
42155
42144
|
class: "property-details"
|
|
42156
|
-
},
|
|
42145
|
+
}, $z = {
|
|
42157
42146
|
key: 4,
|
|
42158
42147
|
class: "property-write-only"
|
|
42159
|
-
},
|
|
42148
|
+
}, Pz = {
|
|
42160
42149
|
key: 5,
|
|
42161
42150
|
class: "property-read-only"
|
|
42162
|
-
},
|
|
42151
|
+
}, _z = /* @__PURE__ */ G({
|
|
42163
42152
|
__name: "SchemaPropertyHeading",
|
|
42164
42153
|
props: {
|
|
42165
42154
|
value: {},
|
|
@@ -42170,11 +42159,11 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42170
42159
|
const e = ["oneOf", "anyOf", "allOf", "not"];
|
|
42171
42160
|
return (t, n) => {
|
|
42172
42161
|
var s, i, o, a;
|
|
42173
|
-
return k(), Q("div",
|
|
42174
|
-
t.$slots.name ? (k(), Q("div",
|
|
42162
|
+
return k(), Q("div", bz, [
|
|
42163
|
+
t.$slots.name ? (k(), Q("div", vz, [
|
|
42175
42164
|
te(t.$slots, "name", {}, void 0, !0)
|
|
42176
42165
|
])) : B("", !0),
|
|
42177
|
-
(s = t.value) != null && s.deprecated ? (k(), Q("div",
|
|
42166
|
+
(s = t.value) != null && s.deprecated ? (k(), Q("div", wz, [
|
|
42178
42167
|
I(w(Va), null, {
|
|
42179
42168
|
default: T(() => [
|
|
42180
42169
|
F("deprecated")
|
|
@@ -42182,8 +42171,8 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42182
42171
|
_: 1
|
|
42183
42172
|
})
|
|
42184
42173
|
])) : B("", !0),
|
|
42185
|
-
t.required ? (k(), Q("div",
|
|
42186
|
-
(i = t.value) != null && i.type ? (k(), Q("div",
|
|
42174
|
+
t.required ? (k(), Q("div", Sz, " required ")) : B("", !0),
|
|
42175
|
+
(i = t.value) != null && i.type ? (k(), Q("div", kz, [
|
|
42187
42176
|
I(Ur, null, {
|
|
42188
42177
|
default: T(() => {
|
|
42189
42178
|
var l, c;
|
|
@@ -42277,7 +42266,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42277
42266
|
_: 1
|
|
42278
42267
|
})) : B("", !0)
|
|
42279
42268
|
])) : B("", !0),
|
|
42280
|
-
(o = t.value) != null && o.writeOnly ? (k(), Q("div",
|
|
42269
|
+
(o = t.value) != null && o.writeOnly ? (k(), Q("div", $z, " write-only ")) : (a = t.value) != null && a.readOnly ? (k(), Q("div", Pz, " read-only ")) : B("", !0),
|
|
42281
42270
|
(k(!0), Q(J, null, be(e.filter((l) => {
|
|
42282
42271
|
var c, d, u;
|
|
42283
42272
|
return ((c = t.value) == null ? void 0 : c[l]) || ((u = (d = t.value) == null ? void 0 : d.items) == null ? void 0 : u[l]);
|
|
@@ -42290,31 +42279,31 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42290
42279
|
]);
|
|
42291
42280
|
};
|
|
42292
42281
|
}
|
|
42293
|
-
}),
|
|
42282
|
+
}), xz = /* @__PURE__ */ ee(_z, [["__scopeId", "data-v-b81fa822"]]), Qz = (r) => ($t("data-v-ca3a59c4"), r = r(), Pt(), r), Tz = {
|
|
42294
42283
|
key: 0,
|
|
42295
42284
|
class: "property-description"
|
|
42296
|
-
},
|
|
42285
|
+
}, Cz = {
|
|
42297
42286
|
key: 1,
|
|
42298
42287
|
class: "property-description"
|
|
42299
|
-
},
|
|
42288
|
+
}, Az = {
|
|
42300
42289
|
key: 2,
|
|
42301
42290
|
class: "property-example custom-scroll"
|
|
42302
|
-
},
|
|
42291
|
+
}, Ez = /* @__PURE__ */ Qz(() => /* @__PURE__ */ E("span", { class: "property-example-label" }, "Example", -1)), Rz = { class: "property-example-value" }, Zz = {
|
|
42303
42292
|
key: 3,
|
|
42304
42293
|
class: "property-enum"
|
|
42305
|
-
},
|
|
42294
|
+
}, Iz = { class: "property-enum-values" }, jz = {
|
|
42306
42295
|
key: 4,
|
|
42307
42296
|
class: "children"
|
|
42308
|
-
},
|
|
42297
|
+
}, Nz = {
|
|
42309
42298
|
key: 0,
|
|
42310
42299
|
class: "children"
|
|
42311
|
-
},
|
|
42300
|
+
}, Dz = {
|
|
42312
42301
|
key: 0,
|
|
42313
42302
|
class: "property-rule"
|
|
42314
|
-
},
|
|
42303
|
+
}, Mz = {
|
|
42315
42304
|
key: 1,
|
|
42316
42305
|
class: "property-rule"
|
|
42317
|
-
},
|
|
42306
|
+
}, Xz = /* @__PURE__ */ G({
|
|
42318
42307
|
__name: "SchemaProperty",
|
|
42319
42308
|
props: {
|
|
42320
42309
|
value: {},
|
|
@@ -42357,7 +42346,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42357
42346
|
}
|
|
42358
42347
|
]])
|
|
42359
42348
|
}, [
|
|
42360
|
-
I(
|
|
42349
|
+
I(xz, {
|
|
42361
42350
|
enum: !!s(o.value),
|
|
42362
42351
|
required: o.required,
|
|
42363
42352
|
value: o.value
|
|
@@ -42370,28 +42359,28 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42370
42359
|
key: "0"
|
|
42371
42360
|
} : void 0
|
|
42372
42361
|
]), 1032, ["enum", "required", "value"]),
|
|
42373
|
-
t(o.description, o.value) ? (k(), Q("div",
|
|
42362
|
+
t(o.description, o.value) ? (k(), Q("div", Tz, [
|
|
42374
42363
|
I(w(Zr), {
|
|
42375
42364
|
value: t(o.description, o.value)
|
|
42376
42365
|
}, null, 8, ["value"])
|
|
42377
|
-
])) : n(o.value) ? (k(), Q("div",
|
|
42366
|
+
])) : n(o.value) ? (k(), Q("div", Cz, [
|
|
42378
42367
|
I(w(Zr), {
|
|
42379
42368
|
value: n(o.value) || ""
|
|
42380
42369
|
}, null, 8, ["value"])
|
|
42381
42370
|
])) : B("", !0),
|
|
42382
|
-
(c = o.value) != null && c.example || (u = (d = o.value) == null ? void 0 : d.items) != null && u.example ? (k(), Q("div",
|
|
42383
|
-
|
|
42384
|
-
E("code",
|
|
42371
|
+
(c = o.value) != null && c.example || (u = (d = o.value) == null ? void 0 : d.items) != null && u.example ? (k(), Q("div", Az, [
|
|
42372
|
+
Ez,
|
|
42373
|
+
E("code", Rz, K(o.value.example || ((h = o.value) == null ? void 0 : h.items.example)), 1)
|
|
42385
42374
|
])) : B("", !0),
|
|
42386
|
-
s(o.value) ? (k(), Q("div",
|
|
42387
|
-
E("ul",
|
|
42375
|
+
s(o.value) ? (k(), Q("div", Zz, [
|
|
42376
|
+
E("ul", Iz, [
|
|
42388
42377
|
(k(!0), Q(J, null, be(s(o.value), (y) => (k(), Q("li", {
|
|
42389
42378
|
key: y,
|
|
42390
42379
|
class: "property-enum-value"
|
|
42391
42380
|
}, K(y), 1))), 128))
|
|
42392
42381
|
])
|
|
42393
42382
|
])) : B("", !0),
|
|
42394
|
-
((f = o.value) == null ? void 0 : f.type) === "object" && ((p = o.value) != null && p.properties || (g = o.value) != null && g.additionalProperties) ? (k(), Q("div",
|
|
42383
|
+
((f = o.value) == null ? void 0 : f.type) === "object" && ((p = o.value) != null && p.properties || (g = o.value) != null && g.additionalProperties) ? (k(), Q("div", jz, [
|
|
42395
42384
|
I(Ds, {
|
|
42396
42385
|
compact: o.compact,
|
|
42397
42386
|
level: o.level + 1,
|
|
@@ -42399,7 +42388,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42399
42388
|
}, null, 8, ["compact", "level", "value"])
|
|
42400
42389
|
])) : B("", !0),
|
|
42401
42390
|
(m = o.value) != null && m.items ? (k(), Q(J, { key: 5 }, [
|
|
42402
|
-
["object"].includes(o.value.items.type) ? (k(), Q("div",
|
|
42391
|
+
["object"].includes(o.value.items.type) ? (k(), Q("div", Nz, [
|
|
42403
42392
|
I(Ds, {
|
|
42404
42393
|
compact: o.compact,
|
|
42405
42394
|
level: o.level + 1,
|
|
@@ -42410,7 +42399,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42410
42399
|
(k(), Q(J, null, be(i, (y) => {
|
|
42411
42400
|
var O, b, v;
|
|
42412
42401
|
return k(), Q(J, { key: y }, [
|
|
42413
|
-
(O = o.value) != null && O[y] ? (k(), Q("div",
|
|
42402
|
+
(O = o.value) != null && O[y] ? (k(), Q("div", Dz, [
|
|
42414
42403
|
(k(!0), Q(J, null, be(o.value[y], (P, S) => (k(), q(Ds, {
|
|
42415
42404
|
key: S,
|
|
42416
42405
|
compact: o.compact,
|
|
@@ -42418,7 +42407,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42418
42407
|
value: P
|
|
42419
42408
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
42420
42409
|
])) : B("", !0),
|
|
42421
|
-
(v = (b = o.value) == null ? void 0 : b.items) != null && v[y] && o.level < 3 ? (k(), Q("div",
|
|
42410
|
+
(v = (b = o.value) == null ? void 0 : b.items) != null && v[y] && o.level < 3 ? (k(), Q("div", Mz, [
|
|
42422
42411
|
(k(!0), Q(J, null, be(o.value.items[y], (P, S) => (k(), q(Ds, {
|
|
42423
42412
|
key: S,
|
|
42424
42413
|
compact: o.compact,
|
|
@@ -42431,15 +42420,15 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42431
42420
|
], 2);
|
|
42432
42421
|
};
|
|
42433
42422
|
}
|
|
42434
|
-
}), za = /* @__PURE__ */ ee(
|
|
42423
|
+
}), za = /* @__PURE__ */ ee(Xz, [["__scopeId", "data-v-ca3a59c4"]]), Wz = (r) => ($t("data-v-68362ef2"), r = r(), Pt(), r), qz = {
|
|
42435
42424
|
key: 0,
|
|
42436
42425
|
class: "schema-card-description"
|
|
42437
|
-
},
|
|
42426
|
+
}, Vz = /* @__PURE__ */ Wz(() => /* @__PURE__ */ E("polygon", {
|
|
42438
42427
|
"fill-rule": "nonzero",
|
|
42439
42428
|
points: "14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"
|
|
42440
|
-
}, null, -1)),
|
|
42441
|
-
|
|
42442
|
-
],
|
|
42429
|
+
}, null, -1)), zz = [
|
|
42430
|
+
Vz
|
|
42431
|
+
], Uz = /* @__PURE__ */ G({
|
|
42443
42432
|
__name: "Schema",
|
|
42444
42433
|
props: {
|
|
42445
42434
|
value: {},
|
|
@@ -42469,7 +42458,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42469
42458
|
{ "schema-card--compact": i.compact, "schema-card--open": a }
|
|
42470
42459
|
]])
|
|
42471
42460
|
}, [
|
|
42472
|
-
(l = i.value) != null && l.description ? (k(), Q("div",
|
|
42461
|
+
(l = i.value) != null && l.description ? (k(), Q("div", qz, K(i.value.description), 1)) : B("", !0),
|
|
42473
42462
|
E("div", {
|
|
42474
42463
|
class: me(["schema-properties", { "schema-properties-open": a }])
|
|
42475
42464
|
}, [
|
|
@@ -42491,7 +42480,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42491
42480
|
viewBox: "0 0 14 14",
|
|
42492
42481
|
width: "14",
|
|
42493
42482
|
xmlns: "http://www.w3.org/2000/svg"
|
|
42494
|
-
},
|
|
42483
|
+
}, zz, 2)) : B("", !0),
|
|
42495
42484
|
a ? (k(), Q(J, { key: 1 }, [
|
|
42496
42485
|
F("Hide Child Attributes")
|
|
42497
42486
|
], 64)) : (k(), Q(J, { key: 2 }, [
|
|
@@ -42546,15 +42535,15 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42546
42535
|
_: 1
|
|
42547
42536
|
}, 8, ["defaultOpen"])) : B("", !0);
|
|
42548
42537
|
}
|
|
42549
|
-
}), Ds = /* @__PURE__ */ ee(
|
|
42538
|
+
}), Ds = /* @__PURE__ */ ee(Uz, [["__scopeId", "data-v-68362ef2"]]), Yz = { class: "parameter-item" }, Lz = { class: "parameter-item-container" }, Bz = /* @__PURE__ */ G({
|
|
42550
42539
|
__name: "ParameterItem",
|
|
42551
42540
|
props: {
|
|
42552
42541
|
parameter: {},
|
|
42553
42542
|
showChildren: { type: Boolean, default: !1 }
|
|
42554
42543
|
},
|
|
42555
42544
|
setup(r) {
|
|
42556
|
-
return (e, t) => (k(), Q("li",
|
|
42557
|
-
E("div",
|
|
42545
|
+
return (e, t) => (k(), Q("li", Yz, [
|
|
42546
|
+
E("div", Lz, [
|
|
42558
42547
|
I(w(za), {
|
|
42559
42548
|
compact: "",
|
|
42560
42549
|
description: e.parameter.description,
|
|
@@ -42567,10 +42556,10 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42567
42556
|
])
|
|
42568
42557
|
]));
|
|
42569
42558
|
}
|
|
42570
|
-
}),
|
|
42559
|
+
}), Hz = /* @__PURE__ */ ee(Bz, [["__scopeId", "data-v-8d726548"]]), Gz = {
|
|
42571
42560
|
key: 0,
|
|
42572
42561
|
class: "parameters"
|
|
42573
|
-
},
|
|
42562
|
+
}, Fz = { class: "parameters-title" }, Kz = { class: "parameter-list" }, Jz = /* @__PURE__ */ G({
|
|
42574
42563
|
__name: "Parameters",
|
|
42575
42564
|
props: {
|
|
42576
42565
|
parameters: {},
|
|
@@ -42579,12 +42568,12 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42579
42568
|
setup(r) {
|
|
42580
42569
|
return (e, t) => {
|
|
42581
42570
|
var n;
|
|
42582
|
-
return (n = e.parameters) != null && n.length ? (k(), Q("div",
|
|
42583
|
-
E("div",
|
|
42571
|
+
return (n = e.parameters) != null && n.length ? (k(), Q("div", Gz, [
|
|
42572
|
+
E("div", Fz, [
|
|
42584
42573
|
te(e.$slots, "title", {}, void 0, !0)
|
|
42585
42574
|
]),
|
|
42586
|
-
E("ul",
|
|
42587
|
-
(k(!0), Q(J, null, be(e.parameters, (s) => (k(), q(
|
|
42575
|
+
E("ul", Kz, [
|
|
42576
|
+
(k(!0), Q(J, null, be(e.parameters, (s) => (k(), q(Hz, {
|
|
42588
42577
|
key: s.name,
|
|
42589
42578
|
parameter: s,
|
|
42590
42579
|
showChildren: e.showChildren
|
|
@@ -42593,10 +42582,10 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42593
42582
|
])) : B("", !0);
|
|
42594
42583
|
};
|
|
42595
42584
|
}
|
|
42596
|
-
}), Pr = /* @__PURE__ */ ee(
|
|
42585
|
+
}), Pr = /* @__PURE__ */ ee(Jz, [["__scopeId", "data-v-b53bea85"]]), eU = { key: 0 }, tU = { class: "request-body-title" }, rU = ["value"], nU = {
|
|
42597
42586
|
key: 0,
|
|
42598
42587
|
class: "request-body-schema"
|
|
42599
|
-
},
|
|
42588
|
+
}, sU = /* @__PURE__ */ G({
|
|
42600
42589
|
__name: "RequestBody",
|
|
42601
42590
|
props: {
|
|
42602
42591
|
requestBody: {}
|
|
@@ -42609,8 +42598,8 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42609
42598
|
}), n = ce("application/json");
|
|
42610
42599
|
return (s = e.requestBody) != null && s.content && t.value.length > 0 && (n.value = t.value[0]), (i, o) => {
|
|
42611
42600
|
var a, l, c, d;
|
|
42612
|
-
return e != null && e.requestBody ? (k(), Q("div",
|
|
42613
|
-
E("div",
|
|
42601
|
+
return e != null && e.requestBody ? (k(), Q("div", eU, [
|
|
42602
|
+
E("div", tU, [
|
|
42614
42603
|
te(i.$slots, "title", {}, void 0, !0),
|
|
42615
42604
|
E("div", {
|
|
42616
42605
|
class: me(["request-body-title-select", { "request-body-title-no-select": t.value.length <= 1 }])
|
|
@@ -42623,13 +42612,13 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42623
42612
|
(k(!0), Q(J, null, be((a = e.requestBody) == null ? void 0 : a.content, (u, h) => (k(), Q("option", {
|
|
42624
42613
|
key: h,
|
|
42625
42614
|
value: h
|
|
42626
|
-
}, K(h), 9,
|
|
42615
|
+
}, K(h), 9, rU))), 128))
|
|
42627
42616
|
], 512)), [
|
|
42628
42617
|
[Y$, n.value]
|
|
42629
42618
|
]) : B("", !0)
|
|
42630
42619
|
], 2)
|
|
42631
42620
|
]),
|
|
42632
|
-
(l = e == null ? void 0 : e.requestBody.content) != null && l[n.value] ? (k(), Q("div",
|
|
42621
|
+
(l = e == null ? void 0 : e.requestBody.content) != null && l[n.value] ? (k(), Q("div", nU, [
|
|
42633
42622
|
I(w(Ds), {
|
|
42634
42623
|
compact: "",
|
|
42635
42624
|
noncollapsible: "",
|
|
@@ -42639,7 +42628,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42639
42628
|
])) : B("", !0);
|
|
42640
42629
|
};
|
|
42641
42630
|
}
|
|
42642
|
-
}), wg = /* @__PURE__ */ ee(
|
|
42631
|
+
}), wg = /* @__PURE__ */ ee(sU, [["__scopeId", "data-v-a68d9b3b"]]), iU = { class: "endpoint-details" }, oU = { class: "endpoint-description" }, aU = /* @__PURE__ */ G({
|
|
42643
42632
|
__name: "EndpointDetails",
|
|
42644
42633
|
props: {
|
|
42645
42634
|
operation: {}
|
|
@@ -42648,8 +42637,8 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42648
42637
|
const e = r, { parameterMap: t } = mg(e), { responses: n } = gg(e.operation);
|
|
42649
42638
|
return (s, i) => {
|
|
42650
42639
|
var o, a;
|
|
42651
|
-
return k(), Q("div",
|
|
42652
|
-
E("div",
|
|
42640
|
+
return k(), Q("div", iU, [
|
|
42641
|
+
E("div", oU, [
|
|
42653
42642
|
I(w(Zr), {
|
|
42654
42643
|
value: s.operation.description
|
|
42655
42644
|
}, null, 8, ["value"])
|
|
@@ -42713,7 +42702,7 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42713
42702
|
]);
|
|
42714
42703
|
};
|
|
42715
42704
|
}
|
|
42716
|
-
}),
|
|
42705
|
+
}), lU = { key: 0 }, cU = /* @__PURE__ */ G({
|
|
42717
42706
|
__name: "EndpointPath",
|
|
42718
42707
|
props: {
|
|
42719
42708
|
path: {},
|
|
@@ -42725,23 +42714,23 @@ const ml = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
|
|
|
42725
42714
|
class: me(["endpoint-path", { deprecated: s.deprecated }])
|
|
42726
42715
|
}, [
|
|
42727
42716
|
(k(!0), Q(J, null, be(n.value, (o, a) => (k(), Q(J, { key: a }, [
|
|
42728
|
-
t(o) ? (k(), Q("em",
|
|
42717
|
+
t(o) ? (k(), Q("em", lU, K(o), 1)) : (k(), Q(J, { key: 1 }, [
|
|
42729
42718
|
F(K(o), 1)
|
|
42730
42719
|
], 64))
|
|
42731
42720
|
], 64))), 128))
|
|
42732
42721
|
], 2));
|
|
42733
42722
|
}
|
|
42734
|
-
}), rp = /* @__PURE__ */ ee(
|
|
42723
|
+
}), rp = /* @__PURE__ */ ee(cU, [["__scopeId", "data-v-25f29b01"]]);
|
|
42735
42724
|
function Sg(r) {
|
|
42736
42725
|
return r.reduce((e, t) => (e[t.name] = t.value, e), {});
|
|
42737
42726
|
}
|
|
42738
|
-
function
|
|
42727
|
+
function dU(r) {
|
|
42739
42728
|
return /\s|-/.test(r);
|
|
42740
42729
|
}
|
|
42741
42730
|
function cs(r, e = 0) {
|
|
42742
42731
|
let t = [], n = " ".repeat(e), s = " ".repeat(e + 2);
|
|
42743
42732
|
for (const [i, o] of Object.entries(r)) {
|
|
42744
|
-
let a =
|
|
42733
|
+
let a = dU(i) ? `'${i}'` : i;
|
|
42745
42734
|
if (Array.isArray(o)) {
|
|
42746
42735
|
const l = o.map((c) => typeof c == "string" ? `'${c}'` : c && typeof c == "object" ? cs(c, e + 2) : c).join(`, ${s}`);
|
|
42747
42736
|
t.push(`${s}${a}: [${l}]`);
|
|
@@ -42770,7 +42759,7 @@ ${t.join(`,
|
|
|
42770
42759
|
`)}
|
|
42771
42760
|
${n}}`;
|
|
42772
42761
|
}
|
|
42773
|
-
function
|
|
42762
|
+
function uU(r) {
|
|
42774
42763
|
var e, t;
|
|
42775
42764
|
const n = {
|
|
42776
42765
|
method: "GET",
|
|
@@ -42798,7 +42787,7 @@ function hU(r) {
|
|
|
42798
42787
|
const { statusCode, body } = await request('${n.url}${o}'${a})`
|
|
42799
42788
|
};
|
|
42800
42789
|
}
|
|
42801
|
-
function
|
|
42790
|
+
function hU(r) {
|
|
42802
42791
|
var e, t;
|
|
42803
42792
|
const n = {
|
|
42804
42793
|
method: "GET",
|
|
@@ -42826,7 +42815,7 @@ function fU(r) {
|
|
|
42826
42815
|
code: `fetch('${n.url}${o}'${a})`
|
|
42827
42816
|
};
|
|
42828
42817
|
}
|
|
42829
|
-
function
|
|
42818
|
+
function fU(r) {
|
|
42830
42819
|
var e, t;
|
|
42831
42820
|
const n = {
|
|
42832
42821
|
method: "GET",
|
|
@@ -42855,7 +42844,7 @@ function pU(r) {
|
|
|
42855
42844
|
};
|
|
42856
42845
|
}
|
|
42857
42846
|
function ab() {
|
|
42858
|
-
const r = [hU, fU
|
|
42847
|
+
const r = [uU, hU, fU];
|
|
42859
42848
|
return {
|
|
42860
42849
|
get(e, t, n) {
|
|
42861
42850
|
const s = this.findPlugin(e, t);
|
|
@@ -42892,7 +42881,7 @@ function ab() {
|
|
|
42892
42881
|
}
|
|
42893
42882
|
};
|
|
42894
42883
|
}
|
|
42895
|
-
const
|
|
42884
|
+
const pU = /* @__PURE__ */ G({
|
|
42896
42885
|
__name: "ExamplePicker",
|
|
42897
42886
|
props: {
|
|
42898
42887
|
examples: {}
|
|
@@ -42937,10 +42926,10 @@ const mU = /* @__PURE__ */ G({
|
|
|
42937
42926
|
_: 1
|
|
42938
42927
|
}, 8, ["modelValue", "options"]));
|
|
42939
42928
|
}
|
|
42940
|
-
}), m$ = /* @__PURE__ */ ee(
|
|
42929
|
+
}), m$ = /* @__PURE__ */ ee(pU, [["__scopeId", "data-v-652a7e14"]]), mU = { class: "request-header" }, gU = { class: "code-snippet" }, OU = {
|
|
42941
42930
|
key: 0,
|
|
42942
42931
|
class: "request-card-footer-addon"
|
|
42943
|
-
},
|
|
42932
|
+
}, yU = /* @__PURE__ */ G({
|
|
42944
42933
|
__name: "ExampleRequest",
|
|
42945
42934
|
props: {
|
|
42946
42935
|
operation: {}
|
|
@@ -43049,7 +43038,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43049
43038
|
])
|
|
43050
43039
|
]),
|
|
43051
43040
|
default: T(() => [
|
|
43052
|
-
E("div",
|
|
43041
|
+
E("div", mU, [
|
|
43053
43042
|
I(w(hs), {
|
|
43054
43043
|
as: "span",
|
|
43055
43044
|
class: "request-method",
|
|
@@ -43066,7 +43055,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43066
43055
|
frameless: ""
|
|
43067
43056
|
}, {
|
|
43068
43057
|
default: T(() => [
|
|
43069
|
-
E("div",
|
|
43058
|
+
E("div", gU, [
|
|
43070
43059
|
I(w(pn), {
|
|
43071
43060
|
content: t.value,
|
|
43072
43061
|
hideCredentials: w(nE)(w(u)),
|
|
@@ -43085,7 +43074,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43085
43074
|
default: T(() => {
|
|
43086
43075
|
var y, O, b, v;
|
|
43087
43076
|
return [
|
|
43088
|
-
h.value ? (k(), Q("div",
|
|
43077
|
+
h.value ? (k(), Q("div", OU, [
|
|
43089
43078
|
I(m$, {
|
|
43090
43079
|
class: "request-example-selector",
|
|
43091
43080
|
examples: ((v = (b = (O = (y = g.operation.information) == null ? void 0 : y.requestBody) == null ? void 0 : O.content) == null ? void 0 : b["application/json"]) == null ? void 0 : v.examples) ?? [],
|
|
@@ -43101,13 +43090,13 @@ const mU = /* @__PURE__ */ G({
|
|
|
43101
43090
|
_: 3
|
|
43102
43091
|
}));
|
|
43103
43092
|
}
|
|
43104
|
-
}), g$ = /* @__PURE__ */ ee(
|
|
43093
|
+
}), g$ = /* @__PURE__ */ ee(yU, [["__scopeId", "data-v-27ff3e25"]]), bU = { key: 0 }, vU = { key: 1 }, wU = {
|
|
43105
43094
|
key: 0,
|
|
43106
43095
|
class: "rule"
|
|
43107
|
-
},
|
|
43096
|
+
}, SU = { class: "rule-title" }, kU = { class: "rule-items" }, $U = {
|
|
43108
43097
|
key: 2,
|
|
43109
43098
|
class: "empty-state"
|
|
43110
|
-
},
|
|
43099
|
+
}, PU = /* @__PURE__ */ G({
|
|
43111
43100
|
__name: "ExampleResponse",
|
|
43112
43101
|
props: {
|
|
43113
43102
|
response: {}
|
|
@@ -43119,12 +43108,12 @@ const mU = /* @__PURE__ */ G({
|
|
|
43119
43108
|
}), {});
|
|
43120
43109
|
return (n, s) => {
|
|
43121
43110
|
var i, o, a, l, c, d, u;
|
|
43122
|
-
return (i = n.response) != null && i.example ? (k(), Q("div",
|
|
43111
|
+
return (i = n.response) != null && i.example ? (k(), Q("div", bU, [
|
|
43123
43112
|
I(w(pn), {
|
|
43124
43113
|
content: w(Qc)((o = n.response) == null ? void 0 : o.example),
|
|
43125
43114
|
lang: "json"
|
|
43126
43115
|
}, null, 8, ["content"])
|
|
43127
|
-
])) : (a = n.response) != null && a.schema ? (k(), Q("div",
|
|
43116
|
+
])) : (a = n.response) != null && a.schema ? (k(), Q("div", vU, [
|
|
43128
43117
|
(l = n.response) != null && l.schema.type ? (k(), q(w(pn), {
|
|
43129
43118
|
key: 0,
|
|
43130
43119
|
content: w(Qc)(
|
|
@@ -43138,9 +43127,9 @@ const mU = /* @__PURE__ */ G({
|
|
|
43138
43127
|
(k(), Q(J, null, be(e, (h) => {
|
|
43139
43128
|
var f, p, g, m, y, O;
|
|
43140
43129
|
return k(), Q(J, { key: h }, [
|
|
43141
|
-
(f = n.response) != null && f.schema[h] && (((p = n.response) == null ? void 0 : p.schema[h].length) > 1 || h === "not") ? (k(), Q("div",
|
|
43142
|
-
E("div",
|
|
43143
|
-
E("ol",
|
|
43130
|
+
(f = n.response) != null && f.schema[h] && (((p = n.response) == null ? void 0 : p.schema[h].length) > 1 || h === "not") ? (k(), Q("div", wU, [
|
|
43131
|
+
E("div", SU, K(h), 1),
|
|
43132
|
+
E("ol", kU, [
|
|
43144
43133
|
(k(!0), Q(J, null, be((g = n.response) == null ? void 0 : g.schema[h], (b, v) => (k(), Q("li", {
|
|
43145
43134
|
key: v,
|
|
43146
43135
|
class: "rule-item"
|
|
@@ -43176,16 +43165,16 @@ const mU = /* @__PURE__ */ G({
|
|
|
43176
43165
|
),
|
|
43177
43166
|
lang: "json"
|
|
43178
43167
|
}, null, 8, ["content"])) : B("", !0)
|
|
43179
|
-
])) : (k(), Q("div",
|
|
43168
|
+
])) : (k(), Q("div", $U, " No Body "));
|
|
43180
43169
|
};
|
|
43181
43170
|
}
|
|
43182
|
-
}), lb = /* @__PURE__ */ ee(
|
|
43171
|
+
}), lb = /* @__PURE__ */ ee(PU, [["__scopeId", "data-v-45bb5bcf"]]), _U = (r) => ($t("data-v-065d45dd"), r = r(), Pt(), r), xU = {
|
|
43183
43172
|
key: 1,
|
|
43184
43173
|
class: "scalar-card-checkbox"
|
|
43185
|
-
},
|
|
43174
|
+
}, QU = /* @__PURE__ */ _U(() => /* @__PURE__ */ E("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), TU = { class: "scalar-card-container custom-scroll" }, CU = {
|
|
43186
43175
|
key: 1,
|
|
43187
43176
|
class: "response-description"
|
|
43188
|
-
},
|
|
43177
|
+
}, AU = /* @__PURE__ */ G({
|
|
43189
43178
|
__name: "PathResponses",
|
|
43190
43179
|
props: {
|
|
43191
43180
|
operation: {}
|
|
@@ -43221,7 +43210,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43221
43210
|
default: T(() => {
|
|
43222
43211
|
var p;
|
|
43223
43212
|
return [
|
|
43224
|
-
I(w(
|
|
43213
|
+
I(w(P9), {
|
|
43225
43214
|
muted: "",
|
|
43226
43215
|
x: "as",
|
|
43227
43216
|
onChange: d
|
|
@@ -43244,7 +43233,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43244
43233
|
x: "asd"
|
|
43245
43234
|
})
|
|
43246
43235
|
])) : B("", !0),
|
|
43247
|
-
(m = l.value) != null && m.schema ? (k(), Q("label",
|
|
43236
|
+
(m = l.value) != null && m.schema ? (k(), Q("label", xU, [
|
|
43248
43237
|
F(" Show Schema "),
|
|
43249
43238
|
Nt(E("input", {
|
|
43250
43239
|
"onUpdate:modelValue": f[1] || (f[1] = (y) => u.value = y),
|
|
@@ -43253,12 +43242,12 @@ const mU = /* @__PURE__ */ G({
|
|
|
43253
43242
|
}, null, 512), [
|
|
43254
43243
|
[db, u.value]
|
|
43255
43244
|
]),
|
|
43256
|
-
|
|
43245
|
+
QU
|
|
43257
43246
|
])) : B("", !0)
|
|
43258
43247
|
];
|
|
43259
43248
|
}),
|
|
43260
43249
|
default: T(() => [
|
|
43261
|
-
(k(!0), Q(J, null, be(s.value, (g) => (k(), q(w(
|
|
43250
|
+
(k(!0), Q(J, null, be(s.value, (g) => (k(), q(w(x9), { key: g }, {
|
|
43262
43251
|
default: T(() => [
|
|
43263
43252
|
F(K(g), 1)
|
|
43264
43253
|
]),
|
|
@@ -43267,7 +43256,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43267
43256
|
]),
|
|
43268
43257
|
_: 1
|
|
43269
43258
|
}),
|
|
43270
|
-
E("div",
|
|
43259
|
+
E("div", TU, [
|
|
43271
43260
|
I(w(on), { muted: "" }, {
|
|
43272
43261
|
default: T(() => {
|
|
43273
43262
|
var g;
|
|
@@ -43303,7 +43292,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43303
43292
|
class: "response-example-selector",
|
|
43304
43293
|
examples: (g = l.value) == null ? void 0 : g.examples,
|
|
43305
43294
|
"onUpdate:modelValue": f[2] || (f[2] = (y) => n.value = y)
|
|
43306
|
-
}, null, 8, ["examples"])) : (m = a.value) != null && m.description ? (k(), Q("div",
|
|
43295
|
+
}, null, 8, ["examples"])) : (m = a.value) != null && m.description ? (k(), Q("div", CU, [
|
|
43307
43296
|
I(w(Zr), {
|
|
43308
43297
|
class: "markdown",
|
|
43309
43298
|
value: a.value.description
|
|
@@ -43318,7 +43307,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43318
43307
|
_: 1
|
|
43319
43308
|
})) : B("", !0);
|
|
43320
43309
|
}
|
|
43321
|
-
}), O$ = /* @__PURE__ */ ee(
|
|
43310
|
+
}), O$ = /* @__PURE__ */ ee(AU, [["__scopeId", "data-v-065d45dd"]]), EU = (r) => ($t("data-v-36effd72"), r = r(), Pt(), r), RU = /* @__PURE__ */ EU(() => /* @__PURE__ */ E("span", null, "Test Request", -1)), ZU = /* @__PURE__ */ G({
|
|
43322
43311
|
__name: "TryRequestButton",
|
|
43323
43312
|
props: {
|
|
43324
43313
|
operation: {}
|
|
@@ -43337,12 +43326,12 @@ const mU = /* @__PURE__ */ G({
|
|
|
43337
43326
|
}, {
|
|
43338
43327
|
default: T(() => [
|
|
43339
43328
|
I(w(ot), { icon: "PaperAirplane" }),
|
|
43340
|
-
|
|
43329
|
+
RU
|
|
43341
43330
|
]),
|
|
43342
43331
|
_: 1
|
|
43343
43332
|
}, 8, ["method"]));
|
|
43344
43333
|
}
|
|
43345
|
-
}), np = /* @__PURE__ */ ee(
|
|
43334
|
+
}), np = /* @__PURE__ */ ee(ZU, [["__scopeId", "data-v-36effd72"]]), IU = { class: "examples" }, jU = /* @__PURE__ */ G({
|
|
43346
43335
|
__name: "Operation",
|
|
43347
43336
|
props: {
|
|
43348
43337
|
id: {},
|
|
@@ -43393,15 +43382,15 @@ const mU = /* @__PURE__ */ G({
|
|
|
43393
43382
|
_: 1
|
|
43394
43383
|
})
|
|
43395
43384
|
], 2),
|
|
43396
|
-
I(
|
|
43385
|
+
I(aU, { operation: n.operation }, null, 8, ["operation"])
|
|
43397
43386
|
];
|
|
43398
43387
|
}),
|
|
43399
43388
|
_: 1
|
|
43400
43389
|
}),
|
|
43401
43390
|
I(w(so), null, {
|
|
43402
43391
|
default: T(() => [
|
|
43403
|
-
E("div",
|
|
43404
|
-
t.value ? (k(), q(
|
|
43392
|
+
E("div", IU, [
|
|
43393
|
+
t.value ? (k(), q(uz, {
|
|
43405
43394
|
key: 0,
|
|
43406
43395
|
examples: t.value,
|
|
43407
43396
|
operation: n.operation
|
|
@@ -43457,7 +43446,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43457
43446
|
_: 1
|
|
43458
43447
|
}, 8, ["id", "label"]));
|
|
43459
43448
|
}
|
|
43460
|
-
}), y$ = /* @__PURE__ */ ee(
|
|
43449
|
+
}), y$ = /* @__PURE__ */ ee(jU, [["__scopeId", "data-v-c8ee9da7"]]), NU = { class: "endpoint-details-card" }, DU = /* @__PURE__ */ G({
|
|
43461
43450
|
__name: "EndpointDetailsCard",
|
|
43462
43451
|
props: {
|
|
43463
43452
|
operation: {}
|
|
@@ -43466,7 +43455,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43466
43455
|
const e = r, { parameterMap: t } = mg(e), { responses: n } = gg(e.operation);
|
|
43467
43456
|
return (s, i) => {
|
|
43468
43457
|
var o;
|
|
43469
|
-
return k(), Q("div",
|
|
43458
|
+
return k(), Q("div", NU, [
|
|
43470
43459
|
I(Pr, {
|
|
43471
43460
|
class: "endpoint-details-card-item",
|
|
43472
43461
|
parameters: w(t).path
|
|
@@ -43515,7 +43504,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43515
43504
|
]);
|
|
43516
43505
|
};
|
|
43517
43506
|
}
|
|
43518
|
-
}),
|
|
43507
|
+
}), MU = /* @__PURE__ */ ee(DU, [["__scopeId", "data-v-de9386b8"]]), XU = { class: "endpoint-header" }, WU = { class: "endpoint-details" }, qU = { class: "endpoint-label" }, VU = { class: "endpoint-label-path" }, zU = { class: "endpoint-label-name" }, UU = { class: "endpoint-content" }, YU = /* @__PURE__ */ G({
|
|
43519
43508
|
__name: "OperationAccordion",
|
|
43520
43509
|
props: {
|
|
43521
43510
|
id: {},
|
|
@@ -43529,8 +43518,8 @@ const mU = /* @__PURE__ */ G({
|
|
|
43529
43518
|
transparent: ""
|
|
43530
43519
|
}, lp({
|
|
43531
43520
|
title: T(() => [
|
|
43532
|
-
E("h3",
|
|
43533
|
-
E("div",
|
|
43521
|
+
E("h3", XU, [
|
|
43522
|
+
E("div", WU, [
|
|
43534
43523
|
I(w(hs), {
|
|
43535
43524
|
class: "endpoint-type",
|
|
43536
43525
|
method: t.operation.httpVerb,
|
|
@@ -43543,14 +43532,14 @@ const mU = /* @__PURE__ */ G({
|
|
|
43543
43532
|
default: T(() => {
|
|
43544
43533
|
var s;
|
|
43545
43534
|
return [
|
|
43546
|
-
E("div",
|
|
43547
|
-
E("div",
|
|
43535
|
+
E("div", qU, [
|
|
43536
|
+
E("div", VU, [
|
|
43548
43537
|
I(rp, {
|
|
43549
43538
|
deprecated: (s = t.operation.information) == null ? void 0 : s.deprecated,
|
|
43550
43539
|
path: t.operation.path
|
|
43551
43540
|
}, null, 8, ["deprecated", "path"])
|
|
43552
43541
|
]),
|
|
43553
|
-
E("div",
|
|
43542
|
+
E("div", zU, K(t.operation.name), 1)
|
|
43554
43543
|
])
|
|
43555
43544
|
];
|
|
43556
43545
|
}),
|
|
@@ -43578,8 +43567,8 @@ const mU = /* @__PURE__ */ G({
|
|
|
43578
43567
|
})
|
|
43579
43568
|
]),
|
|
43580
43569
|
default: T(() => [
|
|
43581
|
-
E("div",
|
|
43582
|
-
I(
|
|
43570
|
+
E("div", UU, [
|
|
43571
|
+
I(MU, { operation: t.operation }, null, 8, ["operation"]),
|
|
43583
43572
|
I(w(O$), { operation: t.operation }, null, 8, ["operation"]),
|
|
43584
43573
|
I(g$, { operation: t.operation }, null, 8, ["operation"])
|
|
43585
43574
|
])
|
|
@@ -43597,7 +43586,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43597
43586
|
} : void 0
|
|
43598
43587
|
]), 1032, ["id"]));
|
|
43599
43588
|
}
|
|
43600
|
-
}),
|
|
43589
|
+
}), LU = /* @__PURE__ */ ee(YU, [["__scopeId", "data-v-e48ec7fd"]]), BU = /* @__PURE__ */ G({
|
|
43601
43590
|
__name: "ShowMoreButton",
|
|
43602
43591
|
props: {
|
|
43603
43592
|
id: {}
|
|
@@ -43616,7 +43605,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43616
43605
|
})
|
|
43617
43606
|
]));
|
|
43618
43607
|
}
|
|
43619
|
-
}), b$ = /* @__PURE__ */ ee(
|
|
43608
|
+
}), b$ = /* @__PURE__ */ ee(BU, [["__scopeId", "data-v-c0788f2e"]]), HU = { class: "endpoints" }, GU = ["onClick"], FU = /* @__PURE__ */ G({
|
|
43620
43609
|
__name: "Endpoints",
|
|
43621
43610
|
props: {
|
|
43622
43611
|
id: {},
|
|
@@ -43679,7 +43668,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43679
43668
|
muted: ""
|
|
43680
43669
|
}, {
|
|
43681
43670
|
default: T(() => [
|
|
43682
|
-
E("div",
|
|
43671
|
+
E("div", HU, [
|
|
43683
43672
|
(k(!0), Q(J, null, be(o.tag.operations, (c) => (k(), Q("a", {
|
|
43684
43673
|
key: w(t)(c, o.tag),
|
|
43685
43674
|
class: "endpoint",
|
|
@@ -43689,7 +43678,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43689
43678
|
method: c.httpVerb
|
|
43690
43679
|
}, null, 8, ["method"]),
|
|
43691
43680
|
E("span", null, K(c.path), 1)
|
|
43692
|
-
], 8,
|
|
43681
|
+
], 8, GU))), 128))
|
|
43693
43682
|
])
|
|
43694
43683
|
]),
|
|
43695
43684
|
_: 1
|
|
@@ -43711,7 +43700,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43711
43700
|
_: 1
|
|
43712
43701
|
}, 8, ["id", "label"]));
|
|
43713
43702
|
}
|
|
43714
|
-
}),
|
|
43703
|
+
}), KU = /* @__PURE__ */ ee(FU, [["__scopeId", "data-v-f019b5a1"]]), JU = /* @__PURE__ */ G({
|
|
43715
43704
|
__name: "Tag",
|
|
43716
43705
|
props: {
|
|
43717
43706
|
id: {},
|
|
@@ -43727,7 +43716,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43727
43716
|
default: T(() => {
|
|
43728
43717
|
var a;
|
|
43729
43718
|
return [
|
|
43730
|
-
s(i.tag) ? (k(), q(
|
|
43719
|
+
s(i.tag) ? (k(), q(KU, {
|
|
43731
43720
|
key: 0,
|
|
43732
43721
|
id: i.id,
|
|
43733
43722
|
tag: i.tag
|
|
@@ -43741,7 +43730,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43741
43730
|
_: 3
|
|
43742
43731
|
}));
|
|
43743
43732
|
}
|
|
43744
|
-
}), v$ = /* @__PURE__ */ ee(
|
|
43733
|
+
}), v$ = /* @__PURE__ */ ee(JU, [["__scopeId", "data-v-0090f16b"]]), eY = /* @__PURE__ */ G({
|
|
43745
43734
|
__name: "TagAccordion",
|
|
43746
43735
|
props: {
|
|
43747
43736
|
tag: {},
|
|
@@ -43778,7 +43767,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43778
43767
|
_: 3
|
|
43779
43768
|
}));
|
|
43780
43769
|
}
|
|
43781
|
-
}),
|
|
43770
|
+
}), tY = /* @__PURE__ */ ee(eY, [["__scopeId", "data-v-b06f5cf1"]]), rY = /* @__PURE__ */ G({
|
|
43782
43771
|
__name: "Loading",
|
|
43783
43772
|
props: {
|
|
43784
43773
|
layout: { default: "default" },
|
|
@@ -43911,7 +43900,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43911
43900
|
[qs, n.value]
|
|
43912
43901
|
]);
|
|
43913
43902
|
}
|
|
43914
|
-
}),
|
|
43903
|
+
}), nY = (r) => ($t("data-v-0b6d2ba2"), r = r(), Pt(), r), sY = /* @__PURE__ */ nY(() => /* @__PURE__ */ E("div", { id: "models" }, null, -1)), iY = /* @__PURE__ */ G({
|
|
43915
43904
|
__name: "Models",
|
|
43916
43905
|
props: {
|
|
43917
43906
|
components: {}
|
|
@@ -43934,7 +43923,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
43934
43923
|
isLazy: !1
|
|
43935
43924
|
}, {
|
|
43936
43925
|
default: T(() => [
|
|
43937
|
-
|
|
43926
|
+
sY
|
|
43938
43927
|
]),
|
|
43939
43928
|
_: 1
|
|
43940
43929
|
}),
|
|
@@ -43996,10 +43985,10 @@ const mU = /* @__PURE__ */ G({
|
|
|
43996
43985
|
_: 1
|
|
43997
43986
|
})) : B("", !0);
|
|
43998
43987
|
}
|
|
43999
|
-
}),
|
|
43988
|
+
}), oY = /* @__PURE__ */ ee(iY, [["__scopeId", "data-v-0b6d2ba2"]]), aY = {
|
|
44000
43989
|
key: 0,
|
|
44001
43990
|
class: "properties"
|
|
44002
|
-
},
|
|
43991
|
+
}, lY = { key: 1 }, cY = /* @__PURE__ */ G({
|
|
44003
43992
|
__name: "ModelsAccordion",
|
|
44004
43993
|
props: {
|
|
44005
43994
|
components: {}
|
|
@@ -44046,14 +44035,14 @@ const mU = /* @__PURE__ */ G({
|
|
|
44046
44035
|
}, 1032, ["id"])
|
|
44047
44036
|
]),
|
|
44048
44037
|
default: T(() => [
|
|
44049
|
-
a != null && a.properties ? (k(), Q("div",
|
|
44038
|
+
a != null && a.properties ? (k(), Q("div", aY, [
|
|
44050
44039
|
(k(!0), Q(J, null, be(Object.entries(a.properties), ([l, c]) => (k(), q(w(za), {
|
|
44051
44040
|
key: l,
|
|
44052
44041
|
name: l,
|
|
44053
44042
|
required: a.required && !!a.required.length && a.required.includes(l),
|
|
44054
44043
|
value: c
|
|
44055
44044
|
}, null, 8, ["name", "required", "value"]))), 128))
|
|
44056
|
-
])) : (k(), Q("div",
|
|
44045
|
+
])) : (k(), Q("div", lY, [
|
|
44057
44046
|
I(w(za), { value: a }, null, 8, ["value"])
|
|
44058
44047
|
]))
|
|
44059
44048
|
]),
|
|
@@ -44063,7 +44052,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
44063
44052
|
_: 1
|
|
44064
44053
|
})) : B("", !0);
|
|
44065
44054
|
}
|
|
44066
|
-
}),
|
|
44055
|
+
}), dY = /* @__PURE__ */ ee(cY, [["__scopeId", "data-v-45255c49"]]), uY = /* @__PURE__ */ G({
|
|
44067
44056
|
__name: "Webhook",
|
|
44068
44057
|
props: {
|
|
44069
44058
|
webhook: {}
|
|
@@ -44090,7 +44079,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
44090
44079
|
], 64)) : B("", !0);
|
|
44091
44080
|
};
|
|
44092
44081
|
}
|
|
44093
|
-
}),
|
|
44082
|
+
}), hY = /* @__PURE__ */ G({
|
|
44094
44083
|
__name: "Webhooks",
|
|
44095
44084
|
props: {
|
|
44096
44085
|
webhooks: {}
|
|
@@ -44136,7 +44125,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
44136
44125
|
key: 0,
|
|
44137
44126
|
value: (u = s.webhooks[o][l]) == null ? void 0 : u.description
|
|
44138
44127
|
}, null, 8, ["value"])) : B("", !0),
|
|
44139
|
-
I(
|
|
44128
|
+
I(uY, {
|
|
44140
44129
|
webhook: s.webhooks[o][l]
|
|
44141
44130
|
}, null, 8, ["webhook"])
|
|
44142
44131
|
];
|
|
@@ -44153,14 +44142,14 @@ const mU = /* @__PURE__ */ G({
|
|
|
44153
44142
|
_: 1
|
|
44154
44143
|
})) : B("", !0);
|
|
44155
44144
|
}
|
|
44156
|
-
}),
|
|
44145
|
+
}), fY = /* @__PURE__ */ ds('<div class="section-flare" data-v-bf9fe482><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div><div class="section-flare-item" data-v-bf9fe482></div></div>', 1), pY = { class: "narrow-references-container" }, mY = /* @__PURE__ */ G({
|
|
44157
44146
|
__name: "Content",
|
|
44158
44147
|
props: {
|
|
44159
44148
|
parsedSpec: {},
|
|
44160
44149
|
layout: {}
|
|
44161
44150
|
},
|
|
44162
44151
|
setup(r) {
|
|
44163
|
-
const e = r, { getOperationId: t, getTagId: n } = Wt(), s =
|
|
44152
|
+
const e = r, { getOperationId: t, getTagId: n } = Wt(), s = q7(() => ({
|
|
44164
44153
|
url: window.location.origin
|
|
44165
44154
|
})), { hideModels: i } = Nr(), o = ne(() => {
|
|
44166
44155
|
var u;
|
|
@@ -44170,22 +44159,22 @@ const mU = /* @__PURE__ */ G({
|
|
|
44170
44159
|
}
|
|
44171
44160
|
] : s.value ? [s.value] : [{ url: "" }];
|
|
44172
44161
|
}), a = ne(
|
|
44173
|
-
() => e.layout === "accordion" ?
|
|
44162
|
+
() => e.layout === "accordion" ? tY : v$
|
|
44174
44163
|
), l = ne(
|
|
44175
|
-
() => e.layout === "accordion" ?
|
|
44164
|
+
() => e.layout === "accordion" ? LU : y$
|
|
44176
44165
|
), c = ne(
|
|
44177
44166
|
() => e.layout === "accordion" ? "after" : "aside"
|
|
44178
44167
|
), d = e.layout !== "accordion" && typeof window < "u" && !window.location.hash.startsWith("#model");
|
|
44179
44168
|
return (u, h) => (k(), Q(J, null, [
|
|
44180
|
-
|
|
44181
|
-
E("div",
|
|
44169
|
+
fY,
|
|
44170
|
+
E("div", pY, [
|
|
44182
44171
|
te(u.$slots, "start", {}, void 0, !0),
|
|
44183
|
-
I(w(
|
|
44172
|
+
I(w(rY), {
|
|
44184
44173
|
layout: u.layout,
|
|
44185
44174
|
parsedSpec: u.parsedSpec,
|
|
44186
44175
|
server: o.value[0]
|
|
44187
44176
|
}, null, 8, ["layout", "parsedSpec", "server"]),
|
|
44188
|
-
u.parsedSpec.info.title || u.parsedSpec.info.description ? (k(), q(w(
|
|
44177
|
+
u.parsedSpec.info.title || u.parsedSpec.info.description ? (k(), q(w(GV), {
|
|
44189
44178
|
key: 0,
|
|
44190
44179
|
info: u.parsedSpec.info,
|
|
44191
44180
|
parsedSpec: u.parsedSpec
|
|
@@ -44194,9 +44183,9 @@ const mU = /* @__PURE__ */ G({
|
|
|
44194
44183
|
E("div", {
|
|
44195
44184
|
class: me(["introduction-cards", { "introduction-cards-row": u.layout === "accordion" }])
|
|
44196
44185
|
}, [
|
|
44197
|
-
I(w(
|
|
44198
|
-
I(w(
|
|
44199
|
-
I(w(
|
|
44186
|
+
I(w(tV), { value: o.value }, null, 8, ["value"]),
|
|
44187
|
+
I(w(pV)),
|
|
44188
|
+
I(w(C9), { parsedSpec: u.parsedSpec }, null, 8, ["parsedSpec"])
|
|
44200
44189
|
], 2)
|
|
44201
44190
|
]),
|
|
44202
44191
|
_: 2
|
|
@@ -44207,8 +44196,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
44207
44196
|
isLazy: w(d)
|
|
44208
44197
|
}, {
|
|
44209
44198
|
default: T(() => [
|
|
44210
|
-
|
|
44211
|
-
key: 0,
|
|
44199
|
+
(k(), q(wn(a.value), {
|
|
44212
44200
|
id: w(n)(f),
|
|
44213
44201
|
spec: u.parsedSpec,
|
|
44214
44202
|
tag: f
|
|
@@ -44231,19 +44219,19 @@ const mU = /* @__PURE__ */ G({
|
|
|
44231
44219
|
}, 1032, ["id", "isLazy"]))), 128))
|
|
44232
44220
|
]),
|
|
44233
44221
|
_: 2
|
|
44234
|
-
}, 1032, ["id", "spec", "tag"]))
|
|
44222
|
+
}, 1032, ["id", "spec", "tag"]))
|
|
44235
44223
|
]),
|
|
44236
44224
|
_: 2
|
|
44237
44225
|
}, 1032, ["id", "isLazy"]))), 128)),
|
|
44238
|
-
u.parsedSpec.webhooks ? (k(), q(w(
|
|
44226
|
+
u.parsedSpec.webhooks ? (k(), q(w(hY), {
|
|
44239
44227
|
key: 2,
|
|
44240
44228
|
webhooks: u.parsedSpec.webhooks
|
|
44241
44229
|
}, null, 8, ["webhooks"])) : B("", !0),
|
|
44242
44230
|
w(rS)(u.parsedSpec) && !w(i) ? (k(), Q(J, { key: 3 }, [
|
|
44243
|
-
u.layout === "accordion" ? (k(), q(w(
|
|
44231
|
+
u.layout === "accordion" ? (k(), q(w(dY), {
|
|
44244
44232
|
key: 0,
|
|
44245
44233
|
components: u.parsedSpec.components
|
|
44246
|
-
}, null, 8, ["components"])) : (k(), q(w(
|
|
44234
|
+
}, null, 8, ["components"])) : (k(), q(w(oY), {
|
|
44247
44235
|
key: 1,
|
|
44248
44236
|
components: u.parsedSpec.components
|
|
44249
44237
|
}, null, 8, ["components"]))
|
|
@@ -44252,12 +44240,12 @@ const mU = /* @__PURE__ */ G({
|
|
|
44252
44240
|
])
|
|
44253
44241
|
], 64));
|
|
44254
44242
|
}
|
|
44255
|
-
}),
|
|
44243
|
+
}), gY = /* @__PURE__ */ ee(mY, [["__scopeId", "data-v-bf9fe482"]]), OY = /* @__PURE__ */ G({
|
|
44256
44244
|
__name: "CustomToaster",
|
|
44257
44245
|
setup(r) {
|
|
44258
44246
|
return (e, t) => (k(), q(w(bP), { toastOptions: { className: "toaster" } }));
|
|
44259
44247
|
}
|
|
44260
|
-
}),
|
|
44248
|
+
}), yY = `{
|
|
44261
44249
|
"openapi": "3.0.2",
|
|
44262
44250
|
"info": {
|
|
44263
44251
|
"title": "Swagger Petstore - OpenAPI 3.0",
|
|
@@ -45453,7 +45441,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
45453
45441
|
}
|
|
45454
45442
|
}
|
|
45455
45443
|
}
|
|
45456
|
-
`,
|
|
45444
|
+
`, bY = (r) => ($t("data-v-41b80963"), r = r(), Pt(), r), vY = { class: "start custom-scroll" }, wY = { class: "start-copy" }, SY = /* @__PURE__ */ ds('<div class="start-logo" data-v-41b80963><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-41b80963><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-41b80963></path></svg></div><h1 class="start-h1" data-v-41b80963>Swagger Editor</h1><p class="start-p" data-v-41b80963> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3), kY = { class: "start-cta" }, $Y = { class: "start-row" }, PY = /* @__PURE__ */ ds('<div class="start-section" data-v-41b80963><div class="start-h2" data-v-41b80963>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-41b80963><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-41b80963><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-41b80963></path></svg><span data-v-41b80963>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-41b80963><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-41b80963><g data-v-41b80963><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-41b80963></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-41b80963></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-41b80963></path></g></svg><span data-v-41b80963>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-41b80963><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-41b80963><g fill="currentColor" fill-rule="nonzero" data-v-41b80963><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-41b80963></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-41b80963></polygon></g></svg><span data-v-41b80963>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-41b80963><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-41b80963><g fill="none" fill-rule="evenodd" data-v-41b80963><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-41b80963></circle><g stroke="currentColor" data-v-41b80963><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-41b80963></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-41b80963></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-41b80963></ellipse></g></g></svg><span data-v-41b80963>React</span></a></div>', 1), _Y = { class: "start-section start-section-colors" }, xY = /* @__PURE__ */ bY(() => /* @__PURE__ */ E("p", { class: "start-h2" }, "THEMING", -1)), QY = ["onClick"], TY = /* @__PURE__ */ ds('<p class="start-h1" data-v-41b80963>Features</p><ul class="start-ul" data-v-41b80963><li data-v-41b80963><p class="start-h3" data-v-41b80963>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-41b80963><p class="start-h3" data-v-41b80963>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-41b80963><p class="start-h3" data-v-41b80963>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-41b80963><p class="start-h3" data-v-41b80963>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-41b80963><p class="start-h3" data-v-41b80963>OpenAPI & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-41b80963><p class="start-h3" data-v-41b80963>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2), CY = /* @__PURE__ */ G({
|
|
45457
45445
|
__name: "GettingStarted",
|
|
45458
45446
|
props: {
|
|
45459
45447
|
theme: {}
|
|
@@ -45473,12 +45461,12 @@ const mU = /* @__PURE__ */ G({
|
|
|
45473
45461
|
"deepSpace"
|
|
45474
45462
|
];
|
|
45475
45463
|
function s() {
|
|
45476
|
-
t("updateContent",
|
|
45464
|
+
t("updateContent", yY);
|
|
45477
45465
|
}
|
|
45478
|
-
return (i, o) => (k(), Q("div",
|
|
45479
|
-
E("div",
|
|
45480
|
-
|
|
45481
|
-
E("div",
|
|
45466
|
+
return (i, o) => (k(), Q("div", vY, [
|
|
45467
|
+
E("div", wY, [
|
|
45468
|
+
SY,
|
|
45469
|
+
E("div", kY, [
|
|
45482
45470
|
I(w(_f), {
|
|
45483
45471
|
fullWidth: "",
|
|
45484
45472
|
onClick: s
|
|
@@ -45500,27 +45488,27 @@ const mU = /* @__PURE__ */ G({
|
|
|
45500
45488
|
})
|
|
45501
45489
|
])
|
|
45502
45490
|
]),
|
|
45503
|
-
E("div",
|
|
45504
|
-
|
|
45505
|
-
E("div",
|
|
45506
|
-
|
|
45491
|
+
E("div", $Y, [
|
|
45492
|
+
PY,
|
|
45493
|
+
E("div", _Y, [
|
|
45494
|
+
xY,
|
|
45507
45495
|
(k(), Q(J, null, be(n, (a) => E("div", {
|
|
45508
45496
|
key: a,
|
|
45509
45497
|
class: me(["start-item", { "start-item-active": a === i.theme }]),
|
|
45510
45498
|
onClick: (l) => i.$emit("changeTheme", a)
|
|
45511
|
-
}, K(a.toLocaleLowerCase()), 11,
|
|
45499
|
+
}, K(a.toLocaleLowerCase()), 11, QY)), 64))
|
|
45512
45500
|
])
|
|
45513
45501
|
]),
|
|
45514
|
-
|
|
45502
|
+
TY
|
|
45515
45503
|
]));
|
|
45516
45504
|
}
|
|
45517
|
-
}),
|
|
45505
|
+
}), AY = /* @__PURE__ */ ee(CY, [["__scopeId", "data-v-41b80963"]]), EY = { class: "references-header" }, RY = {
|
|
45518
45506
|
key: 0,
|
|
45519
45507
|
class: "references-navigation t-doc__sidebar"
|
|
45520
|
-
},
|
|
45508
|
+
}, ZY = { class: "references-navigation-list" }, IY = { class: "references-editor" }, jY = { class: "references-editor-textarea" }, NY = { class: "references-rendered" }, DY = {
|
|
45521
45509
|
key: 0,
|
|
45522
45510
|
class: "references-footer"
|
|
45523
|
-
},
|
|
45511
|
+
}, MY = /* @__PURE__ */ G({
|
|
45524
45512
|
inheritAttrs: !1,
|
|
45525
45513
|
__name: "ApiReferenceLayout",
|
|
45526
45514
|
props: {
|
|
@@ -45553,7 +45541,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
45553
45541
|
});
|
|
45554
45542
|
const O = (P = e.parsedSpec.tags) == null ? void 0 : P[0];
|
|
45555
45543
|
let b = null;
|
|
45556
|
-
p.value ? b = h(p.value) : O && (b = f(O)), b && c(b, !0), Kk.on(() =>
|
|
45544
|
+
p.value ? b = h(p.value) : O && (b = f(O)), b && c(b, !0), Kk.on(() => Q7(e.rawSpec));
|
|
45557
45545
|
});
|
|
45558
45546
|
const g = ne(
|
|
45559
45547
|
() => n.value || !e.configuration.isEditable
|
|
@@ -45613,11 +45601,11 @@ const mU = /* @__PURE__ */ G({
|
|
|
45613
45601
|
onScrollPassive: b[4] || (b[4] = //@ts-ignore
|
|
45614
45602
|
(...R) => w(m) && w(m)(...R))
|
|
45615
45603
|
}, [
|
|
45616
|
-
E("div",
|
|
45604
|
+
E("div", EY, [
|
|
45617
45605
|
te(O.$slots, "header", Sr(kr(y.value)), void 0, !0)
|
|
45618
45606
|
]),
|
|
45619
|
-
O.configuration.showSidebar ? (k(), Q("aside",
|
|
45620
|
-
E("div",
|
|
45607
|
+
O.configuration.showSidebar ? (k(), Q("aside", RY, [
|
|
45608
|
+
E("div", ZY, [
|
|
45621
45609
|
I(w(ep), { parsedSpec: O.parsedSpec }, {
|
|
45622
45610
|
"sidebar-start": T(() => [
|
|
45623
45611
|
te(O.$slots, "sidebar-start", Sr(kr(y.value)), void 0, !0)
|
|
@@ -45629,16 +45617,16 @@ const mU = /* @__PURE__ */ G({
|
|
|
45629
45617
|
}, 8, ["parsedSpec"])
|
|
45630
45618
|
])
|
|
45631
45619
|
])) : B("", !0),
|
|
45632
|
-
Nt(E("div",
|
|
45633
|
-
E("div",
|
|
45620
|
+
Nt(E("div", IY, [
|
|
45621
|
+
E("div", jY, [
|
|
45634
45622
|
te(O.$slots, "editor", Sr(kr(y.value)), void 0, !0)
|
|
45635
45623
|
])
|
|
45636
45624
|
], 512), [
|
|
45637
45625
|
[qs, O.configuration.isEditable]
|
|
45638
45626
|
]),
|
|
45639
45627
|
g.value ? (k(), Q(J, { key: 1 }, [
|
|
45640
|
-
E("div",
|
|
45641
|
-
I(w(
|
|
45628
|
+
E("div", NY, [
|
|
45629
|
+
I(w(gY), {
|
|
45642
45630
|
layout: O.configuration.layout === "classic" ? "accordion" : "default",
|
|
45643
45631
|
parsedSpec: O.parsedSpec
|
|
45644
45632
|
}, lp({
|
|
@@ -45655,7 +45643,7 @@ const mU = /* @__PURE__ */ G({
|
|
|
45655
45643
|
fn: T(() => {
|
|
45656
45644
|
var R;
|
|
45657
45645
|
return [
|
|
45658
|
-
I(
|
|
45646
|
+
I(AY, {
|
|
45659
45647
|
theme: ((R = O.configuration) == null ? void 0 : R.theme) || "default",
|
|
45660
45648
|
onChangeTheme: b[0] || (b[0] = (X) => O.$emit("changeTheme", X)),
|
|
45661
45649
|
onLinkSwaggerFile: b[1] || (b[1] = (X) => O.$emit("linkSwaggerFile")),
|
|
@@ -45668,11 +45656,11 @@ const mU = /* @__PURE__ */ G({
|
|
|
45668
45656
|
} : void 0
|
|
45669
45657
|
]), 1032, ["layout", "parsedSpec"])
|
|
45670
45658
|
]),
|
|
45671
|
-
O.$slots.footer ? (k(), Q("div",
|
|
45659
|
+
O.$slots.footer ? (k(), Q("div", DY, [
|
|
45672
45660
|
te(O.$slots, "footer", Sr(kr(y.value)), void 0, !0)
|
|
45673
45661
|
])) : B("", !0)
|
|
45674
45662
|
], 64)) : B("", !0),
|
|
45675
|
-
I(
|
|
45663
|
+
I(p9, {
|
|
45676
45664
|
parsedSpec: O.parsedSpec,
|
|
45677
45665
|
proxyUrl: (C = O.configuration) == null ? void 0 : C.proxy
|
|
45678
45666
|
}, {
|
|
@@ -45692,43 +45680,43 @@ const mU = /* @__PURE__ */ G({
|
|
|
45692
45680
|
]),
|
|
45693
45681
|
_: 3
|
|
45694
45682
|
}),
|
|
45695
|
-
I(
|
|
45683
|
+
I(OY)
|
|
45696
45684
|
], 64);
|
|
45697
45685
|
};
|
|
45698
45686
|
}
|
|
45699
|
-
}), w$ = /* @__PURE__ */ ee(
|
|
45700
|
-
function
|
|
45701
|
-
return k(), Q("div",
|
|
45702
|
-
E("div",
|
|
45687
|
+
}), w$ = /* @__PURE__ */ ee(MY, [["__scopeId", "data-v-f30b2867"]]), XY = {}, WY = { class: "references-classic-header-container" }, qY = { class: "references-classic-header" };
|
|
45688
|
+
function VY(r, e) {
|
|
45689
|
+
return k(), Q("div", WY, [
|
|
45690
|
+
E("div", qY, [
|
|
45703
45691
|
te(r.$slots, "default", {}, void 0, !0),
|
|
45704
45692
|
te(r.$slots, "dark-mode-toggle", {}, void 0, !0)
|
|
45705
45693
|
])
|
|
45706
45694
|
]);
|
|
45707
45695
|
}
|
|
45708
|
-
const
|
|
45696
|
+
const zY = /* @__PURE__ */ ee(XY, [["render", VY], ["__scopeId", "data-v-1c1eb708"]]), UY = (r) => ($t("data-v-0acd62b8"), r = r(), Pt(), r), YY = { class: "darklight-reference" }, LY = { key: 0 }, BY = { key: 1 }, HY = /* @__PURE__ */ UY(() => /* @__PURE__ */ E("a", {
|
|
45709
45697
|
class: "darklight-reference-promo",
|
|
45710
45698
|
href: "https://www.scalar.com",
|
|
45711
45699
|
target: "_blank"
|
|
45712
|
-
}, " Powered by scalar.com ", -1)),
|
|
45700
|
+
}, " Powered by scalar.com ", -1)), GY = /* @__PURE__ */ G({
|
|
45713
45701
|
__name: "DarkModeToggle",
|
|
45714
45702
|
props: {
|
|
45715
45703
|
isDarkMode: { type: Boolean }
|
|
45716
45704
|
},
|
|
45717
45705
|
emits: ["toggleDarkMode"],
|
|
45718
45706
|
setup(r) {
|
|
45719
|
-
return (e, t) => (k(), Q("div",
|
|
45707
|
+
return (e, t) => (k(), Q("div", YY, [
|
|
45720
45708
|
E("button", {
|
|
45721
45709
|
class: "darklight",
|
|
45722
45710
|
type: "button",
|
|
45723
45711
|
onClick: t[0] || (t[0] = (n) => e.$emit("toggleDarkMode"))
|
|
45724
45712
|
}, [
|
|
45725
45713
|
I(w(ot), { icon: "LightDarkModeToggle" }),
|
|
45726
|
-
e.isDarkMode ? (k(), Q("span",
|
|
45714
|
+
e.isDarkMode ? (k(), Q("span", LY, "Light Mode")) : (k(), Q("span", BY, "Dark Mode"))
|
|
45727
45715
|
]),
|
|
45728
|
-
|
|
45716
|
+
HY
|
|
45729
45717
|
]));
|
|
45730
45718
|
}
|
|
45731
|
-
}),
|
|
45719
|
+
}), FY = /* @__PURE__ */ ee(GY, [["__scopeId", "data-v-0acd62b8"]]), KY = /* @__PURE__ */ G({
|
|
45732
45720
|
__name: "DarkModeIconToggle",
|
|
45733
45721
|
props: {
|
|
45734
45722
|
isDarkMode: { type: Boolean }
|
|
@@ -45751,22 +45739,22 @@ const UY = /* @__PURE__ */ ee(WY, [["render", zY], ["__scopeId", "data-v-1c1eb70
|
|
|
45751
45739
|
})
|
|
45752
45740
|
]));
|
|
45753
45741
|
}
|
|
45754
|
-
}),
|
|
45755
|
-
function
|
|
45742
|
+
}), JY = /* @__PURE__ */ ee(KY, [["__scopeId", "data-v-b04e89bc"]]);
|
|
45743
|
+
function e6() {
|
|
45756
45744
|
return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
|
|
45757
45745
|
}
|
|
45758
|
-
function
|
|
45746
|
+
function t6(r, e) {
|
|
45759
45747
|
let t = r;
|
|
45760
45748
|
const n = e.required && e.required.includes(r);
|
|
45761
45749
|
return t += n ? " REQUIRED " : " optional ", e.properties[r] && (t += e.properties[r].type, e.properties[r].description && (t += " " + e.properties[r].description)), t;
|
|
45762
45750
|
}
|
|
45763
|
-
function
|
|
45751
|
+
function r6(r) {
|
|
45764
45752
|
var n;
|
|
45765
45753
|
const e = ["Body"], t = (n = r == null ? void 0 : r.schema) == null ? void 0 : n.properties;
|
|
45766
45754
|
return t && Object.keys(t).forEach((s) => {
|
|
45767
45755
|
if (!r.schema)
|
|
45768
45756
|
return;
|
|
45769
|
-
e.push(
|
|
45757
|
+
e.push(t6(s, r.schema));
|
|
45770
45758
|
const i = t[s];
|
|
45771
45759
|
i.type === "object" && !!i.properties && i.properties && Object.keys(i.properties).forEach((a) => {
|
|
45772
45760
|
var l, c;
|
|
@@ -45774,33 +45762,33 @@ function n6(r) {
|
|
|
45774
45762
|
});
|
|
45775
45763
|
}), e;
|
|
45776
45764
|
}
|
|
45777
|
-
function
|
|
45765
|
+
function n6(r) {
|
|
45778
45766
|
var e, t, n;
|
|
45779
45767
|
try {
|
|
45780
45768
|
const s = (n = (t = (e = r == null ? void 0 : r.information) == null ? void 0 : e.requestBody) == null ? void 0 : t.content) == null ? void 0 : n["application/json"];
|
|
45781
45769
|
if (!s)
|
|
45782
45770
|
throw new Error("Body not found");
|
|
45783
|
-
return
|
|
45771
|
+
return r6(s);
|
|
45784
45772
|
} catch {
|
|
45785
45773
|
return !1;
|
|
45786
45774
|
}
|
|
45787
45775
|
}
|
|
45788
|
-
const
|
|
45776
|
+
const s6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), i6 = {
|
|
45789
45777
|
key: 0,
|
|
45790
45778
|
class: "ref-search-list custom-scroll"
|
|
45791
|
-
},
|
|
45779
|
+
}, o6 = ["id", "href", "onClick", "onFocus"], a6 = {
|
|
45792
45780
|
key: 0,
|
|
45793
45781
|
class: "item-entry-title"
|
|
45794
|
-
},
|
|
45782
|
+
}, l6 = {
|
|
45795
45783
|
key: 1,
|
|
45796
45784
|
class: "item-entry-path"
|
|
45797
|
-
},
|
|
45785
|
+
}, c6 = {
|
|
45798
45786
|
key: 2,
|
|
45799
45787
|
class: "item-entry-description"
|
|
45800
|
-
},
|
|
45788
|
+
}, d6 = /* @__PURE__ */ s6(() => /* @__PURE__ */ E("div", { class: "ref-search-meta" }, [
|
|
45801
45789
|
/* @__PURE__ */ E("span", null, "↑↓ Navigate"),
|
|
45802
45790
|
/* @__PURE__ */ E("span", null, "⏎ Select")
|
|
45803
|
-
], -1)),
|
|
45791
|
+
], -1)), u6 = /* @__PURE__ */ G({
|
|
45804
45792
|
__name: "SearchModal",
|
|
45805
45793
|
props: {
|
|
45806
45794
|
parsedSpec: {},
|
|
@@ -45851,7 +45839,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
45851
45839
|
body: ""
|
|
45852
45840
|
};
|
|
45853
45841
|
s.value.push(De), de.operations && de.operations.forEach((H) => {
|
|
45854
|
-
const { parameterMap: D } = mg({ operation: H }), z =
|
|
45842
|
+
const { parameterMap: D } = mg({ operation: H }), z = n6(H) || D.value;
|
|
45855
45843
|
let W = null;
|
|
45856
45844
|
typeof z != "boolean" && (W = z);
|
|
45857
45845
|
const _ = {
|
|
@@ -45946,7 +45934,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
45946
45934
|
[oa, a.value]
|
|
45947
45935
|
])
|
|
45948
45936
|
], 512),
|
|
45949
|
-
b.value.length ? (k(), Q("div",
|
|
45937
|
+
b.value.length ? (k(), Q("div", i6, [
|
|
45950
45938
|
(k(!0), Q(J, null, be(b.value, (C, R) => (k(), Q("a", {
|
|
45951
45939
|
id: C.item.href,
|
|
45952
45940
|
key: C.refIndex,
|
|
@@ -45964,16 +45952,16 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
45964
45952
|
method: C.item.httpVerb ?? "get",
|
|
45965
45953
|
short: ""
|
|
45966
45954
|
}, null, 8, ["method"]),
|
|
45967
|
-
C.item.title ? (k(), Q("div",
|
|
45968
|
-
(C.item.httpVerb || C.item.path) && C.item.path !== C.item.title ? (k(), Q("div",
|
|
45969
|
-
], 42,
|
|
45955
|
+
C.item.title ? (k(), Q("div", a6, K(C.item.title), 1)) : B("", !0),
|
|
45956
|
+
(C.item.httpVerb || C.item.path) && C.item.path !== C.item.title ? (k(), Q("div", l6, K(C.item.path), 1)) : C.item.description ? (k(), Q("div", c6, K(C.item.description), 1)) : B("", !0)
|
|
45957
|
+
], 42, o6))), 128))
|
|
45970
45958
|
])) : B("", !0),
|
|
45971
|
-
|
|
45959
|
+
d6
|
|
45972
45960
|
]),
|
|
45973
45961
|
_: 1
|
|
45974
45962
|
}, 8, ["state"]));
|
|
45975
45963
|
}
|
|
45976
|
-
}),
|
|
45964
|
+
}), h6 = /* @__PURE__ */ ee(u6, [["__scopeId", "data-v-1ef66303"]]), f6 = (r) => ($t("data-v-fdb2c36b"), r = r(), Pt(), r), p6 = { class: "sidebar-search-input" }, m6 = /* @__PURE__ */ f6(() => /* @__PURE__ */ E("span", { class: "sidebar-search-placeholder" }, "Search", -1)), g6 = { class: "sidebar-search-shortcut" }, O6 = { class: "sidebar-search-key" }, y6 = /* @__PURE__ */ G({
|
|
45977
45965
|
__name: "SearchButton",
|
|
45978
45966
|
props: {
|
|
45979
45967
|
spec: {},
|
|
@@ -45996,20 +45984,20 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
45996
45984
|
icon: "Search",
|
|
45997
45985
|
size: "sm"
|
|
45998
45986
|
}),
|
|
45999
|
-
E("div",
|
|
46000
|
-
|
|
46001
|
-
E("span",
|
|
46002
|
-
E("span",
|
|
45987
|
+
E("div", p6, [
|
|
45988
|
+
m6,
|
|
45989
|
+
E("span", g6, [
|
|
45990
|
+
E("span", O6, K(w(e6)() ? "⌘" : "⌃") + K(s.searchHotKey), 1)
|
|
46003
45991
|
])
|
|
46004
45992
|
])
|
|
46005
45993
|
], 2),
|
|
46006
|
-
I(
|
|
45994
|
+
I(h6, {
|
|
46007
45995
|
modalState: w(t),
|
|
46008
45996
|
parsedSpec: s.spec
|
|
46009
45997
|
}, null, 8, ["modalState", "parsedSpec"])
|
|
46010
45998
|
], 64));
|
|
46011
45999
|
}
|
|
46012
|
-
}), S$ = /* @__PURE__ */ ee(
|
|
46000
|
+
}), S$ = /* @__PURE__ */ ee(y6, [["__scopeId", "data-v-fdb2c36b"]]), b6 = /* @__PURE__ */ G({
|
|
46013
46001
|
__name: "ClassicLayout",
|
|
46014
46002
|
props: {
|
|
46015
46003
|
configuration: {},
|
|
@@ -46026,9 +46014,9 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46026
46014
|
rawSpec: n.rawSpec
|
|
46027
46015
|
}, {
|
|
46028
46016
|
"content-start": T(({ spec: i }) => [
|
|
46029
|
-
I(
|
|
46017
|
+
I(zY, null, {
|
|
46030
46018
|
"dark-mode-toggle": T(() => [
|
|
46031
|
-
I(w(
|
|
46019
|
+
I(w(JY), {
|
|
46032
46020
|
isDarkMode: n.isDark,
|
|
46033
46021
|
onToggleDarkMode: s[0] || (s[0] = (o) => n.$emit("toggleDarkMode"))
|
|
46034
46022
|
}, null, 8, ["isDarkMode"])
|
|
@@ -46049,7 +46037,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46049
46037
|
_: 3
|
|
46050
46038
|
}, 8, ["configuration", "parsedSpec", "rawSpec"]));
|
|
46051
46039
|
}
|
|
46052
|
-
}),
|
|
46040
|
+
}), v6 = { class: "references-mobile-header t-doc__header" }, w6 = { class: "references-mobile-breadcrumbs" }, S6 = { class: "references-mobile-header-actions" }, k6 = /* @__PURE__ */ G({
|
|
46053
46041
|
__name: "MobileHeader",
|
|
46054
46042
|
props: {
|
|
46055
46043
|
open: { type: Boolean }
|
|
@@ -46057,20 +46045,20 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46057
46045
|
emits: ["update:open"],
|
|
46058
46046
|
setup(r) {
|
|
46059
46047
|
const { breadcrumb: e } = Nr();
|
|
46060
|
-
return (t, n) => (k(), Q("div",
|
|
46048
|
+
return (t, n) => (k(), Q("div", v6, [
|
|
46061
46049
|
I(w(rm), {
|
|
46062
46050
|
icon: t.open ? "Close" : "Menu",
|
|
46063
46051
|
label: t.open ? "Close Menu" : "Open Menu",
|
|
46064
46052
|
size: "md",
|
|
46065
46053
|
onClick: n[0] || (n[0] = (s) => t.$emit("update:open", !t.open))
|
|
46066
46054
|
}, null, 8, ["icon", "label"]),
|
|
46067
|
-
E("span",
|
|
46068
|
-
E("div",
|
|
46055
|
+
E("span", w6, K(w(e)), 1),
|
|
46056
|
+
E("div", S6, [
|
|
46069
46057
|
te(t.$slots, "actions", {}, void 0, !0)
|
|
46070
46058
|
])
|
|
46071
46059
|
]));
|
|
46072
46060
|
}
|
|
46073
|
-
}),
|
|
46061
|
+
}), $6 = /* @__PURE__ */ ee(k6, [["__scopeId", "data-v-99e5f6cc"]]), P6 = { class: "scalar-api-references-standalone-search" }, _6 = /* @__PURE__ */ G({
|
|
46074
46062
|
__name: "ModernLayout",
|
|
46075
46063
|
props: {
|
|
46076
46064
|
configuration: {},
|
|
@@ -46094,7 +46082,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46094
46082
|
rawSpec: i.rawSpec
|
|
46095
46083
|
}, {
|
|
46096
46084
|
header: T(() => [
|
|
46097
|
-
I(
|
|
46085
|
+
I($6, {
|
|
46098
46086
|
open: w(n),
|
|
46099
46087
|
"onUpdate:open": o[0] || (o[0] = (a) => B$(n) ? n.value = a : null)
|
|
46100
46088
|
}, null, 8, ["open"])
|
|
@@ -46102,7 +46090,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46102
46090
|
"sidebar-start": T(({ spec: a }) => {
|
|
46103
46091
|
var l;
|
|
46104
46092
|
return [
|
|
46105
|
-
E("div",
|
|
46093
|
+
E("div", P6, [
|
|
46106
46094
|
I(S$, {
|
|
46107
46095
|
searchHotKey: (l = e.configuration) == null ? void 0 : l.searchHotKey,
|
|
46108
46096
|
spec: a
|
|
@@ -46111,7 +46099,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46111
46099
|
];
|
|
46112
46100
|
}),
|
|
46113
46101
|
"sidebar-end": T(() => [
|
|
46114
|
-
I(w(
|
|
46102
|
+
I(w(FY), {
|
|
46115
46103
|
isDarkMode: i.isDark,
|
|
46116
46104
|
onToggleDarkMode: o[1] || (o[1] = (a) => i.$emit("toggleDarkMode"))
|
|
46117
46105
|
}, null, 8, ["isDarkMode"])
|
|
@@ -46122,10 +46110,10 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46122
46110
|
_: 3
|
|
46123
46111
|
}, 8, ["class", "configuration", "parsedSpec", "rawSpec"]));
|
|
46124
46112
|
}
|
|
46125
|
-
}),
|
|
46126
|
-
modern:
|
|
46127
|
-
classic:
|
|
46128
|
-
},
|
|
46113
|
+
}), x6 = /* @__PURE__ */ ee(_6, [["__scopeId", "data-v-4c69eaa5"]]), Q6 = {
|
|
46114
|
+
modern: x6,
|
|
46115
|
+
classic: b6
|
|
46116
|
+
}, aL = /* @__PURE__ */ G({
|
|
46129
46117
|
__name: "ApiReference",
|
|
46130
46118
|
props: {
|
|
46131
46119
|
configuration: {}
|
|
@@ -46133,7 +46121,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46133
46121
|
emits: ["updateContent"],
|
|
46134
46122
|
setup(r) {
|
|
46135
46123
|
var d, u;
|
|
46136
|
-
const e = r, { toggleDarkMode: t, isDark: n } =
|
|
46124
|
+
const e = r, { toggleDarkMode: t, isDark: n } = A7(
|
|
46137
46125
|
(d = e.configuration) == null ? void 0 : d.darkMode
|
|
46138
46126
|
), s = ne(() => {
|
|
46139
46127
|
var h;
|
|
@@ -46167,7 +46155,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46167
46155
|
i("authentication", o);
|
|
46168
46156
|
const { setExcludedClients: a } = pl();
|
|
46169
46157
|
i("hiddenClients", a);
|
|
46170
|
-
const { parsedSpec: l, rawSpec: c } =
|
|
46158
|
+
const { parsedSpec: l, rawSpec: c } = W7({
|
|
46171
46159
|
proxy: Lr(() => {
|
|
46172
46160
|
var h;
|
|
46173
46161
|
return ((h = e.configuration) == null ? void 0 : h.proxy) || "";
|
|
@@ -46186,7 +46174,7 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46186
46174
|
]),
|
|
46187
46175
|
_: 1
|
|
46188
46176
|
})) : B("", !0),
|
|
46189
|
-
(k(), q(wn(w(
|
|
46177
|
+
(k(), q(wn(w(Q6)[((g = s.value) == null ? void 0 : g.layout) || "modern"]), {
|
|
46190
46178
|
configuration: s.value,
|
|
46191
46179
|
isDark: w(n),
|
|
46192
46180
|
parsedSpec: w(l),
|
|
@@ -46204,49 +46192,49 @@ const i6 = (r) => ($t("data-v-1ef66303"), r = r(), Pt(), r), o6 = {
|
|
|
46204
46192
|
}
|
|
46205
46193
|
});
|
|
46206
46194
|
export {
|
|
46207
|
-
|
|
46208
|
-
|
|
46195
|
+
p9 as ApiClientModal,
|
|
46196
|
+
aL as ApiReference,
|
|
46209
46197
|
w$ as ApiReferenceLayout,
|
|
46210
46198
|
ri as Card,
|
|
46211
46199
|
on as CardContent,
|
|
46212
46200
|
yu as CardFooter,
|
|
46213
46201
|
ni as CardHeader,
|
|
46214
|
-
|
|
46215
|
-
|
|
46216
|
-
|
|
46217
|
-
|
|
46202
|
+
x9 as CardTab,
|
|
46203
|
+
P9 as CardTabHeader,
|
|
46204
|
+
JY as DarkModeIconToggle,
|
|
46205
|
+
FY as DarkModeToggle,
|
|
46218
46206
|
im as GLOBAL_SECURITY_SYMBOL,
|
|
46219
|
-
|
|
46207
|
+
AY as GettingStarted,
|
|
46220
46208
|
nS as HIDE_DOWNLOAD_BUTTON_SYMBOL,
|
|
46221
|
-
|
|
46209
|
+
gY as RenderedReference,
|
|
46222
46210
|
S$ as SearchButton,
|
|
46223
|
-
|
|
46211
|
+
h6 as SearchModal,
|
|
46224
46212
|
ep as Sidebar,
|
|
46225
46213
|
lj as createEmptyServerState,
|
|
46226
46214
|
ej as createHash,
|
|
46227
46215
|
tj as deepMerge,
|
|
46228
46216
|
Kk as downloadSpecBus,
|
|
46229
|
-
|
|
46217
|
+
Q7 as downloadSpecFile,
|
|
46230
46218
|
Jw as getApiClientRequest,
|
|
46231
46219
|
Jc as getHeadingsFromMarkdown,
|
|
46232
46220
|
eS as getLowestHeadingLevel,
|
|
46233
46221
|
Qf as getUrlFromServerState,
|
|
46234
|
-
|
|
46222
|
+
sL as getVariableNames,
|
|
46235
46223
|
rS as hasModels,
|
|
46236
46224
|
sj as hasSecuritySchemes,
|
|
46237
46225
|
ij as hasWebhooks,
|
|
46238
46226
|
oj as isValidUrl,
|
|
46239
|
-
|
|
46240
|
-
|
|
46227
|
+
iL as mapFromObject,
|
|
46228
|
+
oL as mergeAllObjects,
|
|
46241
46229
|
aj as objectMerge,
|
|
46242
46230
|
Cf as openClientFor,
|
|
46243
46231
|
P7 as parse,
|
|
46244
46232
|
tS as replaceVariables,
|
|
46245
46233
|
sS as scrollToId,
|
|
46246
46234
|
Ks as sleep,
|
|
46247
|
-
|
|
46235
|
+
T7 as splitMarkdownInSections,
|
|
46248
46236
|
up as useApiClientStore,
|
|
46249
46237
|
Og as useHttpClientStore,
|
|
46250
|
-
|
|
46238
|
+
W7 as useReactiveSpec,
|
|
46251
46239
|
Dd as useServerStore
|
|
46252
46240
|
};
|