@scalar/api-reference 1.22.38 → 1.22.40

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":"AAGA,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mBAAmB,CAAA;;eAsb8B,oBAAoB;;eAApB,oBAAoB;;AAL5E,wBAMG;AACH,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":"AAGA,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mBAAmB,CAAA;;eAub8B,oBAAoB;;eAApB,oBAAoB;;AAL5E,wBAMG;AACH,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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AAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"MarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MarkdownRenderer.vue.ts"],"names":[],"mappings":";;;;;;;;;;;gBAyLiB,OAAO;;AAPxB,wBASG;AACH,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;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -16,7 +16,7 @@ import { availableTargets as gk, HTTPSnippet as yk } from "httpsnippet-lite";
16
16
  import { createHead as bk, useSeoMeta as vk } from "unhead";
17
17
  import wk from "rehype-external-links";
18
18
  import kk from "rehype-format";
19
- import Sk from "rehype-prism";
19
+ import Sk from "rehype-highlight";
20
20
  import $k from "rehype-raw";
21
21
  import _k, { defaultSchema as zp } from "rehype-sanitize";
22
22
  import xk from "rehype-stringify";
@@ -18670,7 +18670,7 @@ const aE = ["innerHTML"], Es = /* @__PURE__ */ Q({
18670
18670
  }, null, 8, ["icon", "label"])) : H("", !0)
18671
18671
  ]));
18672
18672
  }
18673
- }), zn = /* @__PURE__ */ ne(OE, [["__scopeId", "data-v-623edb4f"]]), TE = (r) => (Kt("data-v-5ac9a107"), r = r(), Ut(), r), PE = { class: "scopes-label" }, IE = /* @__PURE__ */ TE(() => /* @__PURE__ */ F("em", null, "/", -1)), NE = ["checked"], ME = { class: "dropdown-item-title" }, DE = { class: "dropdown-item-description" }, RE = /* @__PURE__ */ Q({
18673
+ }), zn = /* @__PURE__ */ ne(OE, [["__scopeId", "data-v-f7b202a1"]]), TE = (r) => (Kt("data-v-5ac9a107"), r = r(), Ut(), r), PE = { class: "scopes-label" }, IE = /* @__PURE__ */ TE(() => /* @__PURE__ */ F("em", null, "/", -1)), NE = ["checked"], ME = { class: "dropdown-item-title" }, DE = { class: "dropdown-item-description" }, RE = /* @__PURE__ */ Q({
18674
18674
  __name: "SecuritySchemeScopes",
18675
18675
  props: {
18676
18676
  scopes: {},
@@ -18958,7 +18958,7 @@ const aE = ["innerHTML"], Es = /* @__PURE__ */ Q({
18958
18958
  })) : H("", !0);
18959
18959
  };
18960
18960
  }
18961
- }), BE = /* @__PURE__ */ ne(LE, [["__scopeId", "data-v-146c2c6e"]]), VE = (r) => (Kt("data-v-11108092"), r = r(), Ut(), r), FE = {
18961
+ }), BE = /* @__PURE__ */ ne(LE, [["__scopeId", "data-v-146c2c6e"]]), VE = (r) => (Kt("data-v-5b818bb9"), r = r(), Ut(), r), FE = {
18962
18962
  key: 0,
18963
18963
  class: "security-scheme-label"
18964
18964
  }, zE = {
@@ -19012,7 +19012,7 @@ const aE = ["innerHTML"], Es = /* @__PURE__ */ Q({
19012
19012
  ])) : H("", !0);
19013
19013
  };
19014
19014
  }
19015
- }), GE = /* @__PURE__ */ ne(WE, [["__scopeId", "data-v-11108092"]]);
19015
+ }), GE = /* @__PURE__ */ ne(WE, [["__scopeId", "data-v-5b818bb9"]]);
19016
19016
  var Qb = {};
