@scalar/api-reference 1.17.3 → 1.17.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 +1 @@
1
- {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;eA4aL,oBAAoB;;eAApB,oBAAoB;;AAD5E,wBAMG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;eA6aL,oBAAoB;;eAApB,oBAAoB;;AAD5E,wBAMG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -21726,7 +21726,7 @@ const i7 = {
21726
21726
  } catch {
21727
21727
  return null;
21728
21728
  }
21729
- }), n = de(() => t.value === "application/json" ? "json" : t.value === "text/html" || t.value === "text/plain" ? "html" : null);
21729
+ }), n = de(() => t.value === "application/json" || t.value === "application/problem+json" ? "json" : t.value === "text/html" || t.value === "text/plain" ? "html" : null);
21730
21730
  return (i, s) => ($(), W(y(pn), { title: "Body" }, {
21731
21731
  default: E(() => [
21732
21732
  i.active ? ($(), R(J, { key: 0 }, [
@@ -40929,7 +40929,7 @@ const QN = /* @__PURE__ */ G({
40929
40929
  ])) : ($(), R("div", qN, " No Body "));
40930
40930
  };
40931
40931
  }
40932
- }), L1 = /* @__PURE__ */ ie(ZN, [["__scopeId", "data-v-38cbd75a"]]), DN = (r) => (Ft("data-v-ea1fb604"), r = r(), Gt(), r), VN = {
40932
+ }), L1 = /* @__PURE__ */ ie(ZN, [["__scopeId", "data-v-38cbd75a"]]), DN = (r) => (Ft("data-v-12934cac"), r = r(), Gt(), r), VN = {
40933
40933
  key: 1,
40934
40934
  class: "scalar-card-checkbox"
40935
40935
  }, zN = /* @__PURE__ */ DN(() => /* @__PURE__ */ w("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), NN = { class: "scalar-card-container custom-scroll" }, WN = {
@@ -40954,10 +40954,10 @@ const QN = /* @__PURE__ */ G({
40954
40954
  return (h = (p = e.operation.information) == null ? void 0 : p.responses) == null ? void 0 : h[f];
40955
40955
  }), l = de(
40956
40956
  () => {
40957
- var f, p;
40957
+ var f, p, h, m;
40958
40958
  return (
40959
40959
  // OpenAPI 3.x
40960
- ((p = (f = a.value) == null ? void 0 : f.content) == null ? void 0 : p["application/json"]) ?? // Swagger 2.0
40960
+ ((p = (f = a.value) == null ? void 0 : f.content) == null ? void 0 : p["application/json"]) ?? ((m = (h = a.value) == null ? void 0 : h.content) == null ? void 0 : m["application/problem+json"]) ?? // Swagger 2.0
40961
40961
  a.value
40962
40962
  );
40963
40963
  }
@@ -41066,7 +41066,7 @@ const QN = /* @__PURE__ */ G({
41066
41066
  _: 1
41067
41067
  })) : L("", !0);
41068
41068
  }
41069
- }), a$ = /* @__PURE__ */ ie(BN, [["__scopeId", "data-v-ea1fb604"]]), LN = (r) => (Ft("data-v-be432808"), r = r(), Gt(), r), HN = /* @__PURE__ */ LN(() => /* @__PURE__ */ w("span", null, "Test Request", -1)), YN = /* @__PURE__ */ G({
41069
+ }), a$ = /* @__PURE__ */ ie(BN, [["__scopeId", "data-v-12934cac"]]), LN = (r) => (Ft("data-v-be432808"), r = r(), Gt(), r), HN = /* @__PURE__ */ LN(() => /* @__PURE__ */ w("span", null, "Test Request", -1)), YN = /* @__PURE__ */ G({
41070
41070
  __name: "TryRequestButton",
41071
41071
  props: {
41072
41072
  operation: {}
@@ -44836,7 +44836,7 @@ Some useful links:
44836
44836
  setup(r, { emit: e }) {
44837
44837
  var C, x;
44838
44838
  const t = r, n = R$(), i = Ef(
44839
- () => import("./index-C9MvHhGK.js").then((U) => U.SwaggerEditor)
44839
+ () => import("./index-BqTjSpJO.js").then((U) => U.SwaggerEditor)
44840
44840
  ), s = de(
44841
44841
  () => eb(t.configuration ?? {}, { ...sD })
44842
44842
  ), o = de(() => s.value.spec), { rawSpecRef: a, setRawSpecRef: l } = Wq({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as E, ref as C, watch as N, openBlock as c, createElementBlock as v, Fragment as k, createElementVNode as U, unref as a, createTextVNode as u, createCommentVNode as w, renderSlot as S, createVNode as n, withCtx as p, 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 x, C as J, m as z, R as Q } from "./index-CCoBlGeV.js";
3
- import { a as ve } from "./index-CCoBlGeV.js";
2
+ import { o as j, H as F, E as H, U as O, u as I, f as A, _ as x, C as J, m as z, R as Q } from "./index-BQzxx8wP.js";
3
+ import { a as ve } from "./index-BQzxx8wP.js";
4
4
  import { useMediaQuery as W, useFileDialog as Y } from "@vueuse/core";
5
5
  const q = (l) => {
6
6
  if (typeof l != "string")