@scalar/api-reference 1.25.44 → 1.25.46

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":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":";IAgJE,wBAAwB;YAChB,MAAM;;IADd,wBAAwB;YAChB,MAAM;;AAmLhB,wBAMG"}
1
+ {"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":";IAiJE,wBAAwB;YAChB,MAAM;;IADd,wBAAwB;YAChB,MAAM;;AAmLhB,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Description.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-15c890da"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-76e3a64b"]]);
5
5
  export {
6
- c as default
6
+ e as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ParameterItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ParameterItem.vue"],"names":[],"mappings":"AAyLA,OAAO,KAAK,EAAe,UAAU,EAAE,MAAM,sBAAsB,CAAA;;eAUpD,UAAU;mBACN,OAAO;uBACH,OAAO;;eAFf,UAAU;mBACN,OAAO;uBACH,OAAO;;kBADX,OAAO;sBACH,OAAO;;AAgN9B,wBAOG"}
1
+ {"version":3,"file":"ParameterItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ParameterItem.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAe,UAAU,EAAE,MAAM,sBAAsB,CAAA;;eAUpD,UAAU;mBACN,OAAO;uBACH,OAAO;;eAFf,UAAU;mBACN,OAAO;uBACH,OAAO;;kBADX,OAAO;sBACH,OAAO;;AAuN9B,wBAOG"}
@@ -1,7 +1,7 @@
1
- import t from "./ParameterItem.vue2.js";
1
+ import a from "./ParameterItem.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-f4d4e7c0"]]);
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ t(a, [["__scopeId", "data-v-fa59a8ba"]]);
5
5
  export {
6
- a as default
6
+ e as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as g, ref as u, computed as d, openBlock as n, createElementBlock as m, normalizeClass as b, createVNode as v, unref as f, createElementVNode as h, toDisplayString as y, createBlock as C, createCommentVNode as s } from "vue";
1
+ import { defineComponent as B, ref as d, computed as v, openBlock as n, createElementBlock as m, normalizeClass as b, createVNode as f, unref as h, createElementVNode as p, toDisplayString as y, createBlock as C, createCommentVNode as s } from "vue";
2
2
  import { ScalarIcon as q } from "@scalar/components";
3
3
  import w from "./ContentTypeSelect.vue.js";
4
4
  import I from "./ParameterHeaders.vue.js";
5
5
  import S from "../Schema/SchemaProperty.vue.js";