19017
19017
  /*!
19018
19018
  * content-type
@@ -32584,7 +32584,7 @@ const tj = /* @__PURE__ */ Q({
32584
32584
  emits: ["toggleDarkMode"],
32585
32585
  setup(r) {
32586
32586
  const e = E0(
32587
- () => import("./index-BGfYoeTi.js").then((i) => i.ApiClient)
32587
+ () => import("./index-CHcyeiVh.js").then((i) => i.ApiClient)
32588
32588
  ), { hideApiClient: t, state: s } = Th(), n = Ah("(max-width: 1000px)"), o = ie(!1);
32589
32589
  return (i, a) => (S(), A(Z, null, [
32590
32590
  k(s).showApiClient || i.overloadShow ? (S(), A("div", pj, [
@@ -32649,7 +32649,7 @@ const tj = /* @__PURE__ */ Q({
32649
32649
  })) : H("", !0)
32650
32650
  ], 64));
32651
32651
  }
32652
- }), wj = /* @__PURE__ */ ne(vj, [["__scopeId", "data-v-5df46cc3"]]), cw = () => ({
32652
+ }), wj = /* @__PURE__ */ ne(vj, [["__scopeId", "data-v-206ad1a1"]]), cw = () => ({
32653
32653
  targetKey: "shell",
32654
32654
  clientKey: "curl"
32655
32655
  }), Co = Ur(cw());
@@ -32882,7 +32882,9 @@ const Pn = /* @__PURE__ */ ne(xj, [["render", Ej], ["__scopeId", "data-v-dcabb13
32882
32882
  tagNames: (o = zp.tagNames) == null ? void 0 : o.filter(
32883
32883
  (i) => !s.includes(i)
32884
32884
  )
32885
- }).use(Sk).use(wk, { target: "_blank" }).use(kk).use(xk).process(e.value);
32885
+ }).use(Sk, {
32886
+ detect: !0
32887
+ }).use(wk, { target: "_blank" }).use(kk).use(xk).process(e.value);
32886
32888
  t.value = String(n.value);
32887
32889
  },
32888
32890
  { immediate: !0 }
@@ -32891,7 +32893,7 @@ const Pn = /* @__PURE__ */ ne(xj, [["render", Ej], ["__scopeId", "data-v-dcabb13
32891
32893
  innerHTML: t.value
32892
32894
  }, null, 8, Fj));
32893
32895
  }
32894
- }), Ht = /* @__PURE__ */ ne(zj, [["__scopeId", "data-v-172b542f"]]), qj = ["title", "innerHTML"], Hj = /* @__PURE__ */ Q({
32896
+ }), Ht = /* @__PURE__ */ ne(zj, [["__scopeId", "data-v-bcae22de"]]), qj = ["title", "innerHTML"], Hj = /* @__PURE__ */ Q({
32895
32897
  __name: "ServerItem",
32896
32898
  props: {
32897
32899
  value: {},
@@ -35016,7 +35018,7 @@ const _B = /* @__PURE__ */ Q({
35016
35018
  ])) : (S(), A("div", MB, " No Body "));
35017
35019
  };
35018
35020
  }
