@scalar/api-reference 1.25.102 → 1.25.104
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 +41 -0
- package/dist/blocks/constants.d.ts +9 -0
- package/dist/blocks/constants.d.ts.map +1 -0
- package/dist/blocks/constants.js +8 -0
- package/dist/blocks/helpers/getPointer.d.ts +22 -0
- package/dist/blocks/helpers/getPointer.d.ts.map +1 -0
- package/dist/blocks/helpers/getPointer.js +12 -0
- package/dist/blocks/hooks/useBlockProps.d.ts +32 -0
- package/dist/blocks/hooks/useBlockProps.d.ts.map +1 -0
- package/dist/blocks/hooks/useBlockProps.js +28 -0
- package/dist/browser/standalone.js +12846 -12739
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.js +31 -31
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +2 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
- package/dist/components/Content/Introduction/Introduction.vue2.js +84 -70
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +2 -0
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +118 -111
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +91 -77
- package/dist/components/Content/Schema/helpers/formatExample.d.ts +5 -0
- package/dist/components/Content/Schema/helpers/formatExample.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/formatExample.js +6 -0
- package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts +9 -0
- package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.js +20 -0
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.js +30 -27
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +55 -50
- package/dist/features/ApiClientModal/useApiClient.d.ts +336 -254
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.js +2 -2
- package/dist/features/DownloadLink/DownloadLink.vue2.js +10 -3
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +37 -26
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +8 -7
- package/dist/features/Operation/components/ParameterList.vue.d.ts +2 -0
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.js +2 -2
- package/dist/features/Operation/components/ParameterList.vue2.js +18 -16
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts +2 -0
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue2.js +27 -25
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +3 -0
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +108 -101
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +3 -0
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +54 -50
- package/dist/helpers/get-request.d.ts +2 -0
- package/dist/helpers/get-request.d.ts.map +1 -1
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +88 -68
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +79 -83
- package/dist/style.css +1 -1
- package/package.json +11 -12
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +0 -10
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +0 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +0 -7
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue2.js +0 -30
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +0 -11
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +0 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.js +0 -7
- package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +0 -31
- package/dist/components/DarkModeToggle/index.d.ts +0 -3
- package/dist/components/DarkModeToggle/index.d.ts.map +0 -1
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +0 -10
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +0 -1
- package/dist/embeds/ExampleRequest/index.d.ts +0 -2
- package/dist/embeds/ExampleRequest/index.d.ts.map +0 -1
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts +0 -7
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +0 -1
- package/dist/embeds/ExampleResponses/index.d.ts +0 -2
- package/dist/embeds/ExampleResponses/index.d.ts.map +0 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +0 -782
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +0 -1
- package/dist/embeds/OpenApiDocument/index.d.ts +0 -3
- package/dist/embeds/OpenApiDocument/index.d.ts.map +0 -1
- package/dist/embeds/OpenApiDocument/types.d.ts +0 -3
- package/dist/embeds/OpenApiDocument/types.d.ts.map +0 -1
- package/dist/embeds/index.d.ts +0 -4
- package/dist/embeds/index.d.ts.map +0 -1
|
@@ -1,120 +1,127 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, inject as f, openBlock as a, createBlock as s, unref as o, createSlots as h, withCtx as r, createElementVNode as t, createVNode as i, toDisplayString as _, createCommentVNode as y, withModifiers as v } from "vue";
|
|
2
2
|
import C from "../../../components/OperationPath.vue.js";
|
|
3
|
-
import { ScalarIcon as
|
|
4
|
-
import { useClipboard as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { ScalarIcon as q, ScalarIconButton as E, ScalarMarkdown as b } from "@scalar/components";
|
|
4
|
+
import { useClipboard as S } from "@scalar/use-hooks/useClipboard";
|
|
5
|
+
import k from "../components/OperationParameters.vue.js";
|
|
6
|
+
import T from "../components/OperationResponses.vue.js";
|
|
7
7
|
import B from "../../../components/Section/SectionAccordion.vue.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as
|
|
14
|
-
const
|
|
8
|
+
import R from "../../../components/HttpMethod/HttpMethod.vue.js";
|
|
9
|
+
import I from "../../../components/Anchor/Anchor.vue.js";
|
|
10
|
+
import g from "../../TestRequestButton/TestRequestButton.vue.js";
|
|
11
|
+
import w from "../../ExampleResponses/ExampleResponses.vue.js";
|
|
12
|
+
import N from "../../ExampleRequest/ExampleRequest.vue.js";
|
|
13
|
+
import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as V } from "../../../helpers/provideSymbols.js";
|
|
14
|
+
const $ = { class: "operation-title" }, L = { class: "operation-details" }, M = { class: "endpoint-label" }, O = { class: "endpoint-label-path" }, U = { class: "endpoint-label-name" }, A = { class: "endpoint-content" }, D = { class: "operation-details-card" }, H = { class: "operation-details-card-item" }, P = { class: "operation-details-card-item" }, ie = /* @__PURE__ */ u({
|
|
15
15
|
__name: "ClassicLayout",
|
|
16
16
|
props: {
|
|
17
17
|
id: {},
|
|
18
|
+
requestEntity: {},
|
|
18
19
|
operation: {},
|
|
19
20
|
request: {},
|
|
20
21
|
secretCredentials: {}
|
|
21
22
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const { copyToClipboard:
|
|
24
|
-
return (e, p) =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
setup(j) {
|
|
24
|
+
const { copyToClipboard: c } = S(), m = f(V);
|
|
25
|
+
return (e, p) => {
|
|
26
|
+
var l;
|
|
27
|
+
return a(), s(o(B), {
|
|
28
|
+
id: e.id,
|
|
29
|
+
class: "reference-endpoint",
|
|
30
|
+
transparent: ""
|
|
31
|
+
}, h({
|
|
32
|
+
title: r(() => [
|
|
33
|
+
t("h3", $, [
|
|
34
|
+
t("div", L, [
|
|
35
|
+
i(o(R), {
|
|
36
|
+
class: "endpoint-type",
|
|
37
|
+
method: e.operation.httpVerb,
|
|
38
|
+
short: ""
|
|
39
|
+
}, null, 8, ["method"]),
|
|
40
|
+
i(o(I), {
|
|
41
|
+
id: e.id ?? "",
|
|
42
|
+
class: "endpoint-anchor"
|
|
43
|
+
}, {
|
|
44
|
+
default: r(() => {
|
|
45
|
+
var n;
|
|
46
|
+
return [
|
|
45
47
|
t("div", M, [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
48
|
+
t("div", O, [
|
|
49
|
+
i(C, {
|
|
50
|
+
deprecated: (n = e.operation.information) == null ? void 0 : n.deprecated,
|
|
51
|
+
path: e.operation.path
|
|
52
|
+
}, null, 8, ["deprecated", "path"])
|
|
53
|
+
]),
|
|
54
|
+
t("div", U, _(e.operation.name), 1)
|
|
55
|
+
])
|
|
56
|
+
];
|
|
57
|
+
}),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["id"])
|
|
60
|
+
])
|
|
57
61
|
])
|
|
58
|
-
])
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
operation:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
default: n(() => [
|
|
83
|
-
t("div", U, [
|
|
62
|
+
]),
|
|
63
|
+
actions: r(({ active: n }) => {
|
|
64
|
+
var d;
|
|
65
|
+
return [
|
|
66
|
+
n ? (a(), s(o(g), {
|
|
67
|
+
key: 0,
|
|
68
|
+
operation: e.operation
|
|
69
|
+
}, null, 8, ["operation"])) : (d = o(m)) != null && d() ? y("", !0) : (a(), s(o(q), {
|
|
70
|
+
key: 1,
|
|
71
|
+
class: "endpoint-try-hint",
|
|
72
|
+
icon: "Play",
|
|
73
|
+
thickness: "1.75px"
|
|
74
|
+
})),
|
|
75
|
+
i(o(E), {
|
|
76
|
+
class: "endpoint-copy",
|
|
77
|
+
icon: "Clipboard",
|
|
78
|
+
label: "Copy endpoint URL",
|
|
79
|
+
size: "xs",
|
|
80
|
+
variant: "ghost",
|
|
81
|
+
onClick: p[0] || (p[0] = v((z) => o(c)(e.operation.path), ["stop"]))
|
|
82
|
+
})
|
|
83
|
+
];
|
|
84
|
+
}),
|
|
85
|
+
default: r(() => [
|
|
84
86
|
t("div", A, [
|
|
85
87
|
t("div", D, [
|
|
86
|
-
|
|
88
|
+
t("div", H, [
|
|
89
|
+
i(k, { operation: e.operation }, null, 8, ["operation"])
|
|
90
|
+
]),
|
|
91
|
+
t("div", P, [
|
|
92
|
+
i(T, {
|
|
93
|
+
collapsableItems: !1,
|
|
94
|
+
operation: e.operation
|
|
95
|
+
}, null, 8, ["operation"])
|
|
96
|
+
])
|
|
87
97
|
]),
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
])
|
|
94
|
-
])
|
|
95
|
-
i(o(g), { operation: e.operation }, null, 8, ["operation"]),
|
|
96
|
-
i(o(w), {
|
|
97
|
-
operation: e.operation,
|
|
98
|
-
request: e.request,
|
|
99
|
-
secretCredentials: e.secretCredentials
|
|
100
|
-
}, null, 8, ["operation", "request", "secretCredentials"])
|
|
101
|
-
])
|
|
102
|
-
]),
|
|
103
|
-
_: 2
|
|
104
|
-
}, [
|
|
105
|
-
e.operation.description ? {
|
|
106
|
-
name: "description",
|
|
107
|
-
fn: n(() => [
|
|
108
|
-
i(o(S), {
|
|
109
|
-
value: e.operation.description,
|
|
110
|
-
withImages: ""
|
|
111
|
-
}, null, 8, ["value"])
|
|
98
|
+
i(o(w), { operation: e.operation }, null, 8, ["operation"]),
|
|
99
|
+
i(o(N), {
|
|
100
|
+
operation: e.operation,
|
|
101
|
+
request: e.request,
|
|
102
|
+
secretCredentials: e.secretCredentials
|
|
103
|
+
}, null, 8, ["operation", "request", "secretCredentials"])
|
|
104
|
+
])
|
|
112
105
|
]),
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
106
|
+
_: 2
|
|
107
|
+
}, [
|
|
108
|
+
(l = e.requestEntity) != null && l.description ? {
|
|
109
|
+
name: "description",
|
|
110
|
+
fn: r(() => {
|
|
111
|
+
var n;
|
|
112
|
+
return [
|
|
113
|
+
i(o(b), {
|
|
114
|
+
value: (n = e.requestEntity) == null ? void 0 : n.description,
|
|
115
|
+
withImages: ""
|
|
116
|
+
}, null, 8, ["value"])
|
|
117
|
+
];
|
|
118
|
+
}),
|
|
119
|
+
key: "0"
|
|
120
|
+
} : void 0
|
|
121
|
+
]), 1032, ["id"]);
|
|
122
|
+
};
|
|
116
123
|
}
|
|
117
124
|
});
|
|
118
125
|
export {
|
|
119
|
-
|
|
126
|
+
ie as default
|
|
120
127
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { Request as RequestEntity } from '@scalar/oas-utils/entities/spec';
|
|
1
2
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
id?: string;
|
|
5
|
+
/** @deprecated Use `requestEntity` instead */
|
|
4
6
|
operation: TransformedOperation;
|
|
7
|
+
requestEntity?: RequestEntity;
|
|
5
8
|
request: Request | null;
|
|
6
9
|
secretCredentials: string[];
|
|
7
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,8CAA8C;IAC9C,SAAS,EAAE,oBAAoB,CAAA;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAC5B,CAAC;;AAoNF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModernLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b2b61fd3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as d, createBlock as m, unref as
|
|
2
|
-
import
|
|
3
|
-
import { ScalarMarkdown as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
1
|
+
import { defineComponent as c, openBlock as d, createBlock as m, unref as t, withCtx as r, createVNode as o, createTextVNode as s, createCommentVNode as C, createElementVNode as n, normalizeClass as h, toDisplayString as _ } from "vue";
|
|
2
|
+
import q from "../../../components/OperationPath.vue.js";
|
|
3
|
+
import { ScalarMarkdown as S, ScalarErrorBoundary as u } from "@scalar/components";
|
|
4
|
+
import y from "../components/OperationParameters.vue.js";
|
|
5
|
+
import v from "../components/OperationResponses.vue.js";
|
|
6
|
+
import E from "../../../components/Section/Section.vue.js";
|
|
7
|
+
import k from "../../../components/Section/SectionContent.vue.js";
|
|
8
|
+
import B from "../../../components/Badge/Badge.vue.js";
|
|
9
|
+
import g from "../../../components/Section/SectionHeader.vue.js";
|
|
10
10
|
import N from "../../../components/Anchor/Anchor.vue.js";
|
|
11
11
|
import V from "../../../components/Section/SectionColumns.vue.js";
|
|
12
12
|
import f from "../../../components/Section/SectionColumn.vue.js";
|
|
@@ -18,34 +18,35 @@ const D = { class: "operation-details" }, M = { class: "examples" }, W = /* @__P
|
|
|
18
18
|
props: {
|
|
19
19
|
id: {},
|
|
20
20
|
operation: {},
|
|
21
|
+
requestEntity: {},
|
|
21
22
|
request: {},
|
|
22
23
|
secretCredentials: {}
|
|
23
24
|
},
|
|
24
25
|
setup(T) {
|
|
25
|
-
return (e,
|
|
26
|
+
return (e, i) => (d(), m(t(E), {
|
|
26
27
|
id: e.id,
|
|
27
28
|
label: e.operation.name
|
|
28
29
|
}, {
|
|
29
|
-
default:
|
|
30
|
-
o(
|
|
31
|
-
default:
|
|
32
|
-
var
|
|
30
|
+
default: r(() => [
|
|
31
|
+
o(t(k), null, {
|
|
32
|
+
default: r(() => {
|
|
33
|
+
var l, p;
|
|
33
34
|
return [
|
|
34
|
-
(
|
|
35
|
-
default:
|
|
35
|
+
(l = e.operation.information) != null && l.deprecated ? (d(), m(t(B), { key: 0 }, {
|
|
36
|
+
default: r(() => i[0] || (i[0] = [
|
|
36
37
|
s(" Deprecated ")
|
|
37
38
|
])),
|
|
38
39
|
_: 1
|
|
39
40
|
})) : C("", !0),
|
|
40
|
-
|
|
41
|
-
class: h((
|
|
41
|
+
n("div", {
|
|
42
|
+
class: h((p = e.operation.information) != null && p.deprecated ? "deprecated" : "")
|
|
42
43
|
}, [
|
|
43
|
-
o(
|
|
44
|
-
default:
|
|
45
|
-
o(
|
|
44
|
+
o(t(g), { level: 3 }, {
|
|
45
|
+
default: r(() => [
|
|
46
|
+
o(t(N), {
|
|
46
47
|
id: e.id ?? ""
|
|
47
48
|
}, {
|
|
48
|
-
default:
|
|
49
|
+
default: r(() => [
|
|
49
50
|
s(_(e.operation.name), 1)
|
|
50
51
|
]),
|
|
51
52
|
_: 1
|
|
@@ -54,53 +55,56 @@ const D = { class: "operation-details" }, M = { class: "examples" }, W = /* @__P
|
|
|
54
55
|
_: 1
|
|
55
56
|
})
|
|
56
57
|
], 2),
|
|
57
|
-
o(
|
|
58
|
-
default:
|
|
59
|
-
o(
|
|
60
|
-
default:
|
|
61
|
-
a
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
58
|
+
o(t(V), null, {
|
|
59
|
+
default: r(() => [
|
|
60
|
+
o(t(f), null, {
|
|
61
|
+
default: r(() => {
|
|
62
|
+
var a;
|
|
63
|
+
return [
|
|
64
|
+
n("div", D, [
|
|
65
|
+
o(t(S), {
|
|
66
|
+
value: (a = e.requestEntity) == null ? void 0 : a.description,
|
|
67
|
+
withImages: ""
|
|
68
|
+
}, null, 8, ["value"]),
|
|
69
|
+
o(y, { operation: e.operation }, null, 8, ["operation"]),
|
|
70
|
+
o(v, { operation: e.operation }, null, 8, ["operation"])
|
|
71
|
+
])
|
|
72
|
+
];
|
|
73
|
+
}),
|
|
70
74
|
_: 1
|
|
71
75
|
}),
|
|
72
|
-
o(
|
|
73
|
-
default:
|
|
74
|
-
|
|
75
|
-
o(
|
|
76
|
-
default:
|
|
77
|
-
o(
|
|
76
|
+
o(t(f), null, {
|
|
77
|
+
default: r(() => [
|
|
78
|
+
n("div", M, [
|
|
79
|
+
o(t(u), null, {
|
|
80
|
+
default: r(() => [
|
|
81
|
+
o(t(b), {
|
|
78
82
|
fallback: "",
|
|
79
83
|
operation: e.operation,
|
|
80
84
|
request: e.request,
|
|
81
85
|
secretCredentials: e.secretCredentials
|
|
82
86
|
}, {
|
|
83
|
-
header:
|
|
84
|
-
var
|
|
87
|
+
header: r(() => {
|
|
88
|
+
var a;
|
|
85
89
|
return [
|
|
86
|
-
o(
|
|
90
|
+
o(q, {
|
|
87
91
|
class: "example-path",
|
|
88
|
-
deprecated: (
|
|
92
|
+
deprecated: (a = e.operation.information) == null ? void 0 : a.deprecated,
|
|
89
93
|
path: e.operation.path
|
|
90
94
|
}, null, 8, ["deprecated", "path"])
|
|
91
95
|
];
|
|
92
96
|
}),
|
|
93
|
-
footer:
|
|
94
|
-
o(
|
|
97
|
+
footer: r(() => [
|
|
98
|
+
o(t(w), { operation: e.operation }, null, 8, ["operation"])
|
|
95
99
|
]),
|
|
96
100
|
_: 1
|
|
97
101
|
}, 8, ["operation", "request", "secretCredentials"])
|
|
98
102
|
]),
|
|
99
103
|
_: 1
|
|
100
104
|
}),
|
|
101
|
-
o(
|
|
102
|
-
default:
|
|
103
|
-
o(
|
|
105
|
+
o(t(u), null, {
|
|
106
|
+
default: r(() => [
|
|
107
|
+
o(t(R), {
|
|
104
108
|
operation: e.operation,
|
|
105
109
|
style: { "margin-top": "12px" }
|
|
106
110
|
}, null, 8, ["operation"])
|
|
@@ -15,6 +15,8 @@ export declare const getRequest: (requests: WorkspaceStore["requests"], path: st
|
|
|
15
15
|
url: string;
|
|
16
16
|
description?: string | undefined;
|
|
17
17
|
} | undefined;
|
|
18
|
+
'x-internal'?: boolean | undefined;
|
|
19
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
18
20
|
security?: Record<string, string[]>[] | undefined;
|
|
19
21
|
tags?: string[] | undefined;
|
|
20
22
|
deprecated?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-request.d.ts","sourceRoot":"","sources":["../../src/helpers/get-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,6CAA6C;AAC7C,eAAO,MAAM,UAAU,aACX,cAAc,CAAC,UAAU,CAAC,QAC9B,MAAM,UACJ,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-request.d.ts","sourceRoot":"","sources":["../../src/helpers/get-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,6CAA6C;AAC7C,eAAO,MAAM,UAAU,aACX,cAAc,CAAC,UAAU,CAAC,QAC9B,MAAM,UACJ,MAAM;;;;;;;;;;;;;mBAKmqT,CAAC;;;;;;;;;;;;;mBAA8f,CAAC;eAAyC,CAAC;cAA6B,CAAC;eAA8B,CAAC;aAA4B,CAAC;gBAA8H,CAAC;iBAAwC,CAAC;mBAAkC,CAAC;;;;;aAD//U,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD;;;;GAIG;AACH,eAAO,MAAM,KAAK,kBACD,aAAa,GAAG,MAAM,GAAG,SAAS,kBAG9C;IACD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,KACA,OAAO,CAAC,IAAI,CA0Dd,CAAA"}
|