@scalar/api-reference 1.15.3 → 1.15.4

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,6 +1,6 @@
1
1
  import { defineComponent as E, ref as C, watch as N, openBlock as m, createElementBlock as v, Fragment as k, createElementVNode as U, unref as a, createTextVNode as p, createCommentVNode as w, renderSlot as S, createVNode as n, withCtx as u, toDisplayString as R, computed as D, isRef as B, normalizeClass as L, createBlock as T } from "vue";
2
- import { o as j, H as F, E as H, U as O, u as I, f as A, _ as $, a as J, m as z, R as Q } from "./index-b1dd7997.js";
3
- import { b as Be } from "./index-b1dd7997.js";
2
+ import { o as j, H as F, E as H, U as O, u as I, f as A, _ as $, a as J, m as z, R as Q } from "./index-8795807d.js";
3
+ import { b as Be } from "./index-8795807d.js";
4
4
  import { useMediaQuery as W, useFileDialog as Y } from "@vueuse/core";
5
5
  import "@headlessui/vue";
6
6
  import "axios";
@@ -24921,15 +24921,16 @@ async function d9(t, e) {
24921
24921
  data: x,
24922
24922
  error: !1
24923
24923
  };
24924
- }).catch((Q) => {
24925
- const { response: S } = Q;
24924
+ }).catch(async (Q) => {
24925
+ const { response: S } = Q, x = S.data, X = x.type === "application/json" ? await x.text() : x;
24926
24926
  return {
24927
24927
  headers: {
24928
- "content-type": "application/json; charset=utf-8"
24928
+ "content-type": "application/json; charset=utf-8",
24929
+ ...S.headers
24929
24930
  },
24930
24931
  ...S,
24931
24932
  statusCode: (S == null ? void 0 : S.status) ?? 0,
24932
- data: JSON.stringify((S == null ? void 0 : S.data) ?? { error: Q.code })
24933
+ data: X ?? JSON.stringify({ error: Q.code })
24933
24934
  };
24934
24935
  });
24935
24936
  return {
@@ -49901,7 +49902,7 @@ const Mre = /* @__PURE__ */ Qe(Gre, [["__scopeId", "data-v-47908469"]]), Dre = {
49901
49902
  ]), 1032, ["id"]));
49902
49903
  }
49903
49904
  });
49904
- const Jre = /* @__PURE__ */ Qe(Kre, [["__scopeId", "data-v-0f01da4d"]]), ene = { class: "endpoints custom-scroll" }, tne = ["onClick"], rne = /* @__PURE__ */ fe({
49905
+ const Jre = /* @__PURE__ */ Qe(Kre, [["__scopeId", "data-v-0f01da4d"]]), ene = { class: "endpoints" }, tne = ["onClick"], rne = /* @__PURE__ */ fe({
49905
49906
  __name: "EndpointsOverview",
49906
49907
  props: {
49907
49908
  tag: {}
@@ -49956,7 +49957,10 @@ const Jre = /* @__PURE__ */ Qe(Kre, [["__scopeId", "data-v-0f01da4d"]]), ene = {
49956
49957
  ]),
49957
49958
  _: 1
49958
49959
  }),
49959
- M(v(kn), { muted: "" }, {
49960
+ M(v(kn), {
49961
+ class: "custom-scroll",
49962
+ muted: ""
49963
+ }, {
49960
49964
  default: I(() => [
49961
49965
  z("div", ene, [
49962
49966
  (P(!0), j(he, null, Ce(a.tag.operations, (O) => (P(), j("a", {
@@ -49991,7 +49995,7 @@ const Jre = /* @__PURE__ */ Qe(Kre, [["__scopeId", "data-v-0f01da4d"]]), ene = {
49991
49995
  }, 8, ["id", "label"]));
49992
49996
  }
49993
49997
  });
49994
- const nne = /* @__PURE__ */ Qe(rne, [["__scopeId", "data-v-ac40f0ef"]]), ine = /* @__PURE__ */ fe({
49998
+ const nne = /* @__PURE__ */ Qe(rne, [["__scopeId", "data-v-dc78d20f"]]), ine = /* @__PURE__ */ fe({
49995
49999
  __name: "ReferenceTag",
49996
50000
  props: {
49997
50001
  tag: {},
@@ -53082,7 +53086,7 @@ const Bne = /* @__PURE__ */ Qe(Lne, [["__scopeId", "data-v-0f9f7f81"]]), u_ = /*
53082
53086
  emits: ["changeTheme", "updateContent"],
53083
53087
  setup(t, { emit: e }) {
53084
53088
  const r = t, n = q_(), i = Uh(
53085
- () => import("./index-a98d9c3a.js").then((X) => X.SwaggerEditor)
53089
+ () => import("./index-422ba1f4.js").then((X) => X.SwaggerEditor)
53086
53090
  ), o = Se(
53087
53091
  () => bP(r.configuration ?? {}, { ...jK })
53088
53092
  ), a = Se(() => o.value.spec), { rawSpecRef: s, setRawSpecRef: l } = OH({