@scalar/api-reference 1.25.119 → 1.25.120
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 +11 -0
- package/dist/browser/standalone.js +33 -31
- package/dist/browser/webpack-stats.json +1 -1
- 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 +66 -70
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
- package/dist/features/Operation/components/ParameterListItem.vue2.js +49 -43
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAsfA;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;;cANW,OAAO;WAFV,MAAM;aAGJ,OAAO;kBAIF,OAAO;;AA0b1B,0BAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaProperty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f5c211dc"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as Y, computed as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
1
|
+
import { defineComponent as Y, computed as f, openBlock as l, createElementBlock as a, normalizeClass as G, createVNode as i, createSlots as ee, withCtx as h, createTextVNode as b, toDisplayString as u, unref as s, createCommentVNode as n, createElementVNode as v, Fragment as p, renderList as m, createBlock as k } from "vue";
|
|
2
|
+
import { Disclosure as te, DisclosurePanel as le, DisclosureButton as ae } from "@headlessui/vue";
|
|
3
|
+
import { ScalarMarkdown as _, ScalarIcon as oe } from "@scalar/components";
|
|
4
|
+
import { formatExample as re } from "./helpers/formatExample.js";
|
|
5
|
+
import { optimizeValueForDisplay as se, discriminators as J } from "./helpers/optimizeValueForDisplay.js";
|
|
6
|
+
import g from "./Schema.vue.js";
|
|
7
7
|
import ne from "./SchemaPropertyHeading.vue.js";
|
|
8
8
|
const ie = {
|
|
9
9
|
key: 0,
|
|
@@ -52,7 +52,7 @@ const ie = {
|
|
|
52
52
|
withExamples: { type: Boolean, default: !0 }
|
|
53
53
|
},
|
|
54
54
|
setup(K) {
|
|
55
|
-
const Q = K,
|
|
55
|
+
const Q = K, x = {
|
|
56
56
|
integer: {
|
|
57
57
|
_default: "Integer numbers.",
|
|
58
58
|
int32: "Signed 32-bit integers (commonly used integer type).",
|
|
@@ -65,21 +65,17 @@ const ie = {
|
|
|
65
65
|
byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
|
|
66
66
|
binary: "binary data, used to describe files"
|
|
67
67
|
}
|
|
68
|
-
}, j =
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}, d = function(t) {
|
|
73
|
-
var o;
|
|
74
|
-
return (t == null ? void 0 : t.enum) || ((o = t == null ? void 0 : t.items) == null ? void 0 : o.enum) || [];
|
|
75
|
-
}, S = h(
|
|
68
|
+
}, E = (t, r) => r != null && r.properties || r != null && r.additionalProperties || r != null && r.patternProperties ? null : t || (r == null ? void 0 : r.description) || null, j = (t) => !t || !x[t.type] ? null : x[t.type][t.format || "_default"], d = (t) => {
|
|
69
|
+
var r;
|
|
70
|
+
return (t == null ? void 0 : t.enum) || ((r = t == null ? void 0 : t.items) == null ? void 0 : r.enum) || [];
|
|
71
|
+
}, B = f(
|
|
76
72
|
() => d(e.value).length > 9
|
|
77
|
-
),
|
|
78
|
-
() => d(e.value).slice(0,
|
|
79
|
-
), X =
|
|
80
|
-
() => d(e.value).slice(
|
|
81
|
-
), e =
|
|
82
|
-
return (t,
|
|
73
|
+
), S = f(() => B.value ? 5 : 9), W = f(
|
|
74
|
+
() => d(e.value).slice(0, S.value)
|
|
75
|
+
), X = f(
|
|
76
|
+
() => d(e.value).slice(S.value)
|
|
77
|
+
), e = f(() => se(Q.value)), D = J.find((t) => !e.value || typeof e.value != "object" ? !1 : t in e.value || e.value.items && typeof e.value.items == "object" && t in e.value.items);
|
|
78
|
+
return (t, r) => {
|
|
83
79
|
var w, A, C, P, F, N, V, q, z, I, L, T, H, O, R, U;
|
|
84
80
|
return l(), a("div", {
|
|
85
81
|
class: G(["property", [
|
|
@@ -99,65 +95,65 @@ const ie = {
|
|
|
99
95
|
}, ee({ _: 2 }, [
|
|
100
96
|
t.name ? {
|
|
101
97
|
name: "name",
|
|
102
|
-
fn:
|
|
103
|
-
|
|
98
|
+
fn: h(() => [
|
|
99
|
+
b(u(t.name), 1)
|
|
104
100
|
]),
|
|
105
101
|
key: "0"
|
|
106
102
|
} : void 0,
|
|
107
103
|
(A = e.value) != null && A.example ? {
|
|
108
104
|
name: "example",
|
|
109
|
-
fn:
|
|
110
|
-
|
|
105
|
+
fn: h(() => [
|
|
106
|
+
b(" Example: " + u(e.value.example), 1)
|
|
111
107
|
]),
|
|
112
108
|
key: "1"
|
|
113
109
|
} : void 0
|
|
114
110
|
]), 1032, ["additional", "enum", "pattern", "required", "value"]),
|
|
115
|
-
|
|
116
|
-
i(s(
|
|
117
|
-
value:
|
|
111
|
+
E(t.description, e.value) ? (l(), a("div", ie, [
|
|
112
|
+
i(s(_), {
|
|
113
|
+
value: E(t.description, e.value)
|
|
118
114
|
}, null, 8, ["value"])
|
|
119
|
-
])) :
|
|
120
|
-
i(s(
|
|
121
|
-
value:
|
|
115
|
+
])) : j(e.value) ? (l(), a("div", ue, [
|
|
116
|
+
i(s(_), {
|
|
117
|
+
value: j(e.value) || ""
|
|
122
118
|
}, null, 8, ["value"])
|
|
123
119
|
])) : n("", !0),
|
|
124
120
|
t.withExamples && ((C = e.value) != null && C.example || (F = (P = e.value) == null ? void 0 : P.items) != null && F.example) ? (l(), a("div", pe, [
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
((N = e.value) == null ? void 0 : N.example) || s(
|
|
121
|
+
r[0] || (r[0] = v("span", { class: "property-example-label" }, "Example", -1)),
|
|
122
|
+
v("code", ce, u(s(re)(
|
|
123
|
+
((N = e.value) == null ? void 0 : N.example) || s(D) && ((V = e.value) == null ? void 0 : V.items) && typeof e.value.items == "object" && e.value.items[s(D)]
|
|
128
124
|
)), 1)
|
|
129
125
|
])) : n("", !0),
|
|
130
126
|
(q = e.value) != null && q.examples && typeof e.value.examples == "object" && Object.keys(e.value.examples).length > 0 ? (l(), a("div", me, [
|
|
131
|
-
|
|
132
|
-
(l(!0), a(p, null, m(e.value.examples, (
|
|
127
|
+
v("span", de, u(Object.keys(e.value.examples).length === 1 ? "Example" : "Examples"), 1),
|
|
128
|
+
(l(!0), a(p, null, m(e.value.examples, (o, c) => (l(), a("code", {
|
|
133
129
|
key: c,
|
|
134
130
|
class: "property-example-value"
|
|
135
|
-
}, u(
|
|
131
|
+
}, u(o), 1))), 128))
|
|
136
132
|
])) : n("", !0),
|
|
137
133
|
((z = d(e.value)) == null ? void 0 : z.length) > 0 ? (l(), a("div", ve, [
|
|
138
134
|
Array.isArray((I = e.value) == null ? void 0 : I["x-enumDescriptions"]) ? (l(), a("div", ye, [
|
|
139
|
-
(l(!0), a(p, null, m(d(e.value), (
|
|
140
|
-
key:
|
|
135
|
+
(l(!0), a(p, null, m(d(e.value), (o) => (l(), a("div", {
|
|
136
|
+
key: o,
|
|
141
137
|
class: "property"
|
|
142
138
|
}, [
|
|
143
|
-
|
|
144
|
-
|
|
139
|
+
v("div", fe, [
|
|
140
|
+
v("div", he, u(o), 1)
|
|
145
141
|
]),
|
|
146
|
-
|
|
147
|
-
i(s(
|
|
148
|
-
value: e.value["x-enumDescriptions"][
|
|
142
|
+
v("div", ge, [
|
|
143
|
+
i(s(_), {
|
|
144
|
+
value: e.value["x-enumDescriptions"][o]
|
|
149
145
|
}, null, 8, ["value"])
|
|
150
146
|
])
|
|
151
147
|
]))), 128))
|
|
152
148
|
])) : (l(), a("ul", be, [
|
|
153
|
-
(l(!0), a(p, null, m(W.value, (
|
|
154
|
-
key:
|
|
149
|
+
(l(!0), a(p, null, m(W.value, (o) => (l(), a("li", {
|
|
150
|
+
key: o,
|
|
155
151
|
class: "property-enum-value"
|
|
156
|
-
}, u(
|
|
157
|
-
|
|
158
|
-
default:
|
|
159
|
-
i(s(
|
|
160
|
-
default:
|
|
152
|
+
}, u(o), 1))), 128)),
|
|
153
|
+
B.value ? (l(), k(s(te), { key: 0 }, {
|
|
154
|
+
default: h(({ open: o }) => [
|
|
155
|
+
i(s(le), null, {
|
|
156
|
+
default: h(() => [
|
|
161
157
|
(l(!0), a(p, null, m(X.value, (c) => (l(), a("li", {
|
|
162
158
|
key: c,
|
|
163
159
|
class: "property-enum-value"
|
|
@@ -165,14 +161,14 @@ const ie = {
|
|
|
165
161
|
]),
|
|
166
162
|
_: 1
|
|
167
163
|
}),
|
|
168
|
-
i(s(
|
|
169
|
-
default:
|
|
170
|
-
i(s(
|
|
171
|
-
class: G(["enum-toggle-button-icon", { "enum-toggle-button-icon--open":
|
|
164
|
+
i(s(ae), { class: "enum-toggle-button" }, {
|
|
165
|
+
default: h(() => [
|
|
166
|
+
i(s(oe), {
|
|
167
|
+
class: G(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": o }]),
|
|
172
168
|
icon: "Add",
|
|
173
169
|
size: "sm"
|
|
174
170
|
}, null, 8, ["class"]),
|
|
175
|
-
|
|
171
|
+
b(" " + u(o ? "Hide values" : "Show all values"), 1)
|
|
176
172
|
]),
|
|
177
173
|
_: 2
|
|
178
174
|
}, 1024)
|
|
@@ -182,7 +178,7 @@ const ie = {
|
|
|
182
178
|
]))
|
|
183
179
|
])) : n("", !0),
|
|
184
180
|
((L = e.value) == null ? void 0 : L.type) === "object" && ((T = e.value) != null && T.properties || (H = e.value) != null && H.additionalProperties) ? (l(), a("div", ke, [
|
|
185
|
-
i(
|
|
181
|
+
i(g, {
|
|
186
182
|
compact: t.compact,
|
|
187
183
|
level: t.level + 1,
|
|
188
184
|
value: e.value
|
|
@@ -190,34 +186,34 @@ const ie = {
|
|
|
190
186
|
])) : n("", !0),
|
|
191
187
|
(O = e.value) != null && O.items && typeof e.value.items == "object" && "type" in e.value.items && typeof e.value.items.type == "string" ? (l(), a(p, { key: 6 }, [
|
|
192
188
|
["object"].includes((U = (R = e.value) == null ? void 0 : R.items) == null ? void 0 : U.type) ? (l(), a("div", _e, [
|
|
193
|
-
i(
|
|
189
|
+
i(g, {
|
|
194
190
|
compact: t.compact,
|
|
195
191
|
level: t.level + 1,
|
|
196
192
|
value: e.value.items
|
|
197
193
|
}, null, 8, ["compact", "level", "value"])
|
|
198
194
|
])) : n("", !0)
|
|
199
195
|
], 64)) : n("", !0),
|
|
200
|
-
(l(!0), a(p, null, m(s(J), (
|
|
196
|
+
(l(!0), a(p, null, m(s(J), (o) => {
|
|
201
197
|
var c, Z;
|
|
202
|
-
return l(), a(p, { key:
|
|
203
|
-
(c = e.value) != null && c[
|
|
204
|
-
(l(!0), a(p, null, m(e.value[
|
|
198
|
+
return l(), a(p, { key: o }, [
|
|
199
|
+
(c = e.value) != null && c[o] ? (l(), a("div", xe, [
|
|
200
|
+
(l(!0), a(p, null, m(e.value[o], (y) => {
|
|
205
201
|
var M, $;
|
|
206
|
-
return l(),
|
|
207
|
-
key:
|
|
202
|
+
return l(), k(g, {
|
|
203
|
+
key: y.id,
|
|
208
204
|
compact: t.compact,
|
|
209
205
|
level: t.level + 1,
|
|
210
|
-
noncollapsible: Array.isArray((M = e.value) == null ? void 0 : M[
|
|
211
|
-
value:
|
|
206
|
+
noncollapsible: Array.isArray((M = e.value) == null ? void 0 : M[o]) && (($ = e.value) == null ? void 0 : $[o].length) === 1,
|
|
207
|
+
value: y
|
|
212
208
|
}, null, 8, ["compact", "level", "noncollapsible", "value"]);
|
|
213
209
|
}), 128))
|
|
214
210
|
])) : n("", !0),
|
|
215
|
-
(Z = e.value) != null && Z.items && typeof
|
|
216
|
-
(l(!0), a(p, null, m(e.value.items[
|
|
217
|
-
key:
|
|
211
|
+
(Z = e.value) != null && Z.items && typeof o == "string" && typeof e.value.items == "object" && o in e.value.items && Array.isArray(e.value.items[o]) && t.level < 3 ? (l(), a("div", Ee, [
|
|
212
|
+
(l(!0), a(p, null, m(e.value.items[o], (y) => (l(), k(g, {
|
|
213
|
+
key: y.id,
|
|
218
214
|
compact: t.compact,
|
|
219
215
|
level: t.level + 1,
|
|
220
|
-
value:
|
|
216
|
+
value: y
|
|
221
217
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
222
218
|
])) : n("", !0)
|
|
223
219
|
], 64);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParameterListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/ParameterListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ParameterListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/ParameterListItem.vue"],"names":[],"mappings":"AAwPA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAY/E,KAAK,WAAW,GAAG;IACf,SAAS,EACL,WAAW,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,GAChD,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;;kBADe,OAAO;kBAFP,OAAO;sBACH,OAAO;;AAuQ9B,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./ParameterListItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const a = /* @__PURE__ */ e(t, [["__scopeId", "data-v-e1efed5d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as w, computed as c, ref as B, openBlock as
|
|
2
|
-
import b from "
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { defineComponent as w, computed as c, ref as B, openBlock as n, createElementBlock as S, createVNode as o, unref as t, withCtx as p, createBlock as i, normalizeClass as g, createTextVNode as E, toDisplayString as y, createElementVNode as d, createCommentVNode as l } from "vue";
|
|
2
|
+
import { Disclosure as b, DisclosureButton as V, DisclosurePanel as q } from "@headlessui/vue";
|
|
3
|
+
import { ScalarIcon as D, ScalarMarkdown as P } from "@scalar/components";
|
|
4
|
+
import T from "../../../components/ScreenReader.vue.js";
|
|
5
|
+
import I from "./ContentTypeSelect.vue.js";
|
|
6
|
+
import N from "./ParameterHeaders.vue.js";
|
|
7
|
+
import j from "../../../components/Content/Schema/SchemaProperty.vue.js";
|
|
8
8
|
const _ = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "parameter-item"
|
|
11
|
-
},
|
|
11
|
+
}, O = { class: "parameter-item-name" }, R = { class: "parameter-item-type" }, z = { class: "absolute right-0" }, K = /* @__PURE__ */ w({
|
|
12
12
|
__name: "ParameterListItem",
|
|
13
13
|
props: {
|
|
14
14
|
parameter: {},
|
|
@@ -17,62 +17,68 @@ const _ = {
|
|
|
17
17
|
withExamples: { type: Boolean, default: !0 }
|
|
18
18
|
},
|
|
19
19
|
setup(v) {
|
|
20
|
-
const
|
|
21
|
-
|
|
20
|
+
const a = v, k = c(() => a.parameter.content ? Object.keys(a.parameter.content) : []), s = B(
|
|
21
|
+
k.value[0]
|
|
22
22
|
);
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
return (e,
|
|
26
|
-
|
|
27
|
-
default:
|
|
28
|
-
|
|
23
|
+
a.parameter.content && "application/json" in a.parameter.content && (s.value = "application/json");
|
|
24
|
+
const r = c(() => !!(a.collapsableItems && a.parameter.content)), C = c(() => a.parameter.readOnly !== !0);
|
|
25
|
+
return (e, f) => C.value ? (n(), S("li", _, [
|
|
26
|
+
o(t(b), null, {
|
|
27
|
+
default: p(({ open: u }) => [
|
|
28
|
+
r.value ? (n(), i(t(V), {
|
|
29
29
|
key: 0,
|
|
30
|
-
class:
|
|
30
|
+
class: g(["parameter-item-trigger flex", { "parameter-item-trigger-open": u }])
|
|
31
31
|
}, {
|
|
32
|
-
default:
|
|
33
|
-
|
|
32
|
+
default: p(() => [
|
|
33
|
+
o(t(D), {
|
|
34
34
|
class: "parameter-item-icon",
|
|
35
|
-
icon:
|
|
35
|
+
icon: u ? "ChevronDown" : "ChevronRight",
|
|
36
36
|
thickness: "1.5"
|
|
37
37
|
}, null, 8, ["icon"]),
|
|
38
|
-
|
|
39
|
-
default:
|
|
40
|
-
|
|
38
|
+
o(T, null, {
|
|
39
|
+
default: p(() => [
|
|
40
|
+
E(y(u ? "Collapse" : "Expand"), 1)
|
|
41
41
|
]),
|
|
42
42
|
_: 2
|
|
43
43
|
}, 1024),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
d("span", O, y(e.parameter.name), 1),
|
|
45
|
+
d("span", R, [
|
|
46
|
+
e.parameter.description ? (n(), i(t(P), {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: "markdown",
|
|
49
|
+
value: e.parameter.description
|
|
50
|
+
}, null, 8, ["value"])) : l("", !0)
|
|
51
|
+
]),
|
|
52
|
+
d("div", z, [
|
|
53
|
+
r.value && a.parameter.content ? (n(), i(I, {
|
|
48
54
|
key: 0,
|
|
49
55
|
class: "parameter-item-content-type",
|
|
50
|
-
defaultValue:
|
|
51
|
-
requestBody:
|
|
52
|
-
onSelectContentType:
|
|
53
|
-
}, null, 8, ["defaultValue", "requestBody"])) :
|
|
56
|
+
defaultValue: s.value,
|
|
57
|
+
requestBody: a.parameter,
|
|
58
|
+
onSelectContentType: f[0] || (f[0] = ({ contentType: m }) => s.value = m)
|
|
59
|
+
}, null, 8, ["defaultValue", "requestBody"])) : l("", !0)
|
|
54
60
|
])
|
|
55
61
|
]),
|
|
56
62
|
_: 2
|
|
57
|
-
}, 1032, ["class"])) :
|
|
58
|
-
|
|
63
|
+
}, 1032, ["class"])) : l("", !0),
|
|
64
|
+
o(t(q), {
|
|
59
65
|
class: "parameter-item-container parameter-item-container-markdown",
|
|
60
|
-
static: !
|
|
66
|
+
static: !r.value
|
|
61
67
|
}, {
|
|
62
|
-
default:
|
|
63
|
-
var
|
|
68
|
+
default: p(() => {
|
|
69
|
+
var m, h;
|
|
64
70
|
return [
|
|
65
|
-
e.parameter.headers ? (
|
|
71
|
+
e.parameter.headers ? (n(), i(N, {
|
|
66
72
|
key: 0,
|
|
67
73
|
headers: e.parameter.headers
|
|
68
|
-
}, null, 8, ["headers"])) :
|
|
69
|
-
|
|
74
|
+
}, null, 8, ["headers"])) : l("", !0),
|
|
75
|
+
o(t(j), {
|
|
70
76
|
compact: "",
|
|
71
|
-
description:
|
|
72
|
-
name:
|
|
77
|
+
description: r.value ? "" : e.parameter.description,
|
|
78
|
+
name: r.value ? "" : e.parameter.name,
|
|
73
79
|
noncollapsible: e.showChildren,
|
|
74
80
|
required: e.parameter.required,
|
|
75
|
-
value: e.parameter.content ? (
|
|
81
|
+
value: e.parameter.content ? (h = (m = e.parameter.content) == null ? void 0 : m[s.value]) == null ? void 0 : h.schema : e.parameter.schema,
|
|
76
82
|
withExamples: e.withExamples
|
|
77
83
|
}, null, 8, ["description", "name", "noncollapsible", "required", "value", "withExamples"])
|
|
78
84
|
];
|
|
@@ -82,7 +88,7 @@ const _ = {
|
|
|
82
88
|
]),
|
|
83
89
|
_: 1
|
|
84
90
|
})
|
|
85
|
-
])) :
|
|
91
|
+
])) : l("", !0);
|
|
86
92
|
}
|
|
87
93
|
});
|
|
88
94
|
export {
|