@scalar/api-reference 1.25.99 → 1.25.100
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 +18 -0
- package/dist/browser/standalone.js +1724 -1722
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +44 -43
- package/dist/components/Content/Content.vue.js +1 -1
- package/dist/components/Content/Content.vue2.js +35 -35
- 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 +85 -78
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +3 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +170 -162
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.js +2 -2
- package/dist/features/BaseUrl/ServerUrlSelect.vue.js +2 -2
- package/dist/features/BaseUrl/ServerVariablesForm.vue.js +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
|
@@ -1,28 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as M, openBlock as u, createElementBlock as n, Fragment as s, createElementVNode as P, renderSlot as O, createCommentVNode as t, createTextVNode as a, toDisplayString as i, createVNode as v, unref as V, withCtx as l, createBlock as d, renderList as S } from "vue";
|
|
2
2
|
import o from "./SchemaPropertyDetail.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import $ from "../../Badge/Badge.vue.js";
|
|
4
4
|
const C = { class: "property-heading" }, D = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "property-name"
|
|
7
|
-
},
|
|
7
|
+
}, b = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "property-additional"
|
|
10
|
-
},
|
|
10
|
+
}, E = {
|
|
11
11
|
key: 2,
|
|
12
12
|
class: "property-deprecated"
|
|
13
13
|
}, j = {
|
|
14
14
|
key: 3,
|
|
15
15
|
class: "property-const"
|
|
16
|
-
},
|
|
16
|
+
}, F = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "property-write-only"
|
|
19
|
-
},
|
|
19
|
+
}, H = {
|
|
20
20
|
key: 6,
|
|
21
21
|
class: "property-read-only"
|
|
22
|
-
},
|
|
22
|
+
}, T = {
|
|
23
23
|
key: 7,
|
|
24
24
|
class: "property-required"
|
|
25
|
-
},
|
|
25
|
+
}, h = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "property-example"
|
|
28
|
+
}, Q = /* @__PURE__ */ M({
|
|
26
29
|
__name: "SchemaPropertyHeading",
|
|
27
30
|
props: {
|
|
28
31
|
value: {},
|
|
@@ -30,166 +33,171 @@ const C = { class: "property-heading" }, D = {
|
|
|
30
33
|
required: { type: Boolean, default: !1 },
|
|
31
34
|
additional: { type: Boolean }
|
|
32
35
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
36
|
+
setup(z) {
|
|
37
|
+
const w = ["oneOf", "anyOf", "allOf", "not"], A = (e) => Array.isArray(e == null ? void 0 : e.default) && e.default.length === 1 ? e.default[0] : e == null ? void 0 : e.default;
|
|
35
38
|
return (e, r) => {
|
|
36
|
-
var f, k, g, B, q,
|
|
37
|
-
return u(), n(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
39
|
+
var f, k, g, B, q, N, I;
|
|
40
|
+
return u(), n(s, null, [
|
|
41
|
+
P("div", C, [
|
|
42
|
+
e.$slots.name ? (u(), n("div", D, [
|
|
43
|
+
O(e.$slots, "name", {}, void 0, !0)
|
|
44
|
+
])) : t("", !0),
|
|
45
|
+
e.additional ? (u(), n("div", b, [
|
|
46
|
+
(f = e.value) != null && f["x-additionalPropertiesName"] ? (u(), n(s, { key: 0 }, [
|
|
47
|
+
a(i(e.value["x-additionalPropertiesName"]), 1)
|
|
48
|
+
], 64)) : (u(), n(s, { key: 1 }, [
|
|
49
|
+
a("additional properties")
|
|
50
|
+
], 64))
|
|
51
|
+
])) : t("", !0),
|
|
52
|
+
(k = e.value) != null && k.deprecated ? (u(), n("div", E, [
|
|
53
|
+
v(V($), null, {
|
|
54
|
+
default: l(() => r[0] || (r[0] = [
|
|
55
|
+
a("deprecated")
|
|
56
|
+
])),
|
|
57
|
+
_: 1
|
|
58
|
+
})
|
|
59
|
+
])) : t("", !0),
|
|
60
|
+
(g = e.value) != null && g.const || (B = e.value) != null && B.enum && e.value.enum.length === 1 ? (u(), n("div", j, [
|
|
61
|
+
v(o, { truncate: "" }, {
|
|
62
|
+
prefix: l(() => r[1] || (r[1] = [
|
|
63
|
+
a("const:")
|
|
64
|
+
])),
|
|
65
|
+
default: l(() => [
|
|
66
|
+
a(" " + i(e.value.const ?? e.value.enum[0]), 1)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
})
|
|
70
|
+
])) : (q = e.value) != null && q.type ? (u(), n(s, { key: 4 }, [
|
|
71
|
+
v(o, null, {
|
|
72
|
+
default: l(() => {
|
|
73
|
+
var m, p, y;
|
|
74
|
+
return [
|
|
75
|
+
(p = (m = e.value) == null ? void 0 : m.items) != null && p.type ? (u(), n(s, { key: 0 }, [
|
|
76
|
+
a(i(e.value.type) + " " + i(e.value.items.type) + "[] ", 1)
|
|
77
|
+
], 64)) : (u(), n(s, { key: 1 }, [
|
|
78
|
+
a(i(Array.isArray(e.value.type) ? e.value.type.join(" | ") : e.value.type) + " " + i((y = e.value) != null && y.nullable ? " | nullable" : ""), 1)
|
|
79
|
+
], 64)),
|
|
80
|
+
e.value.minItems || e.value.maxItems ? (u(), n(s, { key: 2 }, [
|
|
81
|
+
a(i(e.value.minItems) + "…" + i(e.value.maxItems), 1)
|
|
82
|
+
], 64)) : t("", !0)
|
|
83
|
+
];
|
|
84
|
+
}),
|
|
85
|
+
_: 1
|
|
80
86
|
}),
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
87
|
+
e.value.minLength ? (u(), d(o, { key: 0 }, {
|
|
88
|
+
prefix: l(() => r[2] || (r[2] = [
|
|
89
|
+
a("min:")
|
|
90
|
+
])),
|
|
91
|
+
default: l(() => [
|
|
92
|
+
a(" " + i(e.value.minLength), 1)
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
})) : t("", !0),
|
|
96
|
+
e.value.maxLength ? (u(), d(o, { key: 1 }, {
|
|
97
|
+
prefix: l(() => r[3] || (r[3] = [
|
|
98
|
+
a("max:")
|
|
99
|
+
])),
|
|
100
|
+
default: l(() => [
|
|
101
|
+
a(" " + i(e.value.maxLength), 1)
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
})) : t("", !0),
|
|
105
|
+
e.value.uniqueItems ? (u(), d(o, { key: 2 }, {
|
|
106
|
+
default: l(() => r[4] || (r[4] = [
|
|
107
|
+
a(" unique! ")
|
|
108
|
+
])),
|
|
109
|
+
_: 1
|
|
110
|
+
})) : t("", !0),
|
|
111
|
+
e.value.format ? (u(), d(o, { key: 3 }, {
|
|
112
|
+
default: l(() => [
|
|
113
|
+
a(i(e.value.format), 1)
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
})) : t("", !0),
|
|
117
|
+
e.value.minimum !== void 0 && e.value.exclusiveMinimum ? (u(), d(o, { key: 4 }, {
|
|
118
|
+
prefix: l(() => r[5] || (r[5] = [
|
|
119
|
+
a("greater than:")
|
|
120
|
+
])),
|
|
121
|
+
default: l(() => [
|
|
122
|
+
a(" " + i(e.value.minimum), 1)
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
})) : t("", !0),
|
|
126
|
+
e.value.minimum !== void 0 && !e.value.exclusiveMinimum ? (u(), d(o, { key: 5 }, {
|
|
127
|
+
prefix: l(() => r[6] || (r[6] = [
|
|
128
|
+
a("min:")
|
|
129
|
+
])),
|
|
130
|
+
default: l(() => [
|
|
131
|
+
a(" " + i(e.value.minimum), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
})) : t("", !0),
|
|
135
|
+
e.value.maximum !== void 0 && e.value.exclusiveMaximum ? (u(), d(o, { key: 6 }, {
|
|
136
|
+
prefix: l(() => r[7] || (r[7] = [
|
|
137
|
+
a("less than:")
|
|
138
|
+
])),
|
|
139
|
+
default: l(() => [
|
|
140
|
+
a(" " + i(e.value.maximum), 1)
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
})) : t("", !0),
|
|
144
|
+
e.value.maximum !== void 0 && !e.value.exclusiveMaximum ? (u(), d(o, { key: 7 }, {
|
|
145
|
+
prefix: l(() => r[8] || (r[8] = [
|
|
146
|
+
a("max:")
|
|
147
|
+
])),
|
|
148
|
+
default: l(() => [
|
|
149
|
+
a(" " + i(e.value.maximum), 1)
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
})) : t("", !0),
|
|
153
|
+
e.value.pattern ? (u(), d(o, {
|
|
154
|
+
key: 8,
|
|
155
|
+
code: "",
|
|
156
|
+
truncate: ""
|
|
157
|
+
}, {
|
|
158
|
+
default: l(() => [
|
|
159
|
+
a(i(e.value.pattern), 1)
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
})) : t("", !0),
|
|
163
|
+
e.$props.enum ? (u(), d(o, { key: 9 }, {
|
|
164
|
+
default: l(() => r[9] || (r[9] = [
|
|
165
|
+
a("enum")
|
|
166
|
+
])),
|
|
167
|
+
_: 1
|
|
168
|
+
})) : t("", !0),
|
|
169
|
+
e.value.default !== void 0 ? (u(), d(o, {
|
|
170
|
+
key: 10,
|
|
171
|
+
truncate: ""
|
|
172
|
+
}, {
|
|
173
|
+
prefix: l(() => r[10] || (r[10] = [
|
|
174
|
+
a("default:")
|
|
175
|
+
])),
|
|
176
|
+
default: l(() => [
|
|
177
|
+
a(" " + i(A(e.value)), 1)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
})) : t("", !0)
|
|
181
|
+
], 64)) : t("", !0),
|
|
182
|
+
(N = e.value) != null && N.writeOnly ? (u(), n("div", F, " write-only ")) : (I = e.value) != null && I.readOnly ? (u(), n("div", H, " read-only ")) : t("", !0),
|
|
183
|
+
(u(!0), n(s, null, S(w.filter((m) => {
|
|
184
|
+
var p, y, L;
|
|
185
|
+
return ((p = e.value) == null ? void 0 : p[m]) || ((L = (y = e.value) == null ? void 0 : y.items) == null ? void 0 : L[m]);
|
|
186
|
+
}), (m) => (u(), d(V($), { key: m }, {
|
|
172
187
|
default: l(() => [
|
|
173
|
-
a(
|
|
188
|
+
a(i(m), 1)
|
|
174
189
|
]),
|
|
175
|
-
_:
|
|
176
|
-
}))
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
(u(
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
default: l(() => [
|
|
184
|
-
a(i(m), 1)
|
|
185
|
-
]),
|
|
186
|
-
_: 2
|
|
187
|
-
}, 1024))), 128)),
|
|
188
|
-
e.required ? (u(), n("div", H, " required ")) : t("", !0)
|
|
189
|
-
]);
|
|
190
|
+
_: 2
|
|
191
|
+
}, 1024))), 128)),
|
|
192
|
+
e.required ? (u(), n("div", T, " required ")) : t("", !0)
|
|
193
|
+
]),
|
|
194
|
+
e.$slots.example ? (u(), n("div", h, [
|
|
195
|
+
O(e.$slots, "example", {}, void 0, !0)
|
|
196
|
+
])) : t("", !0)
|
|
197
|
+
], 64);
|
|
190
198
|
};
|
|
191
199
|
}
|
|
192
200
|
});
|
|
193
201
|
export {
|
|
194
|
-
|
|
202
|
+
Q as default
|
|
195
203
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerForm.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAOlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAInD,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,SAAS,CAAC,EAAE,oBAAoB,CAAA;CACjC,CAAC;;;;;;;;cAHW,MAAM;;AAoKrB,wBAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ServerForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-eaa06049"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./ServerUrlSelect.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ o(r, [["__scopeId", "data-v-2f4aa08a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./ServerVariablesForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-40b06a7a"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|