@scalar/api-reference 1.31.8 → 1.31.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.
Files changed (183) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/browser/standalone.js +18613 -18470
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReference.vue.js +10 -30
  6. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  7. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  8. package/dist/components/ApiReferenceLayout.vue2.js +240 -222
  9. package/dist/components/Content/Content.vue.d.ts +2 -0
  10. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Content.vue.js +2 -2
  12. package/dist/components/Content/Content.vue2.js +84 -74
  13. package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -3
  14. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  16. package/dist/components/Content/Introduction/Introduction.vue2.js +93 -83
  17. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Lazy/Loading.vue.js +84 -86
  19. package/dist/components/Content/Models/Models.vue.js +1 -1
  20. package/dist/components/Content/Models/Models.vue2.js +4 -4
  21. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  23. package/dist/components/Content/Schema/Schema.vue2.js +53 -53
  24. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +1 -1
  26. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  28. package/dist/components/Content/Schema/SchemaProperty.vue2.js +117 -112
  29. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
  31. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +161 -191
  32. package/dist/components/Content/Schema/helpers/schema-name.d.ts +13 -0
  33. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  34. package/dist/components/Content/Schema/helpers/schema-name.js +59 -13
  35. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -1
  36. package/dist/components/Content/Tag/OperationsList.vue.js +1 -1
  37. package/dist/components/Content/Tag/OperationsList.vue2.js +22 -25
  38. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +2 -3
  39. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Tag/OperationsListItem.vue.js +2 -2
  41. package/dist/components/Content/Tag/OperationsListItem.vue2.js +46 -47
  42. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Tag/Tag.vue.js +45 -47
  44. package/dist/components/Content/Tag/TagList.vue.d.ts +2 -0
  45. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  46. package/dist/components/Content/Tag/TagList.vue.js +40 -41
  47. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -1
  48. package/dist/components/Content/Tag/TagSection.vue.js +2 -2
  49. package/dist/components/Content/Tag/TagSection.vue2.js +21 -21
  50. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +16 -1
  51. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  52. package/dist/components/HttpMethod/HttpMethod.vue.js +12 -11
  53. package/dist/components/MobileHeader.vue.d.ts +1 -8
  54. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  55. package/dist/components/MobileHeader.vue.js +1 -1
  56. package/dist/components/MobileHeader.vue2.js +19 -19
  57. package/dist/components/Section/Section.vue.js +2 -2
  58. package/dist/components/Section/Section.vue2.js +1 -1
  59. package/dist/components/ShowMoreButton.vue.js +2 -2
  60. package/dist/components/ShowMoreButton.vue2.js +1 -1
  61. package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -4
  62. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  63. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  64. package/dist/components/Sidebar/Sidebar.vue2.js +113 -159
  65. package/dist/components/Sidebar/SidebarElement.vue.d.ts +2 -11
  66. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  67. package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
  68. package/dist/components/Sidebar/SidebarElement.vue2.js +85 -81
  69. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +16 -1
  70. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
  71. package/dist/components/Sidebar/SidebarHttpBadge.vue.js +2 -2
  72. package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +11 -5
  73. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  74. package/dist/features/ApiClientModal/ApiClientModal.vue.js +54 -42
  75. package/dist/features/ApiClientModal/useApiClient.d.ts +74 -72
  76. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  77. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +0 -2
  78. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -1
  79. package/dist/features/DocumentSource/hooks/useDocumentSource.js +40 -67
  80. package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
  81. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +5 -5
  82. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  83. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  84. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +200 -179
  85. package/dist/features/Operation/Operation.vue.d.ts +0 -1
  86. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  87. package/dist/features/Operation/Operation.vue.js +31 -34
  88. package/dist/features/Operation/components/OperationParameters.vue.d.ts +3 -2
  89. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  90. package/dist/features/Operation/components/OperationParameters.vue.js +62 -64
  91. package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -2
  92. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  93. package/dist/features/Operation/components/OperationResponses.vue.js +2 -2
  94. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  95. package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
  96. package/dist/features/Operation/components/callbacks/Callback.vue2.js +31 -38
  97. package/dist/features/Operation/hooks/useResponses.d.ts +3 -3
  98. package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
  99. package/dist/features/Operation/hooks/useResponses.js +12 -13
  100. package/dist/features/Operation/index.d.ts +0 -1
  101. package/dist/features/Operation/index.d.ts.map +1 -1
  102. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +4 -6
  103. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  104. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  105. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +85 -72
  106. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +2 -4
  107. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  108. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  109. package/dist/features/Operation/layouts/ModernLayout.vue2.js +114 -98
  110. package/dist/features/Search/SearchModal.vue.js +2 -2
  111. package/dist/features/Search/SearchModal.vue2.js +1 -1
  112. package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
  113. package/dist/features/Search/useSearchIndex.js +61 -64
  114. package/dist/features/sidebar/helpers/create-sidebar.d.ts +4 -2
  115. package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
  116. package/dist/features/sidebar/helpers/create-sidebar.js +33 -0
  117. package/dist/features/sidebar/hooks/useSidebar.d.ts +2 -3
  118. package/dist/features/sidebar/hooks/useSidebar.d.ts.map +1 -1
  119. package/dist/features/sidebar/hooks/useSidebar.js +18 -0
  120. package/dist/features/sidebar/index.d.ts +2 -1
  121. package/dist/features/sidebar/index.d.ts.map +1 -1
  122. package/dist/features/traverse-schema/helpers/get-tag.d.ts +4 -2
  123. package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
  124. package/dist/features/traverse-schema/helpers/get-tag.js +7 -0
  125. package/dist/features/traverse-schema/helpers/traverse-description.js +33 -0
  126. package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
  127. package/dist/features/traverse-schema/helpers/traverse-document.js +34 -0
  128. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +5 -3
  129. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
  130. package/dist/features/traverse-schema/helpers/traverse-paths.js +32 -0
  131. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +2 -2
  132. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
  133. package/dist/features/traverse-schema/helpers/traverse-schemas.js +23 -0
  134. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +2 -2
  135. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
  136. package/dist/features/traverse-schema/helpers/traverse-tags.js +43 -0
  137. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +2 -2
  138. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
  139. package/dist/features/traverse-schema/helpers/traverse-webhooks.js +26 -0
  140. package/dist/features/traverse-schema/index.d.ts +3 -3
  141. package/dist/features/traverse-schema/index.d.ts.map +1 -1
  142. package/dist/features/traverse-schema/types.d.ts +8 -5
  143. package/dist/features/traverse-schema/types.d.ts.map +1 -1
  144. package/dist/helpers/parse.d.ts +2 -1
  145. package/dist/helpers/parse.d.ts.map +1 -1
  146. package/dist/helpers/parse.js +72 -88
  147. package/dist/hooks/useMultipleDocuments.d.ts +6 -6
  148. package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
  149. package/dist/hooks/useNavState.d.ts +1 -1
  150. package/dist/hooks/useNavState.d.ts.map +1 -1
  151. package/dist/hooks/useNavState.js +14 -9
  152. package/dist/hooks/useOperation.d.ts +7 -7
  153. package/dist/hooks/useOperation.d.ts.map +1 -1
  154. package/dist/hooks/useOperation.js +13 -12
  155. package/dist/index.d.ts +0 -1
  156. package/dist/index.d.ts.map +1 -1
  157. package/dist/index.js +23 -25
  158. package/dist/legacy/fixtures/index.d.ts +1 -1
  159. package/dist/libs/openapi.d.ts +3 -4
  160. package/dist/libs/openapi.d.ts.map +1 -1
  161. package/dist/libs/openapi.js +8 -9
  162. package/dist/style.css +1 -1
  163. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +4 -18
  164. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  165. package/dist/v2/ApiReferenceWorkspace.vue.js +68 -45
  166. package/package.json +16 -16
  167. package/dist/components/Content/Webhooks/index.d.ts +0 -2
  168. package/dist/components/Content/Webhooks/index.d.ts.map +0 -1
  169. package/dist/features/Operation/Webhooks.vue.d.ts +0 -7
  170. package/dist/features/Operation/Webhooks.vue.d.ts.map +0 -1
  171. package/dist/features/Operation/Webhooks.vue.js +0 -7
  172. package/dist/features/Operation/Webhooks.vue2.js +0 -121
  173. package/dist/features/Operation/components/Webhook.vue.d.ts +0 -7
  174. package/dist/features/Operation/components/Webhook.vue.d.ts.map +0 -1
  175. package/dist/features/Operation/components/Webhook.vue.js +0 -7
  176. package/dist/features/Operation/components/Webhook.vue2.js +0 -29
  177. package/dist/features/traverse-schema/helpers/operation-id-params.d.ts +0 -8
  178. package/dist/features/traverse-schema/helpers/operation-id-params.d.ts.map +0 -1
  179. package/dist/features/traverse-schema/helpers/operation-id-params.js +0 -8
  180. package/dist/hooks/useSidebar.d.ts +0 -53
  181. package/dist/hooks/useSidebar.d.ts.map +0 -1
  182. package/dist/hooks/useSidebar.js +0 -248
  183. package/dist/legacy/fixtures/httpRequestMethods.js +0 -14
