@scalar/api-reference 1.25.36 → 1.25.37
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 +19 -0
- package/dist/browser/standalone.js +13407 -13399
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts +3 -12
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue2.js +21 -21
- package/dist/components/ApiClientModal.vue.d.ts +3 -12
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +4 -13
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts +8 -17
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/CardContent.vue.d.ts +1 -10
- package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts +1 -10
- package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts +1 -10
- package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/components/Card/CardTab.vue.d.ts +1 -1
- package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
- package/dist/components/Card/CardTabHeader.vue.d.ts +4 -4
- package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.d.ts +1 -1
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +3 -12
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +14 -14
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +56 -56
- package/dist/components/Content/Content.vue.d.ts +3 -12
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue2.js +41 -41
- package/dist/components/Content/Introduction/Description.vue.d.ts +3 -12
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +3 -12
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Lazy.vue.d.ts +4 -27
- package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.d.ts +4 -25
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.d.ts +3 -12
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue2.js +32 -32
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue2.js +30 -30
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +6 -15
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.js +45 -45
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue2.js +37 -37
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue.d.ts +3 -12
- package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue2.js +35 -35
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts +3 -12
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts +4 -27
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Parameters.vue.d.ts +4 -27
- package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBody.vue.d.ts +3 -12
- package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts +3 -12
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts +3 -12
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +16 -16
- package/dist/components/Content/Schema/Schema.vue.d.ts +4 -25
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +3 -12
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +4 -29
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +85 -85
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +3 -12
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +11 -11
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +4 -27
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +114 -114
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +3 -12
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue2.js +11 -11
- package/dist/components/Content/Tag/Tag.vue.d.ts +3 -12
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.d.ts +3 -12
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts +3 -12
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue2.js +22 -22
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +3 -12
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +39 -39
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +6 -15
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +6 -15
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +14 -14
- package/dist/components/GettingStarted.vue.d.ts +9 -18
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue2.js +32 -32
- package/dist/components/HelpfulLink.vue.d.ts +3 -12
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +3 -12
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IntersectionObserver.vue.d.ts +6 -15
- package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts +5 -14
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/Layouts.vue.d.ts +5 -14
- package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +5 -14
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/LoadingSkeleton.vue.d.ts +4 -25
- package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts +6 -15
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +4 -25
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.d.ts +3 -12
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/Section.vue.d.ts +3 -12
- package/dist/components/Section/Section.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts +3 -12
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContent.vue.d.ts +4 -25
- package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.d.ts +4 -29
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.d.ts +3 -12
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue2.js +9 -9
- package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -12
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.d.ts +6 -15
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue2.js +24 -24
- package/dist/components/Sidebar/SidebarGroup.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +253 -13
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts +3 -12
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts +8 -29
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue2.js +41 -41
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts +3 -12
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +19 -19
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts +3 -12
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts +6 -15
- package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/TextSelect.vue.d.ts +6 -15
- package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts +3 -12
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue2.js +83 -83
- package/dist/features/Search/SearchButton.vue.d.ts +4 -25
- package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchButton.vue2.js +27 -27
- package/dist/features/Search/SearchModal.vue.d.ts +3 -12
- package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchModal.vue2.js +66 -66
- package/dist/features/Search/useSearchIndex.d.ts +2 -2
- package/dist/hooks/useDarkModeState.d.ts +1 -1
- package/dist/hooks/useNavState.d.ts +3 -3
- package/dist/hooks/useReactiveSpec.d.ts +2 -2
- package/dist/hooks/useRefOnMount.d.ts +1 -1
- package/dist/hooks/useRefOnMount.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/legacy/components/CardForm.vue.d.ts +1 -1
- package/dist/legacy/components/CardForm.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormButton.vue.d.ts +2 -2
- package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormGroup.vue.d.ts +1 -1
- package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormRows.vue.d.ts +1 -1
- package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +3 -12
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue2.js +21 -21
- package/dist/legacy/components/SecurityScheme.vue.d.ts +3 -12
- package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecurityScheme.vue2.js +147 -147
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +6 -15
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +37 -37
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +6 -15
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +36 -36
- package/dist/legacy/stores/useRequestStore.d.ts +7 -3
- package/dist/legacy/stores/useRequestStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -11
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useSidebar as
|
|
11
|
-
import { useNavState as
|
|
12
|
-
const
|
|
1
|
+
import { defineComponent as _, computed as c, openBlock as a, createBlock as i, unref as e, withCtx as l, createVNode as s, createTextVNode as k, createElementVNode as M, normalizeClass as b, createElementBlock as y, Fragment as N, renderList as g, createCommentVNode as u } from "vue";
|
|
2
|
+
import C from "../../ShowMoreButton.vue.js";
|
|
3
|
+
import L from "../../Section/SectionContainer.vue.js";
|
|
4
|
+
import I from "../../Section/Section.vue.js";
|
|
5
|
+
import w from "../../Section/SectionHeader.vue.js";
|
|
6
|
+
import f from "../Lazy/Lazy.vue2.js";
|
|
7
|
+
import B from "../../Section/CompactSection.vue.js";
|
|
8
|
+
import H from "../Schema/SchemaHeading.vue.js";
|
|
9
|
+
import O from "../Schema/Schema.vue.js";
|
|
10
|
+
import { useSidebar as V } from "../../../hooks/useSidebar.js";
|
|
11
|
+
import { useNavState as z } from "../../../hooks/useNavState.js";
|
|
12
|
+
const p = 10, q = /* @__PURE__ */ _({
|
|
13
13
|
__name: "Models",
|
|
14
14
|
props: {
|
|
15
15
|
schemas: {}
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const d =
|
|
19
|
-
() => Object.keys(d.schemas ?? {}).length <=
|
|
20
|
-
),
|
|
17
|
+
setup(h) {
|
|
18
|
+
const d = h, { collapsedSidebarItems: S } = V(), { getModelId: r } = z(), m = c(
|
|
19
|
+
() => Object.keys(d.schemas ?? {}).length <= p || S[r()]
|
|
20
|
+
), v = c(() => {
|
|
21
21
|
const t = Object.keys(d.schemas ?? {});
|
|
22
|
-
return m.value ? t : t.slice(0,
|
|
22
|
+
return m.value ? t : t.slice(0, p);
|
|
23
23
|
});
|
|
24
|
-
return (t,
|
|
24
|
+
return (t, n) => t.schemas ? (a(), i(e(L), {
|
|
25
25
|
key: 0,
|
|
26
26
|
id: "models"
|
|
27
27
|
}, {
|
|
28
28
|
default: l(() => [
|
|
29
|
-
s(e(
|
|
29
|
+
s(e(I), null, {
|
|
30
30
|
default: l(() => [
|
|
31
|
-
s(e(
|
|
32
|
-
default: l(() => [
|
|
33
|
-
|
|
34
|
-
]),
|
|
31
|
+
s(e(w), { level: 2 }, {
|
|
32
|
+
default: l(() => n[0] || (n[0] = [
|
|
33
|
+
k("Models")
|
|
34
|
+
])),
|
|
35
35
|
_: 1
|
|
36
36
|
}),
|
|
37
|
-
s(e(
|
|
37
|
+
s(e(f), {
|
|
38
38
|
id: "models",
|
|
39
39
|
isLazy: !1
|
|
40
40
|
}),
|
|
41
|
-
|
|
42
|
-
class:
|
|
41
|
+
M("div", {
|
|
42
|
+
class: b(["models-list", { "models-list-truncated": !m.value }])
|
|
43
43
|
}, [
|
|
44
|
-
(a(!0),
|
|
44
|
+
(a(!0), y(N, null, g(v.value, (o) => (a(), i(e(f), {
|
|
45
45
|
id: e(r)(o),
|
|
46
46
|
key: o,
|
|
47
47
|
isLazy: ""
|
|
48
48
|
}, {
|
|
49
49
|
default: l(() => [
|
|
50
|
-
s(e(
|
|
50
|
+
s(e(B), {
|
|
51
51
|
id: e(r)(o),
|
|
52
52
|
class: "models-list-item",
|
|
53
53
|
label: o
|
|
54
54
|
}, {
|
|
55
55
|
heading: l(() => [
|
|
56
|
-
s(e(
|
|
56
|
+
s(e(H), {
|
|
57
57
|
name: o,
|
|
58
58
|
value: t.schemas[o]
|
|
59
59
|
}, null, 8, ["name", "value"])
|
|
60
60
|
]),
|
|
61
61
|
default: l(() => [
|
|
62
|
-
s(e(
|
|
62
|
+
s(e(O), {
|
|
63
63
|
hideHeading: !0,
|
|
64
64
|
noncollapsible: "",
|
|
65
65
|
value: t.schemas[o]
|
|
@@ -71,7 +71,7 @@ const f = 10, q = /* @__PURE__ */ S({
|
|
|
71
71
|
_: 2
|
|
72
72
|
}, 1032, ["id"]))), 128))
|
|
73
73
|
], 2),
|
|
74
|
-
m.value ?
|
|
74
|
+
m.value ? u("", !0) : (a(), i(C, {
|
|
75
75
|
key: 0,
|
|
76
76
|
id: e(r)(),
|
|
77
77
|
class: "show-more-models"
|
|
@@ -81,7 +81,7 @@ const f = 10, q = /* @__PURE__ */ S({
|
|
|
81
81
|
})
|
|
82
82
|
]),
|
|
83
83
|
_: 1
|
|
84
|
-
})) :
|
|
84
|
+
})) : u("", !0);
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
export {
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
|
|
6
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
8
|
//# sourceMappingURL=ModelsAccordion.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;cAgBxE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AA6Lb,wBAMG
|
|
1
|
+
{"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;cAgBxE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AA6Lb,wBAMG"}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { defineComponent as A, computed as C, openBlock as t, createBlock as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { defineComponent as A, computed as C, openBlock as t, createBlock as c, unref as e, withCtx as o, createVNode as d, createTextVNode as N, createElementBlock as s, Fragment as v, renderList as k, createCommentVNode as g } from "vue";
|
|
2
|
+
import y from "../../Section/SectionContainerAccordion.vue.js";
|
|
3
|
+
import B from "../../Section/SectionHeader.vue.js";
|
|
4
|
+
import M from "../../Section/SectionAccordion.vue.js";
|
|
5
|
+
import V from "../../Anchor/Anchor.vue.js";
|
|
6
|
+
import j from "../Schema/SchemaHeading.vue.js";
|
|
7
7
|
import S from "../Schema/SchemaProperty.vue.js";
|
|
8
|
-
import { useNavState as
|
|
9
|
-
const
|
|
8
|
+
import { useNavState as H } from "../../../hooks/useNavState.js";
|
|
9
|
+
const O = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "properties"
|
|
12
|
-
},
|
|
12
|
+
}, h = { key: 1 }, D = /* @__PURE__ */ A({
|
|
13
13
|
__name: "ModelsAccordion",
|
|
14
14
|
props: {
|
|
15
15
|
schemas: {}
|
|
16
16
|
},
|
|
17
17
|
setup(b) {
|
|
18
|
-
const
|
|
19
|
-
name:
|
|
20
|
-
schema:
|
|
21
|
-
})) : []), { getModelId:
|
|
22
|
-
return (
|
|
18
|
+
const u = b, q = C(() => u.schemas ? Object.entries(u.schemas).map(([m, n]) => ({
|
|
19
|
+
name: m,
|
|
20
|
+
schema: n
|
|
21
|
+
})) : []), { getModelId: a } = H();
|
|
22
|
+
return (m, n) => u.schemas ? (t(), c(e(y), {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "reference-models"
|
|
25
25
|
}, {
|
|
26
26
|
title: o(() => [
|
|
27
|
-
|
|
28
|
-
default: o(() => [
|
|
27
|
+
d(e(B), { level: 2 }, {
|
|
28
|
+
default: o(() => n[0] || (n[0] = [
|
|
29
29
|
N("Models")
|
|
30
|
-
]),
|
|
30
|
+
])),
|
|
31
31
|
_: 1
|
|
32
32
|
})
|
|
33
33
|
]),
|
|
34
34
|
default: o(() => [
|
|
35
|
-
(t(!0),
|
|
36
|
-
id: e(
|
|
35
|
+
(t(!0), s(v, null, k(q.value, ({ name: l, schema: r }) => (t(), c(e(M), {
|
|
36
|
+
id: e(a)(l),
|
|
37
37
|
key: l,
|
|
38
38
|
label: l
|
|
39
39
|
}, {
|
|
40
40
|
title: o(() => [
|
|
41
|
-
|
|
42
|
-
id: e(
|
|
41
|
+
d(e(V), {
|
|
42
|
+
id: e(a)(l),
|
|
43
43
|
class: "reference-models-anchor"
|
|
44
44
|
}, {
|
|
45
45
|
default: o(() => [
|
|
46
|
-
|
|
46
|
+
d(e(j), {
|
|
47
47
|
class: "reference-models-label",
|
|
48
48
|
name: l,
|
|
49
49
|
value: r
|
|
@@ -53,18 +53,18 @@ const H = {
|
|
|
53
53
|
}, 1032, ["id"])
|
|
54
54
|
]),
|
|
55
55
|
default: o(() => [
|
|
56
|
-
r != null && r.properties ? (t(),
|
|
57
|
-
(t(!0),
|
|
56
|
+
r != null && r.properties ? (t(), s("div", O, [
|
|
57
|
+
(t(!0), s(v, null, k(Object.entries(r.properties), ([i, x]) => {
|
|
58
58
|
var p, f, _;
|
|
59
|
-
return t(),
|
|
60
|
-
key:
|
|
61
|
-
name:
|
|
62
|
-
required: ((p = r.required) == null ? void 0 : p.includes(
|
|
59
|
+
return t(), c(e(S), {
|
|
60
|
+
key: i,
|
|
61
|
+
name: i,
|
|
62
|
+
required: ((p = r.required) == null ? void 0 : p.includes(i)) || ((_ = (f = r.properties) == null ? void 0 : f[i]) == null ? void 0 : _.required) === !0,
|
|
63
63
|
value: x
|
|
64
64
|
}, null, 8, ["name", "required", "value"]);
|
|
65
65
|
}), 128))
|
|
66
|
-
])) : (t(),
|
|
67
|
-
|
|
66
|
+
])) : (t(), s("div", h, [
|
|
67
|
+
d(e(S), { value: r }, null, 8, ["value"])
|
|
68
68
|
]))
|
|
69
69
|
]),
|
|
70
70
|
_: 2
|
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
import type { ContentType, RequestBody } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
requestBody?: RequestBody;
|
|
4
4
|
defaultValue?: ContentType;
|
|
5
|
-
}
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
selectContentType: (payload: {
|
|
7
7
|
contentType: ContentType;
|
|
8
|
-
}) =>
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
}) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
requestBody?: RequestBody;
|
|
11
11
|
defaultValue?: ContentType;
|
|
12
|
-
}
|
|
12
|
+
}> & Readonly<{
|
|
13
13
|
onSelectContentType?: ((payload: {
|
|
14
14
|
contentType: ContentType;
|
|
15
15
|
}) => any) | undefined;
|
|
16
|
-
}, {}, {}>;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
18
|
//# sourceMappingURL=ContentTypeSelect.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentTypeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ContentTypeSelect.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;;kBAMpD,WAAW;mBACV,WAAW;;;
|
|
1
|
+
{"version":3,"file":"ContentTypeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ContentTypeSelect.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;;kBAMpD,WAAW;mBACV,WAAW;;;qBAyGuB,WAAW;;;kBA1G9C,WAAW;mBACV,WAAW;;;qBAyGuB,WAAW;;;AAP9D,wBASG"}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
operation: TransformedOperation;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
operation: TransformedOperation;
|
|
6
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
8
|
//# sourceMappingURL=EndpointDetails.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndpointDetails.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetails.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AA8JvD,wBAMG
|
|
1
|
+
{"version":3,"file":"EndpointDetails.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetails.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AA8JvD,wBAMG"}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { useResponses as
|
|
6
|
-
import { useOperation as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as y, openBlock as l, createElementBlock as B, createElementVNode as q, createVNode as t, unref as r, withCtx as o, createTextVNode as a, createBlock as k, createCommentVNode as P } from "vue";
|
|
2
|
+
import { ScalarMarkdown as v } from "@scalar/components";
|
|
3
|
+
import s from "./Parameters.vue.js";
|
|
4
|
+
import w from "./RequestBody.vue.js";
|
|
5
|
+
import { useResponses as C } from "../../../hooks/useResponses.js";
|
|
6
|
+
import { useOperation as N } from "../../../hooks/useOperation.js";
|
|
7
|
+
const V = { class: "endpoint-details" }, D = { class: "endpoint-description" }, x = /* @__PURE__ */ y({
|
|
8
8
|
__name: "EndpointDetails",
|
|
9
9
|
props: {
|
|
10
10
|
operation: {}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
return (
|
|
15
|
-
var
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
value:
|
|
12
|
+
setup(u) {
|
|
13
|
+
const n = u, { parameterMap: p } = N(n), { responses: f } = C(n.operation);
|
|
14
|
+
return (m, e) => {
|
|
15
|
+
var i, d;
|
|
16
|
+
return l(), B("div", V, [
|
|
17
|
+
q("div", D, [
|
|
18
|
+
t(r(v), {
|
|
19
|
+
value: m.operation.description,
|
|
20
20
|
withImages: ""
|
|
21
21
|
}, null, 8, ["value"])
|
|
22
22
|
]),
|
|
23
|
-
|
|
24
|
-
parameters:
|
|
23
|
+
t(s, {
|
|
24
|
+
parameters: r(p).path
|
|
25
25
|
}, {
|
|
26
|
-
title:
|
|
26
|
+
title: o(() => e[0] || (e[0] = [
|
|
27
27
|
a("Path Parameters")
|
|
28
|
-
]),
|
|
28
|
+
])),
|
|
29
29
|
_: 1
|
|
30
30
|
}, 8, ["parameters"]),
|
|
31
|
-
|
|
32
|
-
parameters:
|
|
31
|
+
t(s, {
|
|
32
|
+
parameters: r(p).query
|
|
33
33
|
}, {
|
|
34
|
-
title:
|
|
34
|
+
title: o(() => e[1] || (e[1] = [
|
|
35
35
|
a("Query Parameters")
|
|
36
|
-
]),
|
|
36
|
+
])),
|
|
37
37
|
_: 1
|
|
38
38
|
}, 8, ["parameters"]),
|
|
39
|
-
|
|
40
|
-
parameters:
|
|
39
|
+
t(s, {
|
|
40
|
+
parameters: r(p).header
|
|
41
41
|
}, {
|
|
42
|
-
title:
|
|
42
|
+
title: o(() => e[2] || (e[2] = [
|
|
43
43
|
a("Headers")
|
|
44
|
-
]),
|
|
44
|
+
])),
|
|
45
45
|
_: 1
|
|
46
46
|
}, 8, ["parameters"]),
|
|
47
|
-
|
|
48
|
-
parameters:
|
|
47
|
+
t(s, {
|
|
48
|
+
parameters: r(p).body,
|
|
49
49
|
showChildren: ""
|
|
50
50
|
}, {
|
|
51
|
-
title:
|
|
51
|
+
title: o(() => e[3] || (e[3] = [
|
|
52
52
|
a("Body Parameters")
|
|
53
|
-
]),
|
|
53
|
+
])),
|
|
54
54
|
_: 1
|
|
55
55
|
}, 8, ["parameters"]),
|
|
56
|
-
|
|
57
|
-
parameters:
|
|
56
|
+
t(s, {
|
|
57
|
+
parameters: r(p).formData
|
|
58
58
|
}, {
|
|
59
|
-
title:
|
|
59
|
+
title: o(() => e[4] || (e[4] = [
|
|
60
60
|
a("Form Data")
|
|
61
|
-
]),
|
|
61
|
+
])),
|
|
62
62
|
_: 1
|
|
63
63
|
}, 8, ["parameters"]),
|
|
64
|
-
(
|
|
64
|
+
(i = m.operation.information) != null && i.requestBody ? (l(), k(w, {
|
|
65
65
|
key: 0,
|
|
66
|
-
requestBody: (
|
|
66
|
+
requestBody: (d = m.operation.information) == null ? void 0 : d.requestBody
|
|
67
67
|
}, {
|
|
68
|
-
title:
|
|
68
|
+
title: o(() => e[5] || (e[5] = [
|
|
69
69
|
a("Body")
|
|
70
|
-
]),
|
|
70
|
+
])),
|
|
71
71
|
_: 1
|
|
72
|
-
}, 8, ["requestBody"])) :
|
|
73
|
-
|
|
72
|
+
}, 8, ["requestBody"])) : P("", !0),
|
|
73
|
+
t(s, {
|
|
74
74
|
collapsableItems: !0,
|
|
75
|
-
parameters:
|
|
75
|
+
parameters: r(f)
|
|
76
76
|
}, {
|
|
77
|
-
title:
|
|
77
|
+
title: o(() => e[6] || (e[6] = [
|
|
78
78
|
a("Responses")
|
|
79
|
-
]),
|
|
79
|
+
])),
|
|
80
80
|
_: 1
|
|
81
81
|
}, 8, ["parameters"])
|
|
82
82
|
]);
|
|
@@ -84,5 +84,5 @@ const v = { class: "endpoint-details" }, w = { class: "endpoint-description" },
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
export {
|
|
87
|
-
|
|
87
|
+
x as default
|
|
88
88
|
};
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
operation: TransformedOperation;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
operation: TransformedOperation;
|
|
6
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
8
|
//# sourceMappingURL=EndpointDetailsCard.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndpointDetailsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetailsCard.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AAqIvD,wBAMG
|
|
1
|
+
{"version":3,"file":"EndpointDetailsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetailsCard.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AAqIvD,wBAMG"}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useOperation as
|
|
5
|
-
import { useResponses as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as u, openBlock as f, createElementBlock as y, createVNode as t, unref as a, withCtx as r, createTextVNode as s } from "vue";
|
|
2
|
+
import o from "./Parameters.vue.js";
|
|
3
|
+
import B from "./RequestBody.vue.js";
|
|
4
|
+
import { useOperation as c } from "../../../hooks/useOperation.js";
|
|
5
|
+
import { useResponses as q } from "../../../hooks/useResponses.js";
|
|
6
|
+
const P = { class: "endpoint-details-card" }, N = /* @__PURE__ */ u({
|
|
7
7
|
__name: "EndpointDetailsCard",
|
|
8
8
|
props: {
|
|
9
9
|
operation: {}
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return (
|
|
14
|
-
var
|
|
15
|
-
return
|
|
16
|
-
|
|
11
|
+
setup(d) {
|
|
12
|
+
const n = d, { parameterMap: i } = c(n), { responses: m } = q(n.operation);
|
|
13
|
+
return (l, e) => {
|
|
14
|
+
var p;
|
|
15
|
+
return f(), y("div", P, [
|
|
16
|
+
t(o, {
|
|
17
17
|
class: "endpoint-details-card-item",
|
|
18
|
-
parameters: a(
|
|
18
|
+
parameters: a(i).path
|
|
19
19
|
}, {
|
|
20
|
-
title:
|
|
21
|
-
|
|
22
|
-
]),
|
|
20
|
+
title: r(() => e[0] || (e[0] = [
|
|
21
|
+
s("Path Parameters")
|
|
22
|
+
])),
|
|
23
23
|
_: 1
|
|
24
24
|
}, 8, ["parameters"]),
|
|
25
|
-
|
|
25
|
+
t(o, {
|
|
26
26
|
class: "endpoint-details-card-item",
|
|
27
|
-
parameters: a(
|
|
27
|
+
parameters: a(i).query
|
|
28
28
|
}, {
|
|
29
|
-
title:
|
|
30
|
-
|
|
31
|
-
]),
|
|
29
|
+
title: r(() => e[1] || (e[1] = [
|
|
30
|
+
s("Query Parameters")
|
|
31
|
+
])),
|
|
32
32
|
_: 1
|
|
33
33
|
}, 8, ["parameters"]),
|
|
34
|
-
|
|
34
|
+
t(o, {
|
|
35
35
|
class: "endpoint-details-card-item",
|
|
36
|
-
parameters: a(
|
|
36
|
+
parameters: a(i).header
|
|
37
37
|
}, {
|
|
38
|
-
title:
|
|
39
|
-
|
|
40
|
-
]),
|
|
38
|
+
title: r(() => e[2] || (e[2] = [
|
|
39
|
+
s("Headers")
|
|
40
|
+
])),
|
|
41
41
|
_: 1
|
|
42
42
|
}, 8, ["parameters"]),
|
|
43
|
-
|
|
43
|
+
t(B, {
|
|
44
44
|
class: "endpoint-details-card-item",
|
|
45
|
-
requestBody: (
|
|
45
|
+
requestBody: (p = l.operation.information) == null ? void 0 : p.requestBody
|
|
46
46
|
}, {
|
|
47
|
-
title:
|
|
48
|
-
|
|
49
|
-
]),
|
|
47
|
+
title: r(() => e[3] || (e[3] = [
|
|
48
|
+
s("Body")
|
|
49
|
+
])),
|
|
50
50
|
_: 1
|
|
51
51
|
}, 8, ["requestBody"]),
|
|
52
|
-
|
|
52
|
+
t(o, {
|
|
53
53
|
class: "endpoint-details-card-item",
|
|
54
|
-
parameters: a(
|
|
54
|
+
parameters: a(m)
|
|
55
55
|
}, {
|
|
56
|
-
title:
|
|
57
|
-
|
|
58
|
-
]),
|
|
56
|
+
title: r(() => e[4] || (e[4] = [
|
|
57
|
+
s("Responses")
|
|
58
|
+
])),
|
|
59
59
|
_: 1
|
|
60
60
|
}, 8, ["parameters"])
|
|
61
61
|
]);
|
|
@@ -63,5 +63,5 @@ const B = { class: "endpoint-details-card" }, k = /* @__PURE__ */ c({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
N as default
|
|
67
67
|
};
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
path: string;
|
|
3
3
|
deprecated?: boolean;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
path: string;
|
|
6
6
|
deprecated?: boolean;
|
|
7
|
-
}
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToOption<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
9
|
//# sourceMappingURL=EndpointPath.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndpointPath.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointPath.vue"],"names":[],"mappings":";UA2CQ,MAAM;iBACC,OAAO;;UADd,MAAM;iBACC,OAAO;;AA+DtB,wBAMG
|
|
1
|
+
{"version":3,"file":"EndpointPath.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointPath.vue"],"names":[],"mappings":";UA2CQ,MAAM;iBACC,OAAO;;UADd,MAAM;iBACC,OAAO;;AA+DtB,wBAMG"}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
id?: string;
|
|
4
4
|
operation: TransformedOperation;
|
|
5
|
-
}
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
6
|
id?: string;
|
|
7
7
|
operation: TransformedOperation;
|
|
8
|
-
}
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToOption<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
10
|
//# sourceMappingURL=Operation.vue.d.ts.map
|