6
- const V = { class: "parameter-item" }, T = { class: "parameter-item-name" }, j = { class: "parameter-item-type" }, N = {
6
+ const V = { class: "parameter-item" }, T = { class: "parameter-item-name" }, j = { class: "parameter-item-type" }, N = { class: "absolute right-0" }, P = {
7
7
  key: 1,
8
8
  class: "parameter-item-container parameter-item-container-markdown"
9
- }, O = /* @__PURE__ */ g({
9
+ }, R = /* @__PURE__ */ B({
10
10
  __name: "ParameterItem",
11
11
  props: {
12
12
  parameter: {},
@@ -14,47 +14,49 @@ const V = { class: "parameter-item" }, T = { class: "parameter-item-name" }, j =
14
14
  collapsableItems: { type: Boolean, default: !1 }
15
15
  },
16
16
  setup(k) {
17
- const a = k, r = u(!1), B = d(() => a.parameter.content ? Object.keys(a.parameter.content) : []), o = u(
18
- B.value[0]
17
+ const a = k, r = d(!1), g = v(() => a.parameter.content ? Object.keys(a.parameter.content) : []), o = d(
18
+ g.value[0]
19
19
  );
20
20
  a.parameter.content && "application/json" in a.parameter.content && (o.value = "application/json");
21
- const t = d(() => a.collapsableItems && a.parameter.content);
21
+ const t = v(() => a.collapsableItems && a.parameter.content);
22
22
  return (e, l) => {
23
- var p, i;
23
+ var i, c;
24
24
  return n(), m("li", V, [
25
25
  t.value ? (n(), m("div", {
26
26
  key: 0,
27
27
  class: b(["flex parameter-item-trigger", { "parameter-item-trigger-open": r.value }]),
28
- onClick: l[1] || (l[1] = (c) => r.value = !r.value)
28
+ onClick: l[1] || (l[1] = (u) => r.value = !r.value)
29
29
  }, [
30
- v(f(q), {
30
+ f(h(q), {
31
31
  class: "parameter-item-icon",
32
32
  icon: r.value ? "ChevronDown" : "ChevronRight",
33
33
  size: "md",
34
34
  thickness: "1.75"
35
35
  }, null, 8, ["icon"]),
36
- h("span", T, y(e.parameter.name), 1),
37
- h("span", j, y(e.parameter.description), 1),
38
- t.value && a.parameter.content ? (n(), C(w, {
39
- key: 0,
40
- class: "parameter-item-content-type",
41
- defaultValue: o.value,
42
- requestBody: a.parameter,
43
- onSelectContentType: l[0] || (l[0] = ({ contentType: c }) => o.value = c)
44
- }, null, 8, ["defaultValue", "requestBody"])) : s("", !0)
36
+ p("span", T, y(e.parameter.name), 1),
37
+ p("span", j, y(e.parameter.description), 1),
38
+ p("div", N, [
39
+ t.value && a.parameter.content ? (n(), C(w, {
40
+ key: 0,
41
+ class: "parameter-item-content-type",
42
+ defaultValue: o.value,
43
+ requestBody: a.parameter,
44
+ onSelectContentType: l[0] || (l[0] = ({ contentType: u }) => o.value = u)
45
+ }, null, 8, ["defaultValue", "requestBody"])) : s("", !0)
46
+ ])
45
47
  ], 2)) : s("", !0),
46
- t.value && r.value || !t.value ? (n(), m("div", N, [
48
+ t.value && r.value || !t.value ? (n(), m("div", P, [
47
49
  e.parameter.headers ? (n(), C(I, {
48
50
  key: 0,
49
51
  headers: e.parameter.headers
50
52
  }, null, 8, ["headers"])) : s("", !0),
51
- v(f(S), {
53
+ f(h(S), {
52
54
  compact: "",
53
55
  description: t.value ? "" : e.parameter.description,
54
56
  name: t.value ? "" : e.parameter.name,
55
57
  noncollapsible: e.showChildren,
56
58
  required: e.parameter.required,
57
- value: e.parameter.content ? (i = (p = e.parameter.content) == null ? void 0 : p[o.value]) == null ? void 0 : i.schema : e.parameter.schema
59
+ value: e.parameter.content ? (c = (i = e.parameter.content) == null ? void 0 : i[o.value]) == null ? void 0 : c.schema : e.parameter.schema
58
60
  }, null, 8, ["description", "name", "noncollapsible", "required", "value"])
59
61
  ])) : s("", !0)
60
62
  ]);
@@ -62,5 +64,5 @@ const V = { class: "parameter-item" }, T = { class: "parameter-item-name" }, j =
62
64
  }
63
65
  });
64
66
  export {
65
- O as default
67
+ R as default
66
68
  };
@@ -1,7 +1,7 @@
1
- import a from "./Parameters.vue2.js";
1
+ import o from "./Parameters.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(a, [["__scopeId", "data-v-eade05ab"]]);
3
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b3f16733"]]);
5
5
  export {
6
- m as default
6
+ e as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/RequestBody.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,sBAAsB,CAAA;AA6BpE,iBAAS,cAAc;mBAsFI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;kBA/HiB,WAAW;;kBAAX,WAAW;iGAqI/C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/RequestBody.vue"],"names":[],"mappings":"AAgJA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,sBAAsB,CAAA;AA6BpE,iBAAS,cAAc;mBAuFI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;kBAhIiB,WAAW;;kBAAX,WAAW;iGAsI/C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestBody.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3b43342b"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ad41227a"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Schema.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-24920b5a"]]);
3
+ import c from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ c(o, [["__scopeId", "data-v-e624cccb"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":";YA0VY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO;;YANZ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO;;cAHT,OAAO;WAFV,MAAM;aAGJ,OAAO;;AA6VrB,0BAOG"}
1
+ {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":";YA8VY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO;;YANZ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO;;cAHT,OAAO;WAFV,MAAM;aAGJ,OAAO;;AAgWrB,0BAOG"}
@@ -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 m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bfe8efb1"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cd74902a"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA+NA,iBAAS,cAAc;kBA4UG,GAAG;EAmB5B;AACD,QAAA,MAAM,eAAe;YA9XT,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WACpB,OAAO;eACH,OAAO;iBACL,OAAO;;YAHZ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WACpB,OAAO;eACH,OAAO;iBACL,OAAO;;cADT,OAAO;6EAmYpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAexG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAgOA,iBAAS,cAAc;kBA4UG,GAAG;EAmB5B;AACD,QAAA,MAAM,eAAe;YA9XT,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WACpB,OAAO;eACH,OAAO;iBACL,OAAO;;YAHZ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WACpB,OAAO;eACH,OAAO;iBACL,OAAO;;cADT,OAAO;6EAmYpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAexG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyHeading.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9ff769a7"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-93630359"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AAyIA,iBAAS,cAAc;qBAuFO,GAAG;qBACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;QApIf,MAAM;YACF,MAAM;;QADV,MAAM;YACF,MAAM;iGAyId,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AA2IA,iBAAS,cAAc;qBAuFO,GAAG;qBACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;QApIf,MAAM;YACF,MAAM;;QADV,MAAM;YACF,MAAM;iGAyId,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CompactSection.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-db0c8da0"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-05521a03"]]);
5
5
  export {
6
- p as default
6
+ r as default
7
7
  };
@@ -4,7 +4,7 @@ import type { OpenApiDocumentConfiguration } from './types';
4
4
  declare const dereferenced: import("vue").Ref<{
5
5
  [x: `x-${string}`]: any;
6
6
  [x: string]: any;
7
- openapi?: ("3.0.0" | "3.0.1" | "3.0.2" | "3.0.2") | undefined;
7
+ openapi?: ("3.0.0" | "3.0.1" | "3.0.2" | "3.0.3") | undefined;
8
8
  swagger?: undefined;
9
9
  info?: {
10
10
  title?: string | undefined;
@@ -249,7 +249,7 @@ declare const dereferenced: import("vue").Ref<{
249
249
  } | undefined, OpenAPI.Document<{}> | {
250
250
  [x: `x-${string}`]: any;
251
251
  [x: string]: any;
252
- openapi?: ("3.0.0" | "3.0.1" | "3.0.2" | "3.0.2") | undefined;
252
+ openapi?: ("3.0.0" | "3.0.1" | "3.0.2" | "3.0.3") | undefined;
253
253
  swagger?: undefined;
254
254
  info?: {
255
255
  title?: string | undefined;