@@ -1,248 +0,0 @@
1
- import { lazyBus as Z } from "../components/Content/Lazy/lazyBus.js";
2
- import { scrollToId as F } from "@scalar/helpers/dom/scroll-to-id";
3
- import { useNavState as $ } from "./useNavState.js";
4
- import { getHeadingsFromMarkdown as ee, getLowestHeadingLevel as z } from "../libs/markdown.js";
5
- import { isOperationDeprecated as U, hasModels as te, getModels as _, hasWebhooks as se } from "../libs/openapi.js";
6
- import { ssrState as re } from "@scalar/oas-utils/helpers";
7
- import { reactive as q, ref as w, watch as N, computed as J } from "vue";
8
- import { operationIdParams as P } from "../features/traverse-schema/helpers/operation-id-params.js";
9
- const oe = "introduction", O = w(null), c = w(void 0), g = q({});
10
- function R(t) {
11
- var p, s, n;
12
- g.tagsSorter === "alpha" ? t.tags = (p = t.tags) == null ? void 0 : p.sort((r, l) => r.name.localeCompare(l.name)) : typeof g.tagsSorter == "function" && (t.tags = (s = t.tags) == null ? void 0 : s.sort(g.tagsSorter));
13
- const a = (r, l) => {
14
- const I = r.name ?? r.path, m = l.name ?? l.path;
15
- return I.localeCompare(m);
16
- }, i = (r, l) => r.httpVerb.localeCompare(l.httpVerb);
17
- let d;
18
- return g.operationsSorter === "alpha" ? d = a : g.operationsSorter === "method" ? d = i : typeof g.operationsSorter == "function" && (d = g.operationsSorter), d && ((n = t.tags) == null || n.forEach((r) => {
19
- var l;
20
- r.operations = (l = r.operations) == null ? void 0 : l.sort(d);
21
- })), c.value = t;
22
- }
23
- const K = w(!1), Q = w(!1), y = q(re["useSidebarContent-collapsedSidebarItems"] ?? {});
24
- function ae(t) {
25
- y[t] = !y[t];
26
- }
27
- function T(t, a) {
28
- y[t] = a;
29
- }
30
- const x = w([]);
31
- function ie(t) {
32
- const a = ee(t), i = z(a);
33
- return a.filter((d) => (
34
- // highest level, eg. # Introduction
35
- d.depth === i || // second highest level, eg. ## Authentication
36
- d.depth === i + 1
37
- ));
38
- }
39
- const X = J(() => {
40
- var M, C, E, B, D, L, j, G, V, W;
41
- if (!O.value)
42
- return { entries: [], titles: {} };
43
- const { getHeadingId: t, getModelId: a, getOperationId: i, getTagId: d, getWebhookId: p } = O.value, s = {}, n = [];
44
- let r = null;
45
- x.value.forEach((e) => {
46
- var o;
47
- e.depth === z(x.value) ? (r = {
48
- id: t(e),
49
- title: e.value,
50
- show: !0,
51
- children: []
52
- }, n.push(r)) : r && ((o = r.children) == null || o.push({
53
- id: t(e),
54
- title: e.value,
55
- show: !0
56
- }));
57
- });
58
- const l = (C = (M = c.value) == null ? void 0 : M.tags) == null ? void 0 : C[0], m = l && ((e) => (e == null ? void 0 : e.length) !== 1 || e[0].name !== "default" || e[0].description !== "")((E = c.value) == null ? void 0 : E.tags) ? (D = (B = c.value) == null ? void 0 : B.tags) == null ? void 0 : D.filter((e) => {
59
- var o;
60
- return ((o = e.operations) == null ? void 0 : o.length) > 0;
61
- }).map((e) => {
62
- var o;
63
- return {
64
- id: d(e),
65
- title: e.name,
66
- displayTitle: e["x-displayName"] ?? e.name,
67
- show: !0,
68
- children: (o = e.operations) == null ? void 0 : o.map((u) => {
69
- var v, b;
70
- const f = i(P(u), e), h = u.name ?? u.path;
71
- return s[f] = h, {
72
- id: f,
73
- title: h,
74
- httpVerb: u.httpVerb,
75
- // TODO: Workaround until we’re using the store directly
76
- deprecated: u.information ? U({
77
- deprecated: (v = u.information) == null ? void 0 : v.deprecated,
78
- "x-scalar-stability": (b = u.information) == null ? void 0 : b["x-scalar-stability"]
79
- }) : !1,
80
- show: !0,
81
- select: () => {
82
- }
83
- };
84
- })
85
- };
86
- }) : (L = l == null ? void 0 : l.operations) == null ? void 0 : L.map((e) => {
87
- var f, h;
88
- const o = i(P(e), l), u = e.name ?? e.path;
89
- return s[o] = u, {
90
- id: o,
91
- title: u,
92
- httpVerb: e.httpVerb,
93
- // TODO: Workaround until we’re using the store directly
94
- deprecated: e.information ? U({
95
- deprecated: (f = e.information) == null ? void 0 : f.deprecated,
96
- "x-scalar-stability": (h = e.information) == null ? void 0 : h["x-scalar-stability"]
97
- }) : !1,
98
- show: !0,
99
- select: () => {
100
- }
101
- };
102
- });
103
- let S = te(c.value) && !K.value ? [
104
- {
105
- id: a(),
106
- title: "Models",
107
- show: !0,
108
- children: Object.keys(_(c.value) ?? {}).map((e) => {
109
- var u;
110
- const o = a({ name: e });
111
- return s[o] = e, {
112
- id: o,
113
- title: ((u = _(c.value)) == null ? void 0 : u[e]).title ?? e,
114
- show: !0
115
- };
116
- })
117
- }
118
- ] : [], k = se(c.value) ? [
119
- {
120
- id: p(),
121
- title: "Webhooks",
122
- show: !0,
123
- children: Object.keys(((j = c.value) == null ? void 0 : j.webhooks) ?? {}).flatMap((e) => {
124
- var u, f;
125
- const o = p({ name: e });
126
- return s[o] = e, Object.keys(((f = (u = c.value) == null ? void 0 : u.webhooks) == null ? void 0 : f[e]) ?? {}).map(
127
- (h) => {
128
- var v, b, A;
129
- return {
130
- id: p({ name: e, method: h }),
131
- title: (A = (b = (v = c.value) == null ? void 0 : v.webhooks) == null ? void 0 : b[e][h]) == null ? void 0 : A.name,
132
- httpVerb: h,
133
- show: !0
134
- };
135
- }
136
- );
137
- })
138
- }
139
- ] : [];
140
- const Y = (G = c.value) != null && G["x-tagGroups"] ? (W = (V = c.value) == null ? void 0 : V["x-tagGroups"]) == null ? void 0 : W.map((e) => {
141
- var f;
142
- const o = [];
143
- return (f = e.tags) == null || f.map((h) => {
144
- if (h === "models" && S.length > 0)
145
- o.push(S[0]), S = [];
146
- else if (h === "webhooks" && k.length > 0)
147
- o.push(k[0]), k = [];
148
- else {
149
- const v = m == null ? void 0 : m.find((b) => b.title === h);
150
- v && o.push(v);
151
- }
152
- }), {
153
- id: e.name,
154
- title: e.name,
155
- children: o,
156
- show: !0,
157
- isGroup: !0
158
- };
159
- }) : void 0, H = [
160
- ...n,
161
- ...Y ?? m ?? [],
162
- ...k,
163
- ...S
164
- ];
165
- return Q.value && H.forEach((e) => {
166
- T(e.id, !0), e.show = !0;
167
- }), {
168
- entries: H,
169
- titles: s
170
- };
171
- }), ne = w(!1), le = J(() => {
172
- var t, a, i;
173
- return ((i = (t = X.value) == null ? void 0 : t.titles) == null ? void 0 : i[((a = O.value) == null ? void 0 : a.hash) ?? ""]) ?? "";
174
- }), ue = (t, a) => {
175
- var d;
176
- const i = (d = O.value) == null ? void 0 : d.getSectionId(t);
177
- if (i && i !== t)
178
- if (y[i])
179
- F(t, a);
180
- else {
181
- const p = Z.on((s) => {
182
- s.id === t && (F(t, a), p());
183
- });
184
- T(i, !0);
185
- }
186
- };
187
- function be(t) {
188
- Object.assign(g, t);
189
- const a = $();
190
- O.value = a;
191
- const { hash: i, getSectionId: d, getTagId: p } = a;
192
- return t != null && t.parsedSpec && (R(t.parsedSpec), N(
193
- () => {
194
- var s, n;
195
- return (n = (s = c.value) == null ? void 0 : s.tags) == null ? void 0 : n.length;
196
- },
197
- () => {
198
- var s, n;
199
- if (i.value) {
200
- const r = d(i.value);
201
- r && T(r, !0);
202
- } else {
203
- const r = (n = (s = c.value) == null ? void 0 : s.tags) == null ? void 0 : n[0];
204
- r && T(p(r), !0);
205
- }
206
- }
207
- ), N(
208
- () => {
209
- var s, n;
210
- return (n = (s = c.value) == null ? void 0 : s.info) == null ? void 0 : n.description;
211
- },
212
- () => {
213
- var r, l, I, m;
214
- const s = (I = (l = (r = c.value) == null ? void 0 : r.info) == null ? void 0 : l.description) == null ? void 0 : I.trim();
215
- if (!s)
216
- return x.value = [];
217
- const n = ie(s);
218
- if (s && !s.startsWith("#")) {
219
- const S = {
220
- depth: ((m = n[0]) == null ? void 0 : m.depth) ?? 1,
221
- value: "Introduction",
222
- slug: oe
223
- };
224
- n.unshift(S);
225
- }
226
- return x.value = n;
227
- },
228
- {
229
- immediate: !0
230
- }
231
- )), {
232
- breadcrumb: le,
233
- items: X,
234
- isSidebarOpen: ne,
235
- collapsedSidebarItems: y,
236
- toggleCollapsedSidebarItem: ae,
237
- setCollapsedSidebarItem: T,
238
- hideModels: K,
239
- setParsedSpec: R,
240
- defaultOpenAllTags: Q,
241
- scrollToOperation: ue
242
- };
243
- }
244
- export {
245
- oe as DEFAULT_INTRODUCTION_SLUG,
246
- ue as scrollToOperation,
247
- be as useSidebar
248
- };
@@ -1,14 +0,0 @@
1
- const T = [
2
- "GET",
3
- "POST",
4
- "PUT",
5
- "HEAD",
6
- "DELETE",
7
- "PATCH",
8
- "OPTIONS",
9
- "CONNECT",
10
- "TRACE"
11
- ];
12
- export {
13
- T as validRequestMethods
14
- };