@scalar/api-reference 1.25.17 → 1.25.18

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":"OpenApiDocument.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/OpenApiDocument/OpenApiDocument.vue"],"names":[],"mappings":"AAgIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAUpD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAA;AAS3D,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAwC,CAAA;AAC1D,QAAA,MAAM,OAAO,uCAA8B,CAAA;AAC3C,QAAA,MAAM,MAAM;;;IAAyB,CAAA;AAIrC,QAAA,MAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG5B,CAAA;AAkFF,iBAAS,cAAc;mBAtDN;QACb,8BAA8B;QAC9B,aAAa,CAAC,EAAE,4BAA4B,CAAA;QAC5C,8CAA8C;QAC9C,MAAM,EAAE,OAAO,MAAM,CAAC,KAAK,CAAA;QAC3B,4CAA4C;QAC5C,OAAO,EAAE,OAAO,O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1 @@
1
- {"version":3,"file":"SearchModal.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Search/SearchModal.vue"],"names":[],"mappings":"AA0KA,OAAO,EAEL,KAAK,UAAU,EAKhB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;;gBAYlC,IAAI;gBACJ,UAAU;;gBADV,IAAI;gBACJ,UAAU;;AAmRxB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"SearchModal.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Search/SearchModal.vue"],"names":[],"mappings":"AA6LA,OAAO,EAEL,KAAK,UAAU,EAKhB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;;gBAclC,IAAI;gBACJ,UAAU;;gBADV,IAAI;gBACJ,UAAU;;AAoSxB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SearchModal.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-fb0fd0be"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-06438305"]]);
5
5
  export {
6
- e as default
6
+ p as default
7
7
  };
