@scalar/api-reference 1.28.30 → 1.28.32
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 +33 -0
- package/dist/blocks/constants.js +2 -4
- package/dist/browser/standalone.js +14161 -14196
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue2.js +2 -2
- package/dist/components/ApiReference.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +17 -14
- package/dist/components/Badge/Badge.vue.js +2 -2
- package/dist/components/Card/Card.vue.js +2 -2
- package/dist/components/Card/CardContent.vue2.js +2 -2
- package/dist/components/Card/CardFooter.vue2.js +2 -2
- package/dist/components/Card/CardHeader.vue2.js +2 -2
- package/dist/components/Card/CardTab.vue2.js +2 -2
- package/dist/components/Card/CardTabHeader.vue2.js +6 -6
- package/dist/components/ClassicHeader.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +1 -1
- package/dist/components/Content/Content.vue2.js +1 -1
- package/dist/components/Content/Introduction/Description.vue2.js +5 -5
- package/dist/components/Content/Introduction/Introduction.vue2.js +15 -15
- package/dist/components/Content/Lazy/Loading.vue.js +7 -7
- package/dist/components/Content/Models/Models.vue2.js +7 -7
- package/dist/components/Content/Models/ModelsAccordion.vue2.js +13 -13
- package/dist/components/Content/Schema/Schema.vue2.js +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue2.js +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue2.js +7 -7
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +7 -7
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +9 -9
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +1 -4
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +148 -148
- package/dist/components/Content/Tag/OperationsList.vue2.js +5 -5
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +9 -9
- package/dist/components/Content/Tag/Tag.vue.js +5 -5
- package/dist/components/Content/Tag/TagAccordion.vue2.js +4 -4
- package/dist/components/Content/Tag/TagList.vue.js +1 -1
- package/dist/components/Content/Tag/TagSection.vue2.js +1 -1
- package/dist/components/DocumentSelector/DocumentSelector.vue.js +5 -5
- package/dist/components/GettingStarted.vue2.js +3 -3
- package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
- package/dist/components/IntersectionObserver.vue.js +2 -2
- package/dist/components/Layouts/ClassicLayout.vue.js +5 -5
- package/dist/components/Layouts/Layouts.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +5 -5
- package/dist/components/LoadingSkeleton.vue2.js +2 -2
- package/dist/components/MobileHeader.vue2.js +5 -5
- package/dist/components/OperationPath.vue2.js +4 -4
- package/dist/components/ScreenReader.vue2.js +2 -2
- package/dist/components/Section/CompactSection.vue2.js +4 -4
- package/dist/components/Section/Section.vue2.js +2 -2
- package/dist/components/Section/SectionAccordion.vue2.js +1 -1
- package/dist/components/Section/SectionColumn.vue.js +2 -2
- package/dist/components/Section/SectionColumns.vue.js +2 -2
- package/dist/components/Section/SectionContainer.vue.js +2 -2
- package/dist/components/Section/SectionContainerAccordion.vue2.js +2 -2
- package/dist/components/Section/SectionContent.vue2.js +1 -1
- package/dist/components/Section/SectionHeader.vue2.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue2.js +2 -2
- package/dist/components/ShowMoreButton.vue2.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
- package/dist/components/Sidebar/SidebarElement.vue2.js +5 -5
- package/dist/components/Sidebar/SidebarGroup.vue2.js +2 -2
- package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +2 -2
- package/dist/components/SingleApiReference.vue.js +5 -5
- package/dist/components/SpecificationExtension/SpecificationExtension.vue.js +5 -5
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -0
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +51 -29
- package/dist/features/ApiClientModal/useApiClient.d.ts +4 -4
- package/dist/features/BaseUrl/BaseUrl.vue.js +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue2.js +5 -5
- package/dist/features/ExampleRequest/ExamplePicker.vue2.js +2 -2
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +12 -12
- package/dist/features/ExampleRequest/TextSelect.vue.js +6 -6
- package/dist/features/ExampleResponses/ExampleResponse.vue2.js +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue2.js +23 -23
- package/dist/features/Operation/Operation.vue.js +3 -3
- package/dist/features/Operation/Webhooks.vue2.js +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.js +3 -3
- package/dist/features/Operation/components/OperationParameters.vue.js +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +2 -2
- package/dist/features/Operation/components/ParameterHeaders.vue2.js +1 -1
- package/dist/features/Operation/components/ParameterList.vue2.js +4 -4
- package/dist/features/Operation/components/ParameterListItem.vue2.js +17 -17
- package/dist/features/Operation/components/RequestBody.vue2.js +5 -5
- package/dist/features/Operation/components/Webhook.vue2.js +5 -5
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +20 -20
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +3 -3
- package/dist/features/Search/SearchButton.vue2.js +4 -4
- package/dist/features/Search/SearchModal.vue2.js +1 -1
- package/dist/features/TestRequestButton/TestRequestButton.vue2.js +5 -5
- package/dist/hooks/useNavState.js +1 -1
- package/dist/hooks/useSidebar.js +13 -13
- package/dist/index.js +21 -21
- package/dist/stores/useHttpClientStore.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +16 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y,
|
|
1
|
+
import { defineComponent as y, createElementBlock as t, createCommentVNode as r, openBlock as a, createElementVNode as l, Fragment as n, createTextVNode as o, toDisplayString as p } from "vue";
|
|
2
2
|
const s = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "schema-type"
|
|
@@ -9,24 +9,24 @@ const s = {
|
|
|
9
9
|
name: {}
|
|
10
10
|
},
|
|
11
11
|
setup(m) {
|
|
12
|
-
return (e, i) => typeof e.value == "object" ? (
|
|
12
|
+
return (e, i) => typeof e.value == "object" ? (a(), t("span", s, [
|
|
13
13
|
l("span", {
|
|
14
14
|
class: "schema-type-icon",
|
|
15
15
|
title: typeof e.value.type == "string" ? e.value.type : Array.isArray(e.value.type) ? e.value.type.join(" | ") : "unkown type"
|
|
16
16
|
}, [
|
|
17
|
-
e.value.type === "object" ? (
|
|
17
|
+
e.value.type === "object" ? (a(), t(n, { key: 0 }, [
|
|
18
18
|
o(" {} ")
|
|
19
19
|
], 64)) : r("", !0),
|
|
20
|
-
e.value.type === "array" ? (
|
|
20
|
+
e.value.type === "array" ? (a(), t(n, { key: 1 }, [
|
|
21
21
|
o(" [] ")
|
|
22
22
|
], 64)) : r("", !0),
|
|
23
|
-
e.value.enum ? (
|
|
23
|
+
e.value.enum ? (a(), t(n, { key: 2 }, [
|
|
24
24
|
o(" enum ")
|
|
25
25
|
], 64)) : r("", !0)
|
|
26
26
|
], 8, u),
|
|
27
|
-
e.name ? (
|
|
27
|
+
e.name ? (a(), t(n, { key: 0 }, [
|
|
28
28
|
o(p(e.name), 1)
|
|
29
|
-
], 64)) : (
|
|
29
|
+
], 64)) : (a(), t(n, { key: 1 }, [
|
|
30
30
|
o(p(e.value.type), 1)
|
|
31
31
|
], 64))
|
|
32
32
|
])) : r("", !0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as y,
|
|
1
|
+
import { defineComponent as $, computed as y, createBlock as h, openBlock as l, resolveDynamicComponent as M, normalizeClass as I, withCtx as m, createCommentVNode as r, createElementBlock as s, createVNode as a, createSlots as G, createTextVNode as D, toDisplayString as c, unref as i, Fragment as d, renderList as k, createElementVNode as f } from "vue";
|
|
2
2
|
import { Disclosure as J, DisclosurePanel as K, DisclosureButton as Q } from "@headlessui/vue";
|
|
3
3
|
import { ScalarMarkdown as S, ScalarIcon as W } from "@scalar/components";
|
|
4
4
|
import { optimizeValueForDisplay as X, discriminators as Y } from "./helpers/optimizeValueForDisplay.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, createElementBlock as t, openBlock as o, normalizeClass as l, createCommentVNode as p, renderSlot as r, createTextVNode as n } from "vue";
|
|
2
2
|
const d = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "property-detail-prefix"
|
|
@@ -15,16 +15,16 @@ const d = {
|
|
|
15
15
|
code: { type: Boolean }
|
|
16
16
|
},
|
|
17
17
|
setup(c) {
|
|
18
|
-
return (e, s) => (
|
|
18
|
+
return (e, s) => (o(), t("span", {
|
|
19
19
|
class: l(["property-detail", { "property-detail-truncate": e.truncate }])
|
|
20
20
|
}, [
|
|
21
|
-
e.$slots.prefix ? (
|
|
21
|
+
e.$slots.prefix ? (o(), t("div", d, [
|
|
22
22
|
r(e.$slots, "prefix", {}, void 0, !0),
|
|
23
|
-
s[0] || (s[0] =
|
|
24
|
-
])) :
|
|
25
|
-
e.code ? (
|
|
23
|
+
s[0] || (s[0] = n(" "))
|
|
24
|
+
])) : p("", !0),
|
|
25
|
+
e.code ? (o(), t("code", i, [
|
|
26
26
|
r(e.$slots, "default", {}, void 0, !0)
|
|
27
|
-
])) : (
|
|
27
|
+
])) : (o(), t("span", u, [
|
|
28
28
|
r(e.$slots, "default", {}, void 0, !0)
|
|
29
29
|
]))
|
|
30
30
|
], 2));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y,
|
|
1
|
+
import { defineComponent as y, createElementBlock as l, openBlock as p, Fragment as i, createCommentVNode as u, createElementVNode as e, unref as o, createVNode as c, toDisplayString as n, renderList as b } from "vue";
|
|
2
2
|
import { ScalarIcon as x } from "@scalar/components";
|
|
3
3
|
import { useClipboard as v } from "@scalar/use-hooks/useClipboard";
|
|
4
4
|
import { formatExample as s } from "./helpers/formatExample.js";
|
|
@@ -20,8 +20,8 @@ const f = {
|
|
|
20
20
|
},
|
|
21
21
|
setup(E) {
|
|
22
22
|
const { copyToClipboard: m } = v();
|
|
23
|
-
return (t, r) => (
|
|
24
|
-
t.example ? (
|
|
23
|
+
return (t, r) => (p(), l(i, null, [
|
|
24
|
+
t.example ? (p(), l("div", f, [
|
|
25
25
|
r[1] || (r[1] = e("button", {
|
|
26
26
|
type: "button",
|
|
27
27
|
class: "property-example-label"
|
|
@@ -35,34 +35,34 @@ const f = {
|
|
|
35
35
|
onClick: r[0] || (r[0] = (a) => o(m)(String(o(s)(t.example))))
|
|
36
36
|
}, [
|
|
37
37
|
e("span", null, n(o(s)(t.example)), 1),
|
|
38
|
-
|
|
38
|
+
c(o(x), {
|
|
39
39
|
icon: "Clipboard",
|
|
40
40
|
size: "xs",
|
|
41
41
|
class: "group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3"
|
|
42
42
|
})
|
|
43
43
|
])
|
|
44
44
|
])
|
|
45
|
-
])) :
|
|
46
|
-
t.examples && typeof t.examples == "object" && Object.keys(t.examples).length > 0 ? (
|
|
45
|
+
])) : u("", !0),
|
|
46
|
+
t.examples && typeof t.examples == "object" && Object.keys(t.examples).length > 0 ? (p(), l("div", h, [
|
|
47
47
|
e("button", k, [
|
|
48
48
|
e("span", null, n(Object.keys(t.examples).length === 1 ? "Example" : "Examples"), 1)
|
|
49
49
|
]),
|
|
50
50
|
e("div", C, [
|
|
51
|
-
(
|
|
51
|
+
(p(!0), l(i, null, b(t.examples, (a, d) => (p(), l("button", {
|
|
52
52
|
type: "button",
|
|
53
53
|
key: d,
|
|
54
54
|
class: "property-example-value group",
|
|
55
55
|
onClick: (S) => o(m)(String(o(s)(a)))
|
|
56
56
|
}, [
|
|
57
57
|
e("span", null, n(o(s)(a)), 1),
|
|
58
|
-
|
|
58
|
+
c(o(x), {
|
|
59
59
|
icon: "Clipboard",
|
|
60
60
|
size: "xs",
|
|
61
61
|
class: "text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3"
|
|
62
62
|
})
|
|
63
63
|
], 8, _))), 128))
|
|
64
64
|
])
|
|
65
|
-
])) :
|
|
65
|
+
])) : u("", !0)
|
|
66
66
|
], 64));
|
|
67
67
|
}
|
|
68
68
|
});
|
|
@@ -18,10 +18,7 @@ declare function __VLS_template(): {
|
|
|
18
18
|
rootEl: HTMLDivElement;
|
|
19
19
|
};
|
|
20
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
-
required: boolean;
|
|
23
|
-
withExamples: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
23
|
export default _default;
|
|
27
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAuRA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAY9B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;AAoDF,iBAAS,cAAc;WA+TT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaPropertyHeading.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9d959541"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { stringify as
|
|
3
|
-
import { discriminators as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as T, createElementBlock as i, openBlock as t, createCommentVNode as r, createBlock as o, normalizeClass as z, renderSlot as E, Fragment as s, createTextVNode as a, toDisplayString as n, createVNode as p, unref as v, withCtx as u } from "vue";
|
|
2
|
+
import { stringify as L } from "flatted";
|
|
3
|
+
import { discriminators as H } from "./helpers/optimizeValueForDisplay.js";
|
|
4
|
+
import R from "./SchemaPropertyExamples.vue.js";
|
|
5
|
+
import f from "../../ScreenReader.vue.js";
|
|
6
|
+
import m from "./SchemaPropertyDetail.vue.js";
|
|
7
|
+
import $ from "../../Badge/Badge.vue.js";
|
|
8
|
+
const G = { class: "property-heading" }, J = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "property-additional"
|
|
11
|
-
},
|
|
11
|
+
}, K = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "property-pattern"
|
|
14
|
-
},
|
|
14
|
+
}, Q = {
|
|
15
15
|
key: 3,
|
|
16
16
|
class: "property-deprecated"
|
|
17
|
-
},
|
|
17
|
+
}, U = {
|
|
18
18
|
key: 4,
|
|
19
19
|
class: "property-const"
|
|
20
|
-
},
|
|
20
|
+
}, W = {
|
|
21
21
|
key: 7,
|
|
22
22
|
class: "property-write-only"
|
|
23
|
-
},
|
|
23
|
+
}, X = {
|
|
24
24
|
key: 8,
|
|
25
25
|
class: "property-read-only"
|
|
26
|
-
},
|
|
26
|
+
}, Y = {
|
|
27
27
|
key: 9,
|
|
28
28
|
class: "property-required"
|
|
29
|
-
},
|
|
29
|
+
}, ae = /* @__PURE__ */ T({
|
|
30
30
|
__name: "SchemaPropertyHeading",
|
|
31
31
|
props: {
|
|
32
32
|
value: {},
|
|
@@ -37,214 +37,214 @@ const A = { class: "property-heading" }, C = {
|
|
|
37
37
|
withExamples: { type: Boolean, default: !0 },
|
|
38
38
|
schemas: {}
|
|
39
39
|
},
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
42
|
-
if (!
|
|
40
|
+
setup(d) {
|
|
41
|
+
const D = H.find((e) => !d.value || typeof d.value != "object" ? !1 : e in d.value || d.value.items && typeof d.value.items == "object" && e in d.value.items), F = (e) => Array.isArray(e == null ? void 0 : e.default) && e.default.length === 1 ? e.default[0] : e == null ? void 0 : e.default, O = (e) => {
|
|
42
|
+
if (!e)
|
|
43
43
|
return null;
|
|
44
|
-
if (
|
|
45
|
-
return
|
|
46
|
-
if (
|
|
47
|
-
for (const [
|
|
48
|
-
if (
|
|
49
|
-
return
|
|
44
|
+
if (e.name)
|
|
45
|
+
return e.name;
|
|
46
|
+
if (d.schemas && typeof d.schemas == "object") {
|
|
47
|
+
for (const [l, y] of Object.entries(d.schemas))
|
|
48
|
+
if (L(y) === L(e))
|
|
49
|
+
return l;
|
|
50
50
|
}
|
|
51
51
|
return null;
|
|
52
52
|
};
|
|
53
|
-
return (
|
|
54
|
-
var y;
|
|
55
|
-
return
|
|
56
|
-
|
|
53
|
+
return (e, l) => {
|
|
54
|
+
var y, k, g, B, b, N, S, q, w, P, j, I, M;
|
|
55
|
+
return t(), i("div", G, [
|
|
56
|
+
e.$slots.name ? (t(), i("div", {
|
|
57
57
|
key: 0,
|
|
58
|
-
class:
|
|
58
|
+
class: z(["property-name", { deprecated: (y = e.value) == null ? void 0 : y.deprecated }])
|
|
59
59
|
}, [
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
], 64)) :
|
|
65
|
-
], 2)) :
|
|
66
|
-
|
|
67
|
-
e != null &&
|
|
68
|
-
|
|
69
|
-
], 64)) : (
|
|
70
|
-
|
|
60
|
+
e.pattern ? (t(), i(s, { key: 1 }, [
|
|
61
|
+
l[0] || (l[0] = a("/")),
|
|
62
|
+
E(e.$slots, "name", {}, void 0, !0),
|
|
63
|
+
l[1] || (l[1] = a("/"))
|
|
64
|
+
], 64)) : E(e.$slots, "name", { key: 0 }, void 0, !0)
|
|
65
|
+
], 2)) : r("", !0),
|
|
66
|
+
e.additional ? (t(), i("div", J, [
|
|
67
|
+
(k = e.value) != null && k["x-additionalPropertiesName"] ? (t(), i(s, { key: 0 }, [
|
|
68
|
+
a(n(e.value["x-additionalPropertiesName"]), 1)
|
|
69
|
+
], 64)) : (t(), i(s, { key: 1 }, [
|
|
70
|
+
a("additional properties")
|
|
71
71
|
], 64))
|
|
72
|
-
])) :
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
default:
|
|
76
|
-
|
|
72
|
+
])) : r("", !0),
|
|
73
|
+
e.pattern ? (t(), i("div", K, [
|
|
74
|
+
p(v($), null, {
|
|
75
|
+
default: u(() => l[2] || (l[2] = [
|
|
76
|
+
a("pattern")
|
|
77
77
|
])),
|
|
78
78
|
_: 1
|
|
79
79
|
})
|
|
80
|
-
])) :
|
|
81
|
-
e != null &&
|
|
82
|
-
|
|
83
|
-
default:
|
|
84
|
-
|
|
80
|
+
])) : r("", !0),
|
|
81
|
+
(g = e.value) != null && g.deprecated ? (t(), i("div", Q, [
|
|
82
|
+
p(v($), null, {
|
|
83
|
+
default: u(() => l[3] || (l[3] = [
|
|
84
|
+
a("deprecated")
|
|
85
85
|
])),
|
|
86
86
|
_: 1
|
|
87
87
|
})
|
|
88
|
-
])) :
|
|
89
|
-
e != null &&
|
|
90
|
-
|
|
91
|
-
prefix:
|
|
92
|
-
|
|
88
|
+
])) : r("", !0),
|
|
89
|
+
(B = e.value) != null && B.const || (b = e.value) != null && b.enum && e.value.enum.length === 1 ? (t(), i("div", U, [
|
|
90
|
+
p(m, { truncate: "" }, {
|
|
91
|
+
prefix: u(() => l[4] || (l[4] = [
|
|
92
|
+
a("const:")
|
|
93
93
|
])),
|
|
94
|
-
default:
|
|
95
|
-
|
|
94
|
+
default: u(() => [
|
|
95
|
+
a(" " + n(e.value.const ?? e.value.enum[0]), 1)
|
|
96
96
|
]),
|
|
97
97
|
_: 1
|
|
98
98
|
})
|
|
99
|
-
])) : e != null &&
|
|
100
|
-
|
|
101
|
-
default:
|
|
102
|
-
var
|
|
99
|
+
])) : (N = e.value) != null && N.type ? (t(), i(s, { key: 5 }, [
|
|
100
|
+
p(m, null, {
|
|
101
|
+
default: u(() => {
|
|
102
|
+
var V, A, C;
|
|
103
103
|
return [
|
|
104
|
-
|
|
105
|
-
default:
|
|
106
|
-
|
|
104
|
+
p(f, null, {
|
|
105
|
+
default: u(() => l[5] || (l[5] = [
|
|
106
|
+
a("Type:")
|
|
107
107
|
])),
|
|
108
108
|
_: 1
|
|
109
109
|
}),
|
|
110
|
-
(
|
|
111
|
-
|
|
112
|
-
], 64)) : (
|
|
113
|
-
|
|
110
|
+
(A = (V = e.value) == null ? void 0 : V.items) != null && A.type ? (t(), i(s, { key: 0 }, [
|
|
111
|
+
a(n(e.value.type) + " " + n(O(e.value.items) || e.value.items.type) + "[] ", 1)
|
|
112
|
+
], 64)) : (t(), i(s, { key: 1 }, [
|
|
113
|
+
a(n(Array.isArray(e.value.type) ? e.value.type.join(" | ") : e.value.type) + " " + n((C = e.value) != null && C.nullable ? " | nullable" : ""), 1)
|
|
114
114
|
], 64)),
|
|
115
|
-
e.minItems || e.maxItems ? (
|
|
116
|
-
|
|
117
|
-
], 64)) :
|
|
115
|
+
e.value.minItems || e.value.maxItems ? (t(), i(s, { key: 2 }, [
|
|
116
|
+
a(n(e.value.minItems) + "…" + n(e.value.maxItems), 1)
|
|
117
|
+
], 64)) : r("", !0)
|
|
118
118
|
];
|
|
119
119
|
}),
|
|
120
120
|
_: 1
|
|
121
121
|
}),
|
|
122
|
-
e.minLength ? (
|
|
123
|
-
prefix:
|
|
124
|
-
|
|
122
|
+
e.value.minLength ? (t(), o(m, { key: 0 }, {
|
|
123
|
+
prefix: u(() => l[6] || (l[6] = [
|
|
124
|
+
a("min:")
|
|
125
125
|
])),
|
|
126
|
-
default:
|
|
127
|
-
|
|
126
|
+
default: u(() => [
|
|
127
|
+
a(" " + n(e.value.minLength), 1)
|
|
128
128
|
]),
|
|
129
129
|
_: 1
|
|
130
|
-
})) :
|
|
131
|
-
e.maxLength ? (
|
|
132
|
-
prefix:
|
|
133
|
-
|
|
130
|
+
})) : r("", !0),
|
|
131
|
+
e.value.maxLength ? (t(), o(m, { key: 1 }, {
|
|
132
|
+
prefix: u(() => l[7] || (l[7] = [
|
|
133
|
+
a("max:")
|
|
134
134
|
])),
|
|
135
|
-
default:
|
|
136
|
-
|
|
135
|
+
default: u(() => [
|
|
136
|
+
a(" " + n(e.value.maxLength), 1)
|
|
137
137
|
]),
|
|
138
138
|
_: 1
|
|
139
|
-
})) :
|
|
140
|
-
e.uniqueItems ? (
|
|
141
|
-
default:
|
|
142
|
-
|
|
139
|
+
})) : r("", !0),
|
|
140
|
+
e.value.uniqueItems ? (t(), o(m, { key: 2 }, {
|
|
141
|
+
default: u(() => l[8] || (l[8] = [
|
|
142
|
+
a(" unique! ")
|
|
143
143
|
])),
|
|
144
144
|
_: 1
|
|
145
|
-
})) :
|
|
146
|
-
e.format ? (
|
|
147
|
-
default:
|
|
148
|
-
|
|
149
|
-
default:
|
|
150
|
-
|
|
145
|
+
})) : r("", !0),
|
|
146
|
+
e.value.format ? (t(), o(m, { key: 3 }, {
|
|
147
|
+
default: u(() => [
|
|
148
|
+
p(f, null, {
|
|
149
|
+
default: u(() => l[9] || (l[9] = [
|
|
150
|
+
a("Format:")
|
|
151
151
|
])),
|
|
152
152
|
_: 1
|
|
153
153
|
}),
|
|
154
|
-
|
|
154
|
+
a(" " + n(e.value.format), 1)
|
|
155
155
|
]),
|
|
156
156
|
_: 1
|
|
157
|
-
})) :
|
|
158
|
-
e.minimum !== void 0 && e.exclusiveMinimum ? (
|
|
159
|
-
prefix:
|
|
160
|
-
|
|
157
|
+
})) : r("", !0),
|
|
158
|
+
e.value.minimum !== void 0 && e.value.exclusiveMinimum ? (t(), o(m, { key: 4 }, {
|
|
159
|
+
prefix: u(() => l[10] || (l[10] = [
|
|
160
|
+
a("greater than:")
|
|
161
161
|
])),
|
|
162
|
-
default:
|
|
163
|
-
|
|
162
|
+
default: u(() => [
|
|
163
|
+
a(" " + n(e.value.minimum), 1)
|
|
164
164
|
]),
|
|
165
165
|
_: 1
|
|
166
|
-
})) :
|
|
167
|
-
e.minimum !== void 0 && !e.exclusiveMinimum ? (
|
|
168
|
-
prefix:
|
|
169
|
-
|
|
166
|
+
})) : r("", !0),
|
|
167
|
+
e.value.minimum !== void 0 && !e.value.exclusiveMinimum ? (t(), o(m, { key: 5 }, {
|
|
168
|
+
prefix: u(() => l[11] || (l[11] = [
|
|
169
|
+
a("min:")
|
|
170
170
|
])),
|
|
171
|
-
default:
|
|
172
|
-
|
|
171
|
+
default: u(() => [
|
|
172
|
+
a(" " + n(e.value.minimum), 1)
|
|
173
173
|
]),
|
|
174
174
|
_: 1
|
|
175
|
-
})) :
|
|
176
|
-
e.maximum !== void 0 && e.exclusiveMaximum ? (
|
|
177
|
-
prefix:
|
|
178
|
-
|
|
175
|
+
})) : r("", !0),
|
|
176
|
+
e.value.maximum !== void 0 && e.value.exclusiveMaximum ? (t(), o(m, { key: 6 }, {
|
|
177
|
+
prefix: u(() => l[12] || (l[12] = [
|
|
178
|
+
a("less than:")
|
|
179
179
|
])),
|
|
180
|
-
default:
|
|
181
|
-
|
|
180
|
+
default: u(() => [
|
|
181
|
+
a(" " + n(e.value.maximum), 1)
|
|
182
182
|
]),
|
|
183
183
|
_: 1
|
|
184
|
-
})) :
|
|
185
|
-
e.maximum !== void 0 && !e.exclusiveMaximum ? (
|
|
186
|
-
prefix:
|
|
187
|
-
|
|
184
|
+
})) : r("", !0),
|
|
185
|
+
e.value.maximum !== void 0 && !e.value.exclusiveMaximum ? (t(), o(m, { key: 7 }, {
|
|
186
|
+
prefix: u(() => l[13] || (l[13] = [
|
|
187
|
+
a("max:")
|
|
188
188
|
])),
|
|
189
|
-
default:
|
|
190
|
-
|
|
189
|
+
default: u(() => [
|
|
190
|
+
a(" " + n(e.value.maximum), 1)
|
|
191
191
|
]),
|
|
192
192
|
_: 1
|
|
193
|
-
})) :
|
|
194
|
-
e.pattern ? (
|
|
193
|
+
})) : r("", !0),
|
|
194
|
+
e.value.pattern ? (t(), o(m, {
|
|
195
195
|
key: 8,
|
|
196
196
|
code: "",
|
|
197
197
|
truncate: ""
|
|
198
198
|
}, {
|
|
199
|
-
default:
|
|
200
|
-
|
|
201
|
-
default:
|
|
202
|
-
|
|
199
|
+
default: u(() => [
|
|
200
|
+
p(f, null, {
|
|
201
|
+
default: u(() => l[14] || (l[14] = [
|
|
202
|
+
a("Pattern:")
|
|
203
203
|
])),
|
|
204
204
|
_: 1
|
|
205
205
|
}),
|
|
206
|
-
|
|
206
|
+
a(" " + n(e.value.pattern), 1)
|
|
207
207
|
]),
|
|
208
208
|
_: 1
|
|
209
|
-
})) :
|
|
210
|
-
|
|
211
|
-
default:
|
|
212
|
-
|
|
209
|
+
})) : r("", !0),
|
|
210
|
+
e.$props.enum ? (t(), o(m, { key: 9 }, {
|
|
211
|
+
default: u(() => l[15] || (l[15] = [
|
|
212
|
+
a("enum")
|
|
213
213
|
])),
|
|
214
214
|
_: 1
|
|
215
|
-
})) :
|
|
216
|
-
e.default !== void 0 ? (
|
|
215
|
+
})) : r("", !0),
|
|
216
|
+
e.value.default !== void 0 ? (t(), o(m, {
|
|
217
217
|
key: 10,
|
|
218
218
|
truncate: ""
|
|
219
219
|
}, {
|
|
220
|
-
prefix:
|
|
221
|
-
|
|
220
|
+
prefix: u(() => l[16] || (l[16] = [
|
|
221
|
+
a("default:")
|
|
222
222
|
])),
|
|
223
|
-
default:
|
|
224
|
-
|
|
223
|
+
default: u(() => [
|
|
224
|
+
a(" " + n(F(e.value)), 1)
|
|
225
225
|
]),
|
|
226
226
|
_: 1
|
|
227
|
-
})) :
|
|
228
|
-
], 64)) : (
|
|
229
|
-
(e == null ? void 0 :
|
|
230
|
-
default:
|
|
231
|
-
|
|
227
|
+
})) : r("", !0)
|
|
228
|
+
], 64)) : (t(), i(s, { key: 6 }, [
|
|
229
|
+
((S = e.value) == null ? void 0 : S.nullable) === !0 ? (t(), o(m, { key: 0 }, {
|
|
230
|
+
default: u(() => l[17] || (l[17] = [
|
|
231
|
+
a(" nullable ")
|
|
232
232
|
])),
|
|
233
233
|
_: 1
|
|
234
|
-
})) :
|
|
234
|
+
})) : r("", !0)
|
|
235
235
|
], 64)),
|
|
236
|
-
e != null &&
|
|
237
|
-
|
|
238
|
-
|
|
236
|
+
(q = e.value) != null && q.writeOnly ? (t(), i("div", W, " write-only ")) : (w = e.value) != null && w.readOnly ? (t(), i("div", X, " read-only ")) : r("", !0),
|
|
237
|
+
e.required ? (t(), i("div", Y, " required ")) : r("", !0),
|
|
238
|
+
e.withExamples ? (t(), o(R, {
|
|
239
239
|
key: 10,
|
|
240
|
-
examples: e == null ? void 0 :
|
|
241
|
-
example: (e == null ? void 0 :
|
|
242
|
-
"discriminator-type":
|
|
243
|
-
}, null, 8, ["examples", "example", "discriminator-type"])) :
|
|
240
|
+
examples: (P = e.value) == null ? void 0 : P.examples,
|
|
241
|
+
example: ((j = e.value) == null ? void 0 : j.example) || ((M = (I = e.value) == null ? void 0 : I.items) == null ? void 0 : M.example),
|
|
242
|
+
"discriminator-type": v(D)
|
|
243
|
+
}, null, 8, ["examples", "example", "discriminator-type"])) : r("", !0)
|
|
244
244
|
]);
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
export {
|
|
249
|
-
|
|
249
|
+
ae as default
|
|
250
250
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, computed as g,
|
|
1
|
+
import { defineComponent as f, computed as g, createBlock as p, createCommentVNode as C, openBlock as a, unref as t, withCtx as o, createVNode as r, createTextVNode as d, toDisplayString as N, createElementVNode as k, createElementBlock as y, Fragment as O, renderList as B } from "vue";
|
|
2
2
|
import V from "../../ScreenReader.vue.js";
|
|
3
3
|
import { useNavState as _ } from "../../../hooks/useNavState.js";
|
|
4
4
|
import v from "./OperationsListItem.vue.js";
|
|
@@ -25,7 +25,7 @@ const h = ["aria-label"], T = /* @__PURE__ */ f({
|
|
|
25
25
|
default: o(() => [
|
|
26
26
|
r(V, null, {
|
|
27
27
|
default: o(() => [
|
|
28
|
-
d(
|
|
28
|
+
d(N(n.value), 1)
|
|
29
29
|
]),
|
|
30
30
|
_: 1
|
|
31
31
|
}),
|
|
@@ -38,11 +38,11 @@ const h = ["aria-label"], T = /* @__PURE__ */ f({
|
|
|
38
38
|
muted: ""
|
|
39
39
|
}, {
|
|
40
40
|
default: o(() => [
|
|
41
|
-
|
|
41
|
+
k("ul", {
|
|
42
42
|
"aria-label": `${n.value} endpoints`,
|
|
43
43
|
class: "endpoints"
|
|
44
44
|
}, [
|
|
45
|
-
(a(!0),
|
|
45
|
+
(a(!0), y(O, null, B(e.tag.operations, (m) => (a(), p(v, {
|
|
46
46
|
key: t(u)(m, e.tag),
|
|
47
47
|
collection: e.collection,
|
|
48
48
|
isCollapsed: e.isCollapsed,
|
|
@@ -55,7 +55,7 @@ const h = ["aria-label"], T = /* @__PURE__ */ f({
|
|
|
55
55
|
})
|
|
56
56
|
]),
|
|
57
57
|
_: 1
|
|
58
|
-
})) :
|
|
58
|
+
})) : C("", !0);
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
});
|