@scalar/api-reference 0.1.7 → 0.1.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferenceEndpoint.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ReferenceEndpoint.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GvE,wBAAkD"}
|
package/dist/index.js
CHANGED
|
@@ -37188,7 +37188,7 @@ Component that was made reactive: `, type2);
|
|
|
37188
37188
|
const FlowModal = _export_sfc$1(_sfc_main$m$1, [
|
|
37189
37189
|
[
|
|
37190
37190
|
"__scopeId",
|
|
37191
|
-
"data-v-
|
|
37191
|
+
"data-v-9bd42c67"
|
|
37192
37192
|
]
|
|
37193
37193
|
]);
|
|
37194
37194
|
const BYTE_UNITS = [
|
|
@@ -39640,7 +39640,7 @@ Component that was made reactive: `, type2);
|
|
|
39640
39640
|
const _hoisted_2$m = {
|
|
39641
39641
|
class: "scalar-api-client__main__content"
|
|
39642
39642
|
};
|
|
39643
|
-
const _hoisted_3$
|
|
39643
|
+
const _hoisted_3$e = createElementVNode("label", null, "Response", -1);
|
|
39644
39644
|
const _hoisted_4$a = {
|
|
39645
39645
|
class: "meta"
|
|
39646
39646
|
};
|
|
@@ -39704,7 +39704,7 @@ Component that was made reactive: `, type2);
|
|
|
39704
39704
|
return (_ctx, _cache) => {
|
|
39705
39705
|
return openBlock(), createElementBlock("div", _hoisted_1$1$1, [
|
|
39706
39706
|
createElementVNode("div", _hoisted_2$m, [
|
|
39707
|
-
_hoisted_3$
|
|
39707
|
+
_hoisted_3$e,
|
|
39708
39708
|
createElementVNode("div", _hoisted_4$a, [
|
|
39709
39709
|
unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(), createBlock(_sfc_main$2$1, {
|
|
39710
39710
|
key: 0,
|
|
@@ -44145,7 +44145,7 @@ ${closingBraceIndent}]`;
|
|
|
44145
44145
|
key: 0,
|
|
44146
44146
|
class: "flow-button-decorator"
|
|
44147
44147
|
};
|
|
44148
|
-
const _hoisted_3$
|
|
44148
|
+
const _hoisted_3$d = {
|
|
44149
44149
|
class: "flow-button-loader"
|
|
44150
44150
|
};
|
|
44151
44151
|
const _sfc_main$t = defineComponent({
|
|
@@ -44186,7 +44186,7 @@ ${closingBraceIndent}]`;
|
|
|
44186
44186
|
"sr-only": _ctx.icon
|
|
44187
44187
|
})
|
|
44188
44188
|
}, toDisplayString(_ctx.label), 3),
|
|
44189
|
-
createElementVNode("div", _hoisted_3$
|
|
44189
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
44190
44190
|
_ctx.loaderState ? (openBlock(), createBlock(FlowLoader, {
|
|
44191
44191
|
key: 0,
|
|
44192
44192
|
loaderState: _ctx.loaderState
|
|
@@ -45218,7 +45218,7 @@ ${closingBraceIndent}]`;
|
|
|
45218
45218
|
const _hoisted_2$g = {
|
|
45219
45219
|
class: "scalar-api-client__overlay"
|
|
45220
45220
|
};
|
|
45221
|
-
const _hoisted_3$
|
|
45221
|
+
const _hoisted_3$c = {
|
|
45222
45222
|
class: "scalar-api-client__container"
|
|
45223
45223
|
};
|
|
45224
45224
|
const _hoisted_4$9 = {
|
|
@@ -45237,7 +45237,7 @@ ${closingBraceIndent}]`;
|
|
|
45237
45237
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
45238
45238
|
unref(state2).showApiClient ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
45239
45239
|
createElementVNode("div", _hoisted_2$g, [
|
|
45240
|
-
createElementVNode("div", _hoisted_3$
|
|
45240
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
45241
45241
|
createElementVNode("div", _hoisted_4$9, [
|
|
45242
45242
|
withDirectives(createVNode$1(_sfc_main$o, {
|
|
45243
45243
|
spec: _ctx.spec
|
|
@@ -45340,7 +45340,7 @@ ${closingBraceIndent}]`;
|
|
|
45340
45340
|
const _hoisted_2$f = {
|
|
45341
45341
|
class: "card-header-slot card-header-title"
|
|
45342
45342
|
};
|
|
45343
|
-
const _hoisted_3$
|
|
45343
|
+
const _hoisted_3$b = {
|
|
45344
45344
|
class: "card-header-slot card-header-actions"
|
|
45345
45345
|
};
|
|
45346
45346
|
const _sfc_main$k = defineComponent({
|
|
@@ -45355,7 +45355,7 @@ ${closingBraceIndent}]`;
|
|
|
45355
45355
|
createElementVNode("div", _hoisted_2$f, [
|
|
45356
45356
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
45357
45357
|
]),
|
|
45358
|
-
createElementVNode("div", _hoisted_3$
|
|
45358
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
45359
45359
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
45360
45360
|
])
|
|
45361
45361
|
])
|
|
@@ -46274,11 +46274,11 @@ ${closingBraceIndent}]`;
|
|
|
46274
46274
|
};
|
|
46275
46275
|
}
|
|
46276
46276
|
});
|
|
46277
|
-
const
|
|
46277
|
+
const MarkdownRenderer_vue_vue_type_style_index_0_scoped_8f62d36d_lang = "";
|
|
46278
46278
|
const MarkdownRenderer = _export_sfc(_sfc_main$g, [
|
|
46279
46279
|
[
|
|
46280
46280
|
"__scopeId",
|
|
46281
|
-
"data-v-
|
|
46281
|
+
"data-v-8f62d36d"
|
|
46282
46282
|
]
|
|
46283
46283
|
]);
|
|
46284
46284
|
let nanoid = (size2 = 21) => crypto.getRandomValues(new Uint8Array(size2)).reduce((id2, byte) => {
|
|
@@ -46391,7 +46391,7 @@ ${closingBraceIndent}]`;
|
|
|
46391
46391
|
const _hoisted_2$e = [
|
|
46392
46392
|
"onClick"
|
|
46393
46393
|
];
|
|
46394
|
-
const _hoisted_3$
|
|
46394
|
+
const _hoisted_3$a = {
|
|
46395
46395
|
class: "code-languages code-languages__select"
|
|
46396
46396
|
};
|
|
46397
46397
|
const _hoisted_4$8 = [
|
|
@@ -46517,7 +46517,7 @@ ${closingBraceIndent}]`;
|
|
|
46517
46517
|
createElementVNode("span", null, toDisplayString(language2.title), 1)
|
|
46518
46518
|
], 10, _hoisted_2$e);
|
|
46519
46519
|
}), 128)),
|
|
46520
|
-
createElementVNode("div", _hoisted_3$
|
|
46520
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
46521
46521
|
createElementVNode("select", {
|
|
46522
46522
|
value: unref(state2).preferredLanguage,
|
|
46523
46523
|
onInput: _cache[0] || (_cache[0] = ($event) => selectLanguage($event.target.value))
|
|
@@ -46550,7 +46550,7 @@ ${closingBraceIndent}]`;
|
|
|
46550
46550
|
const _hoisted_2$d = {
|
|
46551
46551
|
class: "reference-container"
|
|
46552
46552
|
};
|
|
46553
|
-
const _hoisted_3$
|
|
46553
|
+
const _hoisted_3$9 = {
|
|
46554
46554
|
class: "copy"
|
|
46555
46555
|
};
|
|
46556
46556
|
const _hoisted_4$7 = {
|
|
@@ -46598,7 +46598,7 @@ ${closingBraceIndent}]`;
|
|
|
46598
46598
|
return (_ctx, _cache) => {
|
|
46599
46599
|
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
46600
46600
|
createElementVNode("div", _hoisted_2$d, [
|
|
46601
|
-
createElementVNode("div", _hoisted_3$
|
|
46601
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
46602
46602
|
createElementVNode("div", _hoisted_4$7, [
|
|
46603
46603
|
createElementVNode("h1", {
|
|
46604
46604
|
class: normalizeClass$1([
|
|
@@ -46749,7 +46749,7 @@ ${closingBraceIndent}]`;
|
|
|
46749
46749
|
const _hoisted_2$b = {
|
|
46750
46750
|
class: "endpoint-title"
|
|
46751
46751
|
};
|
|
46752
|
-
const _hoisted_3$
|
|
46752
|
+
const _hoisted_3$8 = {
|
|
46753
46753
|
class: "title"
|
|
46754
46754
|
};
|
|
46755
46755
|
const _hoisted_4$6 = {
|
|
@@ -46766,7 +46766,7 @@ ${closingBraceIndent}]`;
|
|
|
46766
46766
|
var _a2;
|
|
46767
46767
|
return ((_a2 = _ctx.parameters) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
46768
46768
|
createElementVNode("div", _hoisted_2$b, [
|
|
46769
|
-
createElementVNode("h5", _hoisted_3$
|
|
46769
|
+
createElementVNode("h5", _hoisted_3$8, toDisplayString(_ctx.title), 1)
|
|
46770
46770
|
]),
|
|
46771
46771
|
createElementVNode("ul", _hoisted_4$6, [
|
|
46772
46772
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.parameters, (item) => {
|
|
@@ -46788,7 +46788,7 @@ ${closingBraceIndent}]`;
|
|
|
46788
46788
|
const _hoisted_2$a = {
|
|
46789
46789
|
class: "param-editor-flex"
|
|
46790
46790
|
};
|
|
46791
|
-
const _hoisted_3$
|
|
46791
|
+
const _hoisted_3$7 = {
|
|
46792
46792
|
class: "parameter-name"
|
|
46793
46793
|
};
|
|
46794
46794
|
const _hoisted_4$5 = {
|
|
@@ -46835,7 +46835,7 @@ ${closingBraceIndent}]`;
|
|
|
46835
46835
|
}, [
|
|
46836
46836
|
createElementVNode("div", _hoisted_1$a, [
|
|
46837
46837
|
createElementVNode("div", _hoisted_2$a, [
|
|
46838
|
-
createElementVNode("span", _hoisted_3$
|
|
46838
|
+
createElementVNode("span", _hoisted_3$7, toDisplayString(key), 1),
|
|
46839
46839
|
createElementVNode("span", _hoisted_4$5, toDisplayString(value.type), 1)
|
|
46840
46840
|
]),
|
|
46841
46841
|
value.description ? (openBlock(), createElementBlock("p", _hoisted_5$4, toDisplayString(value.description), 1)) : createCommentVNode("", true),
|
|
@@ -46852,7 +46852,7 @@ ${closingBraceIndent}]`;
|
|
|
46852
46852
|
const _hoisted_2$9 = {
|
|
46853
46853
|
class: "parameter-type"
|
|
46854
46854
|
};
|
|
46855
|
-
const _hoisted_3$
|
|
46855
|
+
const _hoisted_3$6 = {
|
|
46856
46856
|
key: 0,
|
|
46857
46857
|
class: "parameter-description"
|
|
46858
46858
|
};
|
|
@@ -46898,7 +46898,7 @@ ${closingBraceIndent}]`;
|
|
|
46898
46898
|
])
|
|
46899
46899
|
}, toDisplayString(((_b = _ctx.required) == null ? void 0 : _b.includes(name2)) ? "required" : "optional"), 3),
|
|
46900
46900
|
createElementVNode("span", _hoisted_2$9, toDisplayString(_ctx.contentProperties[name2].type), 1),
|
|
46901
|
-
_ctx.contentProperties[name2].description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
46901
|
+
_ctx.contentProperties[name2].description ? (openBlock(), createElementBlock("p", _hoisted_3$6, " description ")) : createCommentVNode("", true),
|
|
46902
46902
|
Object.keys(_ctx.contentProperties[name2].properties || {}).length > 0 ? (openBlock(), createElementBlock("div", {
|
|
46903
46903
|
key: 1,
|
|
46904
46904
|
class: normalizeClass$1([
|
|
@@ -46941,7 +46941,7 @@ ${closingBraceIndent}]`;
|
|
|
46941
46941
|
class: "title"
|
|
46942
46942
|
}, "Body")
|
|
46943
46943
|
], -1);
|
|
46944
|
-
const _hoisted_3$
|
|
46944
|
+
const _hoisted_3$5 = {
|
|
46945
46945
|
key: 0,
|
|
46946
46946
|
class: "parameter"
|
|
46947
46947
|
};
|
|
@@ -46954,7 +46954,7 @@ ${closingBraceIndent}]`;
|
|
|
46954
46954
|
return (_ctx, _cache) => {
|
|
46955
46955
|
return _ctx.requestBody && _ctx.requestBody.content["application/json"] ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
46956
46956
|
_hoisted_2$8,
|
|
46957
|
-
_ctx.requestBody.content["application/json"] ? (openBlock(), createElementBlock("ul", _hoisted_3$
|
|
46957
|
+
_ctx.requestBody.content["application/json"] ? (openBlock(), createElementBlock("ul", _hoisted_3$5, [
|
|
46958
46958
|
createVNode$1(_sfc_main$9, {
|
|
46959
46959
|
contentProperties: _ctx.requestBody.content["application/json"].schema.properties || {},
|
|
46960
46960
|
required: _ctx.requestBody.content["application/json"].schema.required || []
|
|
@@ -46974,7 +46974,7 @@ ${closingBraceIndent}]`;
|
|
|
46974
46974
|
const _hoisted_2$7 = {
|
|
46975
46975
|
class: "editor-heading"
|
|
46976
46976
|
};
|
|
46977
|
-
const _hoisted_3$
|
|
46977
|
+
const _hoisted_3$4 = {
|
|
46978
46978
|
class: "tag-description"
|
|
46979
46979
|
};
|
|
46980
46980
|
const _sfc_main$7 = defineComponent({
|
|
@@ -47027,7 +47027,7 @@ ${closingBraceIndent}]`;
|
|
|
47027
47027
|
}, toDisplayString(_ctx.operation.name), 513)
|
|
47028
47028
|
]),
|
|
47029
47029
|
createElementVNode("div", null, [
|
|
47030
|
-
createElementVNode("p", _hoisted_3$
|
|
47030
|
+
createElementVNode("p", _hoisted_3$4, toDisplayString(_ctx.operation.description), 1)
|
|
47031
47031
|
]),
|
|
47032
47032
|
createVNode$1(_sfc_main$b, {
|
|
47033
47033
|
parameters: unref(parameterMap).path,
|
|
@@ -47897,7 +47897,7 @@ ${closingBraceIndent}]`;
|
|
|
47897
47897
|
const _hoisted_2$6 = {
|
|
47898
47898
|
class: "language-select"
|
|
47899
47899
|
};
|
|
47900
|
-
const _hoisted_3$
|
|
47900
|
+
const _hoisted_3$3 = [
|
|
47901
47901
|
"value"
|
|
47902
47902
|
];
|
|
47903
47903
|
const _hoisted_4$3 = [
|
|
@@ -48006,7 +48006,7 @@ ${closingBraceIndent}]`;
|
|
|
48006
48006
|
value: lang.key
|
|
48007
48007
|
}, toDisplayString(lang.title), 9, _hoisted_4$3);
|
|
48008
48008
|
}), 128))
|
|
48009
|
-
], 40, _hoisted_3$
|
|
48009
|
+
], 40, _hoisted_3$3)
|
|
48010
48010
|
]),
|
|
48011
48011
|
createElementVNode("button", {
|
|
48012
48012
|
class: "copy-button",
|
|
@@ -48200,9 +48200,6 @@ ${closingBraceIndent}]`;
|
|
|
48200
48200
|
const _hoisted_2$4 = {
|
|
48201
48201
|
class: "example"
|
|
48202
48202
|
};
|
|
48203
|
-
const _hoisted_3$3 = {
|
|
48204
|
-
class: "example"
|
|
48205
|
-
};
|
|
48206
48203
|
const _sfc_main$4 = defineComponent({
|
|
48207
48204
|
__name: "ReferenceEndpoint",
|
|
48208
48205
|
props: {
|
|
@@ -48230,10 +48227,11 @@ ${closingBraceIndent}]`;
|
|
|
48230
48227
|
}, null, 8, [
|
|
48231
48228
|
"operation",
|
|
48232
48229
|
"server"
|
|
48233
|
-
])
|
|
48234
|
-
]),
|
|
48235
|
-
createElementVNode("div", _hoisted_3$3, [
|
|
48230
|
+
]),
|
|
48236
48231
|
createVNode$1(ExampleResponses, {
|
|
48232
|
+
style: {
|
|
48233
|
+
"margin-top": "12px"
|
|
48234
|
+
},
|
|
48237
48235
|
operation: _ctx.operation
|
|
48238
48236
|
}, null, 8, [
|
|
48239
48237
|
"operation"
|
package/dist/style.css
CHANGED
|
@@ -395,9 +395,9 @@ to {
|
|
|
395
395
|
.active_page.sidebar-heading,
|
|
396
396
|
.marc_active .sidebar-heading {
|
|
397
397
|
/* prettier-ignore */
|
|
398
|
-
background: var(--sidebar-item-active-background, var(--
|
|
398
|
+
background: var(--sidebar-item-active-background, var(--theme-background-accent)) !important;
|
|
399
399
|
/* prettier-ignore */
|
|
400
|
-
color: var(--scalar-api-reference-sidebar-color-active, var(--
|
|
400
|
+
color: var(--scalar-api-reference-sidebar-color-active, var(--theme-background-accent)) !important;
|
|
401
401
|
}
|
|
402
402
|
.sidebar-group-item {
|
|
403
403
|
position: relative;
|
|
@@ -661,45 +661,45 @@ to {
|
|
|
661
661
|
);
|
|
662
662
|
}
|
|
663
663
|
|
|
664
|
-
.markdown[data-v-
|
|
664
|
+
.markdown[data-v-8f62d36d] * {
|
|
665
665
|
margin-top: 12px;
|
|
666
666
|
}
|
|
667
|
-
.markdown[data-v-
|
|
668
|
-
.markdown[data-v-
|
|
669
|
-
.markdown[data-v-
|
|
670
|
-
.markdown[data-v-
|
|
671
|
-
.markdown[data-v-
|
|
672
|
-
.markdown[data-v-
|
|
667
|
+
.markdown[data-v-8f62d36d] h1,
|
|
668
|
+
.markdown[data-v-8f62d36d] h2,
|
|
669
|
+
.markdown[data-v-8f62d36d] h3,
|
|
670
|
+
.markdown[data-v-8f62d36d] h4,
|
|
671
|
+
.markdown[data-v-8f62d36d] h5,
|
|
672
|
+
.markdown[data-v-8f62d36d] h6 {
|
|
673
673
|
font-size: var(--font-size);
|
|
674
674
|
margin: 12px 0 6px;
|
|
675
675
|
}
|
|
676
|
-
.markdown[data-v-
|
|
676
|
+
.markdown[data-v-8f62d36d] p {
|
|
677
677
|
font-size: var(--font-size, var(--scalar-api-reference-theme-paragraph));
|
|
678
678
|
/* prettier-ignore */
|
|
679
679
|
color: var(--scalar-api-reference-font-color, var(--scalar-api-reference-theme-color-1));
|
|
680
680
|
font-weight: var(--font-weight, var(--scalar-api-reference-theme-regular));
|
|
681
681
|
line-height: 1.5;
|
|
682
682
|
}
|
|
683
|
-
.markdown[data-v-
|
|
684
|
-
.markdown[data-v-
|
|
683
|
+
.markdown[data-v-8f62d36d] ul,
|
|
684
|
+
.markdown[data-v-8f62d36d] ol {
|
|
685
685
|
padding-left: 24px;
|
|
686
686
|
line-height: 1.5;
|
|
687
687
|
margin: 12px 0;
|
|
688
688
|
}
|
|
689
|
-
.markdown[data-v-
|
|
689
|
+
.markdown[data-v-8f62d36d] ul {
|
|
690
690
|
list-style: disc;
|
|
691
691
|
}
|
|
692
|
-
.markdown[data-v-
|
|
692
|
+
.markdown[data-v-8f62d36d] ol {
|
|
693
693
|
list-style: decimal;
|
|
694
694
|
}
|
|
695
|
-
.markdown[data-v-
|
|
695
|
+
.markdown[data-v-8f62d36d] ul.contains-task-list {
|
|
696
696
|
list-style: none;
|
|
697
697
|
padding-left: 0;
|
|
698
698
|
}
|
|
699
|
-
.markdown[data-v-
|
|
699
|
+
.markdown[data-v-8f62d36d] li {
|
|
700
700
|
margin: 6px 0;
|
|
701
701
|
}
|
|
702
|
-
.markdown[data-v-
|
|
702
|
+
.markdown[data-v-8f62d36d] code {
|
|
703
703
|
font-family: var(--scalar-api-reference-font-mono);
|
|
704
704
|
background-color: var(--scalar-api-reference-theme-background-2);
|
|
705
705
|
box-shadow: 0 0 0 1px var(--scalar-api-reference-border-color);
|
|
@@ -707,7 +707,7 @@ to {
|
|
|
707
707
|
border-radius: 2px;
|
|
708
708
|
padding: 0 3px;
|
|
709
709
|
}
|
|
710
|
-
.markdown[data-v-
|
|
710
|
+
.markdown[data-v-8f62d36d] pre code {
|
|
711
711
|
display: block;
|
|
712
712
|
white-space: pre;
|
|
713
713
|
padding: 3px;
|
|
@@ -717,11 +717,11 @@ to {
|
|
|
717
717
|
max-width: 100%;
|
|
718
718
|
min-width: 100px;
|
|
719
719
|
}
|
|
720
|
-
.markdown[data-v-
|
|
720
|
+
.markdown[data-v-8f62d36d] blockquote {
|
|
721
721
|
border-left: 3px solid var(--scalar-api-reference-border-color);
|
|
722
722
|
padding-left: 12px;
|
|
723
723
|
}
|
|
724
|
-
.markdown[data-v-
|
|
724
|
+
.markdown[data-v-8f62d36d] table {
|
|
725
725
|
position: relative;
|
|
726
726
|
border-collapse: collapse;
|
|
727
727
|
table-layout: fixed;
|
|
@@ -731,8 +731,8 @@ to {
|
|
|
731
731
|
box-shadow: 0 0 0 1px var(--scalar-api-reference-border-color);
|
|
732
732
|
border-radius: var(--scalar-api-reference-rounded);
|
|
733
733
|
}
|
|
734
|
-
.markdown[data-v-
|
|
735
|
-
.markdown[data-v-
|
|
734
|
+
.markdown[data-v-8f62d36d] td,
|
|
735
|
+
.markdown[data-v-8f62d36d] th {
|
|
736
736
|
min-width: 1em;
|
|
737
737
|
padding: 6px;
|
|
738
738
|
vertical-align: top;
|
|
@@ -742,27 +742,28 @@ to {
|
|
|
742
742
|
border-right: var(--scalar-api-reference-border);
|
|
743
743
|
border-bottom: var(--scalar-api-reference-border);
|
|
744
744
|
}
|
|
745
|
-
.markdown[data-v-
|
|
746
|
-
.markdown[data-v-
|
|
745
|
+
.markdown[data-v-8f62d36d] td > *,
|
|
746
|
+
.markdown[data-v-8f62d36d] th > * {
|
|
747
747
|
margin-bottom: 0;
|
|
748
748
|
}
|
|
749
|
-
.markdown.parameter-description[data-v-
|
|
749
|
+
.markdown.parameter-description[data-v-8f62d36d] p {
|
|
750
|
+
margin-top: 4px;
|
|
750
751
|
font-size: var(--scalar-api-reference-theme-small);
|
|
751
752
|
color: var(--scalar-api-reference-theme-color-2);
|
|
752
753
|
line-height: initial;
|
|
753
754
|
}
|
|
754
|
-
.markdown[data-v-
|
|
755
|
-
.markdown[data-v-
|
|
755
|
+
.markdown[data-v-8f62d36d] td:first-of-type,
|
|
756
|
+
.markdown[data-v-8f62d36d] th:first-of-type {
|
|
756
757
|
border-left: none;
|
|
757
758
|
}
|
|
758
|
-
.markdown[data-v-
|
|
759
|
-
.markdown[data-v-
|
|
759
|
+
.markdown[data-v-8f62d36d] td:last-of-type,
|
|
760
|
+
.markdown[data-v-8f62d36d] th:last-of-type {
|
|
760
761
|
border-right: none;
|
|
761
762
|
}
|
|
762
|
-
.markdown[data-v-
|
|
763
|
+
.markdown[data-v-8f62d36d] tr:last-of-type td {
|
|
763
764
|
border-bottom: none;
|
|
764
765
|
}
|
|
765
|
-
.markdown[data-v-
|
|
766
|
+
.markdown[data-v-8f62d36d] th {
|
|
766
767
|
font-weight: bold !important;
|
|
767
768
|
text-align: left;
|
|
768
769
|
border-left-color: transparent;
|
|
@@ -1531,7 +1532,7 @@ to {
|
|
|
1531
1532
|
.tag-description {
|
|
1532
1533
|
margin-top: 12px;
|
|
1533
1534
|
}
|
|
1534
|
-
.endpoint-title {
|
|
1535
|
+
.reference .endpoint-title {
|
|
1535
1536
|
display: flex;
|
|
1536
1537
|
margin-bottom: 12px;
|
|
1537
1538
|
margin-top: 24px;
|
|
@@ -1558,7 +1559,7 @@ to {
|
|
|
1558
1559
|
.reference:not(:last-of-type) {
|
|
1559
1560
|
border-bottom: var(--scalar-api-reference-border);
|
|
1560
1561
|
}
|
|
1561
|
-
.reference-container {
|
|
1562
|
+
.reference .reference-container {
|
|
1562
1563
|
position: relative;
|
|
1563
1564
|
display: flex;
|
|
1564
1565
|
gap: 48px;
|
|
@@ -1580,7 +1581,7 @@ to {
|
|
|
1580
1581
|
}
|
|
1581
1582
|
.example {
|
|
1582
1583
|
padding-top: 48px;
|
|
1583
|
-
top:
|
|
1584
|
+
top: 12px;
|
|
1584
1585
|
height: fit-content;
|
|
1585
1586
|
position: sticky;
|
|
1586
1587
|
}
|
|
@@ -1588,11 +1589,7 @@ to {
|
|
|
1588
1589
|
color: var(--scalar-api-reference-theme-color-1);
|
|
1589
1590
|
text-decoration: underline;
|
|
1590
1591
|
}
|
|
1591
|
-
|
|
1592
|
-
.references-narrow {
|
|
1593
|
-
height: 100vh;
|
|
1594
|
-
overflow-y: auto;
|
|
1595
|
-
}
|
|
1592
|
+
|
|
1596
1593
|
|
|
1597
1594
|
/* ----------------------------------------------------- */
|
|
1598
1595
|
/* Responsive styles for narrow reference container (900px) */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scalar/api-reference",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"author": "Scalar",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"engines": {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"typographic-base": "1.0.4",
|
|
43
43
|
"unified": "10.1.2",
|
|
44
44
|
"xmldom": "0.6.0",
|
|
45
|
-
"@scalar/api-client": "0.1.
|
|
46
|
-
"@scalar/use-clipboard": "0.1.4",
|
|
45
|
+
"@scalar/api-client": "0.1.7",
|
|
47
46
|
"@scalar/swagger-editor": "0.1.6",
|
|
47
|
+
"@scalar/use-clipboard": "0.1.4",
|
|
48
48
|
"@scalar/use-tooltip": "0.1.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|