@@ -1,117 +1,127 @@
1
- import { defineComponent as B, toRef as R, ref as T, watch as U, openBlock as u, createBlock as k, unref as t, withCtx as r, createElementVNode as s, createVNode as h, isRef as q, createTextVNode as f, toDisplayString as d, createElementBlock as E, Fragment as L, renderList as M, createSlots as D, normalizeClass as H, pushScopeId as O, popScopeId as P } from "vue";
2
- import { ScalarModal as $, ScalarSearchInput as z, ScalarSearchResultList as K, ScalarSearchResultItem as W } from "@scalar/components";
3
- import Y from "../../components/Sidebar/SidebarHttpBadge.vue.js";
4
- import { useKeyboardNavigation as j } from "./useKeyboardNavigation.js";
5
- import { useSearchIndex as A } from "./useSearchIndex.js";
6
- import { useSidebar as G } from "../../hooks/useSidebar.js";
7
- const J = (l) => (O("data-v-fb0fd0be"), l = l(), P(), l), Q = /* @__PURE__ */ J(() => /* @__PURE__ */ s("div", { class: "ref-search-meta" }, [
8
- /* @__PURE__ */ s("span", null, "↑↓ Navigate"),
9
- /* @__PURE__ */ s("span", null, " Select")
10
- ], -1)), oe = /* @__PURE__ */ B({
1
+ import { defineComponent as T, toRef as v, ref as E, watch as U, openBlock as f, createBlock as R, unref as t, withCtx as l, createElementVNode as n, createVNode as S, isRef as q, createTextVNode as g, toDisplayString as p, createElementBlock as L, Fragment as M, renderList as z, createSlots as D, normalizeClass as H, pushScopeId as O, popScopeId as P } from "vue";
2
+ import { ScalarModal as $, ScalarSearchInput as K, ScalarSearchResultList as W, ScalarSearchResultItem as Y } from "@scalar/components";
3
+ import { lazyBus as j } from "../../components/Content/Lazy/lazyBus.js";
4
+ import A from "../../components/Sidebar/SidebarHttpBadge.vue.js";
5
+ import { useKeyboardNavigation as G } from "./useKeyboardNavigation.js";
6
+ import { useSearchIndex as J } from "./useSearchIndex.js";
7
+ import { useSidebar as Q } from "../../hooks/useSidebar.js";
8
+ import { scrollToId as k } from "../../helpers/scrollToId.js";
9
+ const X = (i) => (O("data-v-06438305"), i = i(), P(), i), Z = /* @__PURE__ */ X(() => /* @__PURE__ */ n("div", { class: "ref-search-meta" }, [
10
+ /* @__PURE__ */ n("span", null, "↑↓ Navigate"),
11
+ /* @__PURE__ */ n("span", null, "⏎ Select")
12
+ ], -1)), ie = /* @__PURE__ */ T({
11
13
  __name: "SearchModal",
12
14
  props: {
13
15
  parsedSpec: {},
14
16
  modalState: {}
15
17
  },
16
- setup(l) {
17
- const c = l, I = R(c, "parsedSpec"), _ = R(c.modalState.open), {
18
- resetSearch: b,
19
- fuseSearch: C,
20
- selectedSearchResult: m,
21
- searchResultsWithPlaceholderResults: p,
22
- searchText: i
23
- } = A({
24
- specification: I
18
+ setup(i) {
19
+ const c = i, _ = v(c, "parsedSpec"), b = v(c.modalState.open), {
20
+ resetSearch: C,
21
+ fuseSearch: w,
22
+ selectedSearchResult: u,
23
+ searchResultsWithPlaceholderResults: h,
24
+ searchText: d
25
+ } = J({
26
+ specification: _
25
27
  });
26
- j({
27
- selectedSearchResult: m,
28
- active: _,
29
- searchResultsWithPlaceholderResults: p,
30
- onSearchResultClick: S
28
+ G({
29
+ selectedSearchResult: u,
30
+ active: b,
31
+ searchResultsWithPlaceholderResults: h,
32
+ onSearchResultClick: I
31
33
  });
32
- const w = {
34
+ const V = {
33
35
  heading: "DocsPage",
34
36
  model: "Brackets",
35
37
  req: "Terminal",
36
38
  tag: "CodeFolder",
37
39
  webhook: "Terminal"
38
- }, V = T(null);
40
+ }, B = E(null);
39
41
  U(
40
42
  () => c.modalState.open,
41
- (o) => {
42
- o && b();
43
+ (a) => {
44
+ a && C();
43
45
  }
44
46
  );
45
- const { setCollapsedSidebarItem: N } = G(), x = /#(tag\/[^/]*)/;
46
- function S(o) {
47
- let a = "models";
48
- const e = o.item.href.match(x);
49
- e != null && e.length && e.length > 1 && (a = e[1]), N(a, !0), c.modalState.hide();
47
+ const { setCollapsedSidebarItem: N } = Q(), x = /#(tag\/[^/]*)/;
48
+ function I(a) {
49
+ let o = "models";
50
+ const e = a.item.href.match(x);
51
+ e != null && e.length && e.length > 1 && (o = e[1]), N(o, !0);
52
+ const r = a.item.href.replace("#", "");
53
+ if (document.getElementById(r))
54
+ k(r), c.modalState.hide();
55
+ else {
56
+ const s = j.on((m) => {
57
+ m.id === r && (k(r), s(), c.modalState.hide());
58
+ });
59
+ }
50
60
  }
51
- function F(o) {
52
- const a = new URL(window.location.href);
53
- return a.hash = o, a.toString();
61
+ function F(a) {
62
+ const o = new URL(window.location.href);
63
+ return o.hash = a, o.toString();
54
64
  }
55
- return (o, a) => (u(), k(t($), {
56
- state: o.modalState,
65
+ return (a, o) => (f(), R(t($), {
66
+ state: a.modalState,
57
67
  variant: "search"
58
68
  }, {
59
- default: r(() => [
60
- s("div", {
69
+ default: l(() => [
70
+ n("div", {
61
71
  ref_key: "searchModalRef",
62
- ref: V,
72
+ ref: B,
63
73
  class: "ref-search-container"
64
74
  }, [
65
- h(t(z), {
66
- modelValue: t(i),
67
- "onUpdate:modelValue": a[0] || (a[0] = (e) => q(i) ? i.value = e : null),
68
- onInput: t(C)
75
+ S(t(K), {
76
+ modelValue: t(d),
77
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => q(d) ? d.value = e : null),
78
+ onInput: t(w)
69
79
  }, null, 8, ["modelValue", "onInput"])
70
80
  ], 512),
71
- h(t(K), {
81
+ S(t(W), {
72
82
  class: "ref-search-results custom-scroll",
73
- noResults: !t(p).length
83
+ noResults: !t(h).length
74
84
  }, {
75
- query: r(() => [
76
- f(d(t(i)), 1)
85
+ query: l(() => [
86
+ g(p(t(d)), 1)
77
87
  ]),
78
- default: r(() => [
79
- (u(!0), E(L, null, M(t(p), (e, g) => (u(), k(t(W), {
88
+ default: l(() => [
89
+ (f(!0), L(M, null, z(t(h), (e, r) => (f(), R(t(Y), {
80
90
  id: e.item.href,
81
91
  key: e.refIndex,
82
- active: t(m) === g,
92
+ active: t(u) === r,
83
93
  href: F(e.item.href),
84
- icon: w[e.item.type],
85
- onClick: (n) => S(e),
86
- onFocus: (n) => m.value = g
94
+ icon: V[e.item.type],
95
+ onClick: (s) => I(e),
96
+ onFocus: (s) => u.value = r
87
97
  }, D({
88
- default: r(() => {
89
- var n, v;
98
+ default: l(() => {
99
+ var s, m;
90
100
  return [
91
- s("span", {
92
- class: H({ deprecated: (v = (n = e.item.operation) == null ? void 0 : n.information) == null ? void 0 : v.deprecated })
93
- }, d(e.item.title), 3)
101
+ n("span", {
102
+ class: H({ deprecated: (m = (s = e.item.operation) == null ? void 0 : s.information) == null ? void 0 : m.deprecated })
103
+ }, p(e.item.title), 3)
94
104
  ];
95
105
  }),
96
106
  _: 2
97
107
  }, [
98
108
  (e.item.httpVerb || e.item.path) && e.item.path !== e.item.title ? {
99
109
  name: "description",
100
- fn: r(() => [
101
- f(d(e.item.path), 1)
110
+ fn: l(() => [
111
+ g(p(e.item.path), 1)
102
112
  ]),
103
113
  key: "0"
104
114
  } : e.item.description ? {
105
115
  name: "description",
106
- fn: r(() => [
107
- f(d(e.item.description), 1)
116
+ fn: l(() => [
117
+ g(p(e.item.description), 1)
108
118
  ]),
109
119
  key: "1"
110
120
  } : void 0,
111
121
  e.item.type === "req" ? {
112
122
  name: "addon",
113
- fn: r(() => [
114
- h(Y, {
123
+ fn: l(() => [
124
+ S(A, {
115
125
  method: e.item.httpVerb ?? "get"
116
126
  }, null, 8, ["method"])
117
127
  ]),
@@ -121,12 +131,12 @@ const J = (l) => (O("data-v-fb0fd0be"), l = l(), P(), l), Q = /* @__PURE__ */ J(
121
131
  ]),
122
132
  _: 1
123
133
  }, 8, ["noResults"]),
124
- Q
134
+ Z
125
135
  ]),
126
136
  _: 1
127
137
  }, 8, ["state"]));
128
138
  }
129
139
  });
130
140
  export {
131
- oe as default
141
+ ie as default
132
142
  };
@@ -15,48 +15,48 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
15
15
  operations: {
16
16
  httpVerb: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS";
17
17
  path: string;
18
- operationId?: string;
19
- name?: string;
20
- description?: string;
18
+ operationId?: string | undefined;
19
+ name?: string | undefined;
20
+ description?: string | undefined;
21
21
  information?: {
22
- description?: string;
23
- operationId?: string | number;
22
+ description?: string | undefined;
23
+ operationId?: (string | number) | undefined;
24
24
  parameters?: {
25
25
  name: string;
26
- in?: string;
27
- description?: string;
28
- required?: boolean;
29
- deprecated?: boolean;
30
- allowEmptyValue?: boolean;
31
- style?: "form" | "simple";
32
- explode?: boolean;
33
- allowReserved?: boolean;
26
+ in?: string | undefined;
27
+ description?: string | undefined;
28
+ required?: boolean | undefined;
29
+ deprecated?: boolean | undefined;
30
+ allowEmptyValue?: boolean | undefined;
31
+ style?: ("form" | "simple") | undefined;
32
+ explode?: boolean | undefined;
33
+ allowReserved?: boolean | undefined;
34
34
  schema?: {
35
35
  type: string;
36
- name?: string;
36
+ name?: string | undefined;
37
37
  example?: any;
38
38
  default?: any;
39
- format?: string;
40
- description?: string;
41
- properties?: Record<string, import("@scalar/types/legacy").Schema>;
39
+ format?: string | undefined;
40
+ description?: string | undefined;
41
+ properties?: Record<string, import("@scalar/types/legacy").Schema> | undefined;
42
42
  } | undefined;
43
43
  example?: any;
44
44
  examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
45
- content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
45
+ content?: import("@scalar/types/legacy").RequestBodyMimeTypes | undefined;
46
46
  headers?: {
47
- [key: string]: import("@scalar/types/legacy").OpenAPI.HeaderObject;
48
- };
47
+ [key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
48
+ } | undefined;
49
49
  }[] | undefined;
50
- responses?: Record<string, import("@scalar/types/legacy").OpenAPI.ResponseObject>;
51
- security?: import("@scalar/types/legacy").OpenAPIV3.SecurityRequirementObject[];
50
+ responses?: Record<string, import("@scalar/openapi-types").OpenAPI.ResponseObject> | undefined;
51
+ security?: import("@scalar/openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
52
52
  requestBody?: {
53
- description?: string;
54
- required?: boolean;
55
- content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
53
+ description?: string | undefined;
54
+ required?: boolean | undefined;
55
+ content?: import("@scalar/types/legacy").RequestBodyMimeTypes | undefined;
56
56
  } | undefined;
57
- summary?: string;
58
- tags?: string[];
59
- deprecated?: boolean;
57
+ summary?: string | undefined;
58
+ tags?: string[] | undefined;
59
+ deprecated?: boolean | undefined;
60
60
  'x-custom-examples'?: {
61
61
  lang: string;
62
62
  label: string;
@@ -75,145 +75,145 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
75
75
  } | undefined;
76
76
  pathParameters?: {
77
77
  name: string;
78
- in?: string;
79
- description?: string;
80
- required?: boolean;
81
- deprecated?: boolean;
82
- allowEmptyValue?: boolean;
83
- style?: "form" | "simple";
84
- explode?: boolean;
85
- allowReserved?: boolean;
78
+ in?: string | undefined;
79
+ description?: string | undefined;
80
+ required?: boolean | undefined;
81
+ deprecated?: boolean | undefined;
82
+ allowEmptyValue?: boolean | undefined;
83
+ style?: ("form" | "simple") | undefined;
84
+ explode?: boolean | undefined;
85
+ allowReserved?: boolean | undefined;
86
86
  schema?: {
87
87
  type: string;
88
- name?: string;
88
+ name?: string | undefined;
89
89
  example?: any;
90
90
  default?: any;
91
- format?: string;
92
- description?: string;
93
- properties?: Record<string, import("@scalar/types/legacy").Schema>;
91
+ format?: string | undefined;
92
+ description?: string | undefined;
93
+ properties?: Record<string, import("@scalar/types/legacy").Schema> | undefined;
94
94
  } | undefined;
95
95
  example?: any;
96
96
  examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
97
- content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
97
+ content?: import("@scalar/types/legacy").RequestBodyMimeTypes | undefined;
98
98
  headers?: {
99
- [key: string]: import("@scalar/types/legacy").OpenAPI.HeaderObject;
100
- };
99
+ [key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
100
+ } | undefined;
101
101
  }[] | undefined;
102
102
  }[];
103
- 'x-displayName'?: string;
103
+ 'x-displayName'?: string | undefined;
104
104
  }[] | undefined;
105
105
  info: {
106
- title?: string;
107
- description?: string;
108
- termsOfService?: string;
106
+ title?: string | undefined;
107
+ description?: string | undefined;
108
+ termsOfService?: string | undefined;
109
109
  contact?: {
110
- name?: string;
111
- url?: string;
112
- email?: string;
110
+ name?: string | undefined;
111
+ url?: string | undefined;
112
+ email?: string | undefined;
113
113
  } | undefined;
114
114
  license?: {
115
- name?: string;
116
- url?: string;
115
+ name?: string | undefined;
116
+ url?: string | undefined;
117
117
  } | undefined;
118
- version?: string;
118
+ version?: string | undefined;
119
119
  } | {
120
- title?: string;
121
- description?: string;
122
- termsOfService?: string;
120
+ title?: string | undefined;
121
+ description?: string | undefined;
122
+ termsOfService?: string | undefined;
123
123
  contact?: {
124
- name?: string;
125
- url?: string;
126
- email?: string;
124
+ name?: string | undefined;
125
+ url?: string | undefined;
126
+ email?: string | undefined;
127
127
  } | undefined;
128
128
  license?: {
129
- name?: string;
130
- url?: string;
129
+ name?: string | undefined;
130
+ url?: string | undefined;
131
131
  } | undefined;
132
- version?: string;
132
+ version?: string | undefined;
133
133
  } | {
134
- description?: string;
135
- title?: string;
136
- termsOfService?: string;
134
+ description?: string | undefined;
135
+ title?: string | undefined;
136
+ termsOfService?: string | undefined;
137
137
  contact?: {
138
- name?: string;
139
- url?: string;
140
- email?: string;
138
+ name?: string | undefined;
139
+ url?: string | undefined;
140
+ email?: string | undefined;
141
141
  } | undefined;
142
- version?: string;
143
- summary?: string;
142
+ version?: string | undefined;
143
+ summary?: string | undefined;
144
144
  license?: {
145
- url?: string;
146
- name?: string;
147
- identifier?: string;
145
+ url?: string | undefined;
146
+ name?: string | undefined;
147
+ identifier?: string | undefined;
148
148
  } | undefined;
149
149
  } | undefined;
150
- host?: import("@scalar/types/legacy").OpenAPIV2.Document["host"];
151
- basePath?: import("@scalar/types/legacy").OpenAPIV2.Document["basePath"];
152
- schemes?: import("@scalar/types/legacy").OpenAPIV2.Document["schemes"];
150
+ host?: import("@scalar/openapi-types").OpenAPIV2.Document["host"];
151
+ basePath?: import("@scalar/openapi-types").OpenAPIV2.Document["basePath"];
152
+ schemes?: import("@scalar/openapi-types").OpenAPIV2.Document["schemes"];
153
153
  externalDocs?: {
154
154
  url: string;
155
- description?: string;
155
+ description?: string | undefined;
156
156
  } | undefined;
157
157
  servers?: {
158
- url?: string;
159
- description?: string;
158
+ url?: string | undefined;
159
+ description?: string | undefined;
160
160
  variables?: {
161
- [variable: string]: import("@scalar/types/legacy").OpenAPIV3.ServerVariableObject;
162
- };
161
+ [variable: string]: import("@scalar/openapi-types").OpenAPIV3.ServerVariableObject;
162
+ } | undefined;
163
163
  }[] | {
164
- url?: string;
165
- description?: string;
166
- variables?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ServerVariableObject>;
164
+ url?: string | undefined;
165
+ description?: string | undefined;
166
+ variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
167
167
  }[] | undefined;
168
168
  components?: {
169
169
  schemas?: {
170
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.SchemaObject;
171
- };
170
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject;
171
+ } | undefined;
172
172
  responses?: {
173
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.ResponseObject;
174
- };
173
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ResponseObject;
174
+ } | undefined;
175
175
  parameters?: {
176
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.ParameterObject;
177
- };
176
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ParameterObject;
177
+ } | undefined;
178
178
  examples?: {
179
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.ExampleObject;
180
- };
179
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ExampleObject;
180
+ } | undefined;
181
181
  requestBodies?: {
182
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.RequestBodyObject;
183
- };
182
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.RequestBodyObject;
183
+ } | undefined;
184
184
  headers?: {
185
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.HeaderObject;
186
- };
185
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.HeaderObject;
186
+ } | undefined;
187
187
  securitySchemes?: {
188
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.SecuritySchemeObject;
189
- };
188
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.SecuritySchemeObject;
189
+ } | undefined;
190
190
  links?: {
191
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.LinkObject;
192
- };
191
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.LinkObject;
192
+ } | undefined;
193
193
  callbacks?: {
194
- [key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.CallbackObject;
195
- };
194
+ [key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.CallbackObject;
195
+ } | undefined;
196
196
  } | {
197
- schemas?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.SchemaObject>;
198
- responses?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.ResponseObject>;
199
- parameters?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.ParameterObject>;
200
- examples?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.ExampleObject>;
201
- requestBodies?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.RequestBodyObject>;
202
- headers?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.HeaderObject>;
203
- securitySchemes?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.SecuritySchemeObject>;
204
- links?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.LinkObject>;
205
- callbacks?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.CallbackObject>;
206
- pathItems?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.PathItemObject>;
197
+ schemas?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | undefined;
198
+ responses?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ResponseObject> | undefined;
199
+ parameters?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ParameterObject> | undefined;
200
+ examples?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ExampleObject> | undefined;
201
+ requestBodies?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.RequestBodyObject> | undefined;
202
+ headers?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.HeaderObject> | undefined;
203
+ securitySchemes?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.SecuritySchemeObject> | undefined;
204
+ links?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.LinkObject> | undefined;
205
+ callbacks?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.CallbackObject> | undefined;
206
+ pathItems?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.PathItemObject> | undefined;
207
207
  } | undefined;
208
- webhooks?: import("@scalar/types/legacy").Webhooks;
209
- definitions?: import("@scalar/types/legacy").Definitions;
210
- swagger?: import("@scalar/types/legacy").OpenAPIV2.Document["swagger"];
211
- openapi?: import("@scalar/types/legacy").OpenAPIV3.Document["openapi"] | import("@scalar/types/legacy").OpenAPIV3_1.Document["openapi"];
208
+ webhooks?: import("@scalar/types/legacy").Webhooks | undefined;
209
+ definitions?: import("@scalar/types/legacy").Definitions | undefined;
210
+ swagger?: import("@scalar/openapi-types").OpenAPIV2.Document["swagger"];
211
+ openapi?: import("@scalar/openapi-types").OpenAPIV3.Document["openapi"] | import("@scalar/openapi-types").OpenAPIV3_1.Document["openapi"];
212
212
  'x-tagGroups'?: {
213
213
  name: string;
214
214
  tags: string[];
215
215
  }[] | undefined;
216
- security?: import("@scalar/types/legacy").OpenAPIV3.SecurityRequirementObject[];
216
+ security?: import("@scalar/openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
217
217
  };
218
218
  specErrors: import("vue").Ref<string | null>;
219
219
  };