35019
- }), x0 = /* @__PURE__ */ ne(DB, [["__scopeId", "data-v-800e8c7d"]]), RB = (r) => (Kt("data-v-469e6333"), r = r(), Ut(), r), jB = {
35021
+ }), x0 = /* @__PURE__ */ ne(DB, [["__scopeId", "data-v-800e8c7d"]]), RB = (r) => (Kt("data-v-314905de"), r = r(), Ut(), r), jB = {
35020
35022
  key: 1,
35021
35023
  class: "scalar-card-checkbox"
35022
35024
  }, LB = /* @__PURE__ */ RB(() => /* @__PURE__ */ F("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), BB = { class: "scalar-card-container custom-scroll" }, VB = {
@@ -35046,7 +35048,7 @@ const _B = /* @__PURE__ */ Q({
35046
35048
  );
35047
35049
  return (
35048
35050
  // OpenAPI 3.x
35049
- (h == null ? void 0 : h["application/json"]) ?? // Swagger 2.0
35051
+ (h == null ? void 0 : h["application/json"]) ?? (h == null ? void 0 : h["text/plain"]) ?? // Swagger 2.0
35050
35052
  a.value
35051
35053
  );
35052
35054
  }), c = oe(() => ({
@@ -35156,7 +35158,7 @@ const _B = /* @__PURE__ */ Q({
35156
35158
  _: 1
35157
35159
  })) : H("", !0);
35158
35160
  }
35159
- }), ww = /* @__PURE__ */ ne(FB, [["__scopeId", "data-v-469e6333"]]), zB = (r) => (Kt("data-v-f44e2b65"), r = r(), Ut(), r), qB = /* @__PURE__ */ zB(() => /* @__PURE__ */ F("span", null, "Test Request", -1)), HB = /* @__PURE__ */ Q({
35161
+ }), ww = /* @__PURE__ */ ne(FB, [["__scopeId", "data-v-314905de"]]), zB = (r) => (Kt("data-v-f44e2b65"), r = r(), Ut(), r), qB = /* @__PURE__ */ zB(() => /* @__PURE__ */ F("span", null, "Test Request", -1)), HB = /* @__PURE__ */ Q({
35160
35162
  __name: "TryRequestButton",
35161
35163
  props: {
35162
35164
  operation: {}
@@ -35486,7 +35488,7 @@ const _B = /* @__PURE__ */ Q({
35486
35488
  id: k(o)(c.tag)
35487
35489
  }, {
35488
35490
  default: T(() => [
35489
- J(re(c.tag.name), 1)
35491
+ J(re(c.tag["x-displayName"] ?? c.tag.name), 1)
35490
35492
  ]),
35491
35493
  _: 1
35492
35494
  }, 8, ["id"])
@@ -35552,7 +35554,7 @@ const _B = /* @__PURE__ */ Q({
35552
35554
  _: 1
35553
35555
  }, 8, ["id", "label"]));
35554
35556
  }
35555
- }), l8 = /* @__PURE__ */ ne(a8, [["__scopeId", "data-v-82b13b6d"]]), c8 = (r, e) => {
35557
+ }), l8 = /* @__PURE__ */ ne(a8, [["__scopeId", "data-v-b209ef2d"]]), c8 = (r, e) => {
35556
35558
  uk(r, e, { childList: !0, subtree: !0 });
35557
35559
  }, u8 = /* @__PURE__ */ Q({
35558
35560
  __name: "Tag",
@@ -36454,7 +36456,7 @@ function d9(r) {
36454
36456
  return !1;
36455
36457
  }
36456
36458
  }
36457
- const h9 = (r) => (Kt("data-v-8395f85c"), r = r(), Ut(), r), f9 = /* @__PURE__ */ h9(() => /* @__PURE__ */ F("div", { class: "ref-search-meta" }, [
36459
+ const h9 = (r) => (Kt("data-v-3445e6c6"), r = r(), Ut(), r), f9 = /* @__PURE__ */ h9(() => /* @__PURE__ */ F("div", { class: "ref-search-meta" }, [
36458
36460
  /* @__PURE__ */ F("span", null, "↑↓ Navigate"),
36459
36461
  /* @__PURE__ */ F("span", null, "⏎ Select")
36460
36462
  ], -1)), p9 = /* @__PURE__ */ Q({
@@ -36506,7 +36508,7 @@ const h9 = (r) => (Kt("data-v-8395f85c"), r = r(), Ut(), r), f9 = /* @__PURE__ *
36506
36508
  });
36507
36509
  }), o.value = o.value.concat(P)), (Le = e.parsedSpec.tags) == null || Le.forEach((ve) => {
36508
36510
  const Y = {
36509
- title: ve.name,
36511
+ title: ve["x-displayName"] ?? ve.name,
36510
36512
  href: `#${y(ve)}`,
36511
36513
  description: ve.description,
36512
36514
  type: "tag",
@@ -36658,7 +36660,7 @@ const h9 = (r) => (Kt("data-v-8395f85c"), r = r(), Ut(), r), f9 = /* @__PURE__ *
36658
36660
  _: 1
36659
36661
  }, 8, ["state"]));
36660
36662
  }
36661
- }), m9 = /* @__PURE__ */ ne(p9, [["__scopeId", "data-v-8395f85c"]]), g9 = (r) => (Kt("data-v-edb0a931"), r = r(), Ut(), r), y9 = { class: "sidebar-search-input" }, b9 = /* @__PURE__ */ g9(() => /* @__PURE__ */ F("span", { class: "sidebar-search-placeholder" }, "Search", -1)), v9 = { class: "sidebar-search-shortcut" }, w9 = { class: "sidebar-search-key" }, k9 = /* @__PURE__ */ Q({
36663
+ }), m9 = /* @__PURE__ */ ne(p9, [["__scopeId", "data-v-3445e6c6"]]), g9 = (r) => (Kt("data-v-edb0a931"), r = r(), Ut(), r), y9 = { class: "sidebar-search-input" }, b9 = /* @__PURE__ */ g9(() => /* @__PURE__ */ F("span", { class: "sidebar-search-placeholder" }, "Search", -1)), v9 = { class: "sidebar-search-shortcut" }, w9 = { class: "sidebar-search-key" }, k9 = /* @__PURE__ */ Q({
36662
36664
  __name: "SearchButton",
36663
36665
  props: {
36664
36666
  spec: {},