@scalar/workspace-store 0.6.0 → 0.8.0

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 (218) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +116 -0
  3. package/dist/client.d.ts +71 -44614
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +146 -11
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/apply-selective-updates.d.ts +17 -0
  8. package/dist/helpers/apply-selective-updates.d.ts.map +1 -0
  9. package/dist/helpers/apply-selective-updates.js +13 -0
  10. package/dist/helpers/apply-selective-updates.js.map +7 -0
  11. package/dist/helpers/general.d.ts +33 -0
  12. package/dist/helpers/general.d.ts.map +1 -1
  13. package/dist/helpers/general.js +14 -1
  14. package/dist/helpers/general.js.map +2 -2
  15. package/dist/helpers/json-path-utils.d.ts +1 -1
  16. package/dist/helpers/json-path-utils.d.ts.map +1 -1
  17. package/dist/helpers/json-path-utils.js.map +2 -2
  18. package/dist/helpers/merge-object.d.ts +23 -0
  19. package/dist/helpers/merge-object.d.ts.map +1 -0
  20. package/dist/helpers/merge-object.js +20 -0
  21. package/dist/helpers/merge-object.js.map +7 -0
  22. package/dist/helpers/proxy.d.ts +1 -1
  23. package/dist/helpers/proxy.d.ts.map +1 -1
  24. package/dist/helpers/proxy.js.map +2 -2
  25. package/dist/mutators/cookie.d.ts +17 -0
  26. package/dist/mutators/cookie.d.ts.map +1 -0
  27. package/dist/mutators/cookie.js +31 -0
  28. package/dist/mutators/cookie.js.map +7 -0
  29. package/dist/mutators/environment.d.ts +17 -0
  30. package/dist/mutators/environment.d.ts.map +1 -0
  31. package/dist/mutators/environment.js +31 -0
  32. package/dist/mutators/environment.js.map +7 -0
  33. package/dist/mutators/helpers.d.ts +34492 -0
  34. package/dist/mutators/helpers.d.ts.map +1 -0
  35. package/dist/mutators/helpers.js +11 -0
  36. package/dist/mutators/helpers.js.map +7 -0
  37. package/dist/mutators/index.d.ts +108 -0
  38. package/dist/mutators/index.d.ts.map +1 -0
  39. package/dist/mutators/index.js +67 -0
  40. package/dist/mutators/index.js.map +7 -0
  41. package/dist/mutators/request-example.d.ts +21 -0
  42. package/dist/mutators/request-example.d.ts.map +1 -0
  43. package/dist/mutators/request-example.js +58 -0
  44. package/dist/mutators/request-example.js.map +7 -0
  45. package/dist/mutators/request.d.ts +22 -0
  46. package/dist/mutators/request.d.ts.map +1 -0
  47. package/dist/mutators/request.js +53 -0
  48. package/dist/mutators/request.js.map +7 -0
  49. package/dist/mutators/security-schemes.d.ts +14 -0
  50. package/dist/mutators/security-schemes.d.ts.map +1 -0
  51. package/dist/mutators/security-schemes.js +27 -0
  52. package/dist/mutators/security-schemes.js.map +7 -0
  53. package/dist/mutators/server.d.ts +12 -0
  54. package/dist/mutators/server.d.ts.map +1 -0
  55. package/dist/mutators/server.js +24 -0
  56. package/dist/mutators/server.js.map +7 -0
  57. package/dist/schemas/compose.d.ts.map +1 -0
  58. package/dist/schemas/{v3.1/compose.js.map → compose.js.map} +1 -1
  59. package/dist/schemas/reference-config/appearance.d.ts +13 -0
  60. package/dist/schemas/reference-config/appearance.d.ts.map +1 -0
  61. package/dist/schemas/reference-config/appearance.js +26 -0
  62. package/dist/schemas/reference-config/appearance.js.map +7 -0
  63. package/dist/schemas/reference-config/features.d.ts +15 -0
  64. package/dist/schemas/reference-config/features.d.ts.map +1 -0
  65. package/dist/schemas/reference-config/features.js +30 -0
  66. package/dist/schemas/reference-config/features.js.map +7 -0
  67. package/dist/schemas/reference-config/index.d.ts +53 -0
  68. package/dist/schemas/reference-config/index.d.ts.map +1 -0
  69. package/dist/schemas/reference-config/index.js +66 -0
  70. package/dist/schemas/reference-config/index.js.map +7 -0
  71. package/dist/schemas/reference-config/meta.d.ts +12 -0
  72. package/dist/schemas/reference-config/meta.d.ts.map +1 -0
  73. package/dist/schemas/reference-config/meta.js +24 -0
  74. package/dist/schemas/reference-config/meta.js.map +7 -0
  75. package/dist/schemas/reference-config/routing.d.ts +8 -0
  76. package/dist/schemas/reference-config/routing.d.ts.map +1 -0
  77. package/dist/schemas/reference-config/routing.js +16 -0
  78. package/dist/schemas/reference-config/routing.js.map +7 -0
  79. package/dist/schemas/reference-config/settings.d.ts +8 -0
  80. package/dist/schemas/reference-config/settings.d.ts.map +1 -0
  81. package/dist/schemas/reference-config/settings.js +16 -0
  82. package/dist/schemas/reference-config/settings.js.map +7 -0
  83. package/dist/schemas/v3.1/strict/callback.js +1 -1
  84. package/dist/schemas/v3.1/strict/callback.js.map +1 -1
  85. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +16 -0
  86. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -0
  87. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +13 -0
  88. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +7 -0
  89. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +27 -0
  90. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -0
  91. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js +23 -0
  92. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +7 -0
  93. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +38 -0
  94. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +1 -0
  95. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +45 -0
  96. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +7 -0
  97. package/dist/schemas/v3.1/strict/components.d.ts +45 -7821
  98. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  99. package/dist/schemas/v3.1/strict/components.js +4 -2
  100. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  101. package/dist/schemas/v3.1/strict/contact.js +1 -1
  102. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  103. package/dist/schemas/v3.1/strict/discriminator.js +1 -1
  104. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  105. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  106. package/dist/schemas/v3.1/strict/encoding.js.map +1 -1
  107. package/dist/schemas/v3.1/strict/example.js +1 -1
  108. package/dist/schemas/v3.1/strict/example.js.map +1 -1
  109. package/dist/schemas/v3.1/strict/external-documentation.js +1 -1
  110. package/dist/schemas/v3.1/strict/external-documentation.js.map +1 -1
  111. package/dist/schemas/v3.1/strict/header.d.ts +2 -0
  112. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  113. package/dist/schemas/v3.1/strict/header.js +1 -1
  114. package/dist/schemas/v3.1/strict/header.js.map +1 -1
  115. package/dist/schemas/v3.1/strict/info.js +1 -1
  116. package/dist/schemas/v3.1/strict/info.js.map +1 -1
  117. package/dist/schemas/v3.1/strict/license.js +1 -1
  118. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  119. package/dist/schemas/v3.1/strict/link.js +1 -1
  120. package/dist/schemas/v3.1/strict/link.js.map +1 -1
  121. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +6 -0
  122. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -1
  123. package/dist/schemas/v3.1/strict/media-type.d.ts +1 -0
  124. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  125. package/dist/schemas/v3.1/strict/media-type.js +1 -1
  126. package/dist/schemas/v3.1/strict/media-type.js.map +1 -1
  127. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +73 -2
  128. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  129. package/dist/schemas/v3.1/strict/oauth-flow.js +45 -8
  130. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  131. package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -10
  132. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  133. package/dist/schemas/v3.1/strict/oauthflows.js +12 -9
  134. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  135. package/dist/schemas/v3.1/strict/openapi-document.d.ts +16 -0
  136. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  137. package/dist/schemas/v3.1/strict/openapi-document.js +9 -2
  138. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  139. package/dist/schemas/v3.1/strict/operation.d.ts +29 -2
  140. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  141. package/dist/schemas/v3.1/strict/operation.js +8 -1
  142. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  143. package/dist/schemas/v3.1/strict/parameter.d.ts +11 -5
  144. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  145. package/dist/schemas/v3.1/strict/parameter.js +2 -2
  146. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  147. package/dist/schemas/v3.1/strict/path-item.d.ts +11 -2
  148. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  149. package/dist/schemas/v3.1/strict/path-item.js +7 -1
  150. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  151. package/dist/schemas/v3.1/strict/path-operations.d.ts +4133 -260
  152. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -1
  153. package/dist/schemas/v3.1/strict/paths.d.ts +1935 -15
  154. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  155. package/dist/schemas/v3.1/strict/paths.js +1 -1
  156. package/dist/schemas/v3.1/strict/paths.js.map +1 -1
  157. package/dist/schemas/v3.1/strict/reference.js +1 -1
  158. package/dist/schemas/v3.1/strict/reference.js.map +1 -1
  159. package/dist/schemas/v3.1/strict/request-body.d.ts +2 -0
  160. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  161. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  162. package/dist/schemas/v3.1/strict/request-body.js.map +1 -1
  163. package/dist/schemas/v3.1/strict/response.d.ts +4 -0
  164. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  165. package/dist/schemas/v3.1/strict/response.js +1 -1
  166. package/dist/schemas/v3.1/strict/response.js.map +1 -1
  167. package/dist/schemas/v3.1/strict/responses.d.ts +4 -0
  168. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  169. package/dist/schemas/v3.1/strict/responses.js +1 -1
  170. package/dist/schemas/v3.1/strict/responses.js.map +1 -1
  171. package/dist/schemas/v3.1/strict/schema.d.ts +6 -1
  172. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  173. package/dist/schemas/v3.1/strict/schema.js +8 -3
  174. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  175. package/dist/schemas/v3.1/strict/security-requirement.js +1 -1
  176. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  177. package/dist/schemas/v3.1/strict/security-scheme.d.ts +22 -20
  178. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  179. package/dist/schemas/v3.1/strict/security-scheme.js +1 -1
  180. package/dist/schemas/v3.1/strict/security-scheme.js.map +1 -1
  181. package/dist/schemas/v3.1/strict/server-variable.js +1 -1
  182. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  183. package/dist/schemas/v3.1/strict/server.js +1 -1
  184. package/dist/schemas/v3.1/strict/server.js.map +1 -1
  185. package/dist/schemas/v3.1/strict/tag.js +1 -1
  186. package/dist/schemas/v3.1/strict/tag.js.map +1 -1
  187. package/dist/schemas/v3.1/strict/xml.js +1 -1
  188. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  189. package/dist/schemas/v3.1/type-guard.d.ts +5 -0
  190. package/dist/schemas/v3.1/type-guard.d.ts.map +1 -1
  191. package/dist/schemas/v3.1/type-guard.js +1 -3
  192. package/dist/schemas/v3.1/type-guard.js.map +2 -2
  193. package/dist/schemas/workspace-specification/config.d.ts +48 -0
  194. package/dist/schemas/workspace-specification/config.d.ts.map +1 -0
  195. package/dist/schemas/workspace-specification/config.js +11 -0
  196. package/dist/schemas/workspace-specification/config.js.map +7 -0
  197. package/dist/schemas/workspace-specification/index.d.ts +163 -0
  198. package/dist/schemas/workspace-specification/index.d.ts.map +1 -0
  199. package/dist/schemas/workspace-specification/index.js +27 -0
  200. package/dist/schemas/workspace-specification/index.js.map +7 -0
  201. package/dist/schemas/workspace-specification/info.d.ts +5 -0
  202. package/dist/schemas/workspace-specification/info.d.ts.map +1 -0
  203. package/dist/schemas/workspace-specification/info.js +9 -0
  204. package/dist/schemas/workspace-specification/info.js.map +7 -0
  205. package/dist/schemas/workspace.d.ts +147 -79
  206. package/dist/schemas/workspace.d.ts.map +1 -1
  207. package/dist/schemas/workspace.js +19 -4
  208. package/dist/schemas/workspace.js.map +2 -2
  209. package/dist/server.d.ts +1371 -673
  210. package/dist/server.d.ts.map +1 -1
  211. package/dist/types.d.ts +57 -0
  212. package/dist/types.d.ts.map +1 -0
  213. package/dist/types.js +1 -0
  214. package/dist/types.js.map +7 -0
  215. package/package.json +23 -9
  216. package/dist/schemas/v3.1/compose.d.ts.map +0 -1
  217. /package/dist/schemas/{v3.1/compose.d.ts → compose.d.ts} +0 -0
  218. /package/dist/schemas/{v3.1/compose.js → compose.js} +0 -0
package/dist/server.d.ts CHANGED
@@ -55,8 +55,8 @@ type CreateServerWorkspaceStore = ({
55
55
  * }
56
56
  */
57
57
  export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string, Record<string, ({
58
- summary?: string | undefined;
59
58
  description?: string | undefined;
59
+ summary?: string | undefined;
60
60
  externalDocs?: ({
61
61
  description?: string | undefined;
62
62
  url: string;
@@ -66,8 +66,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
66
66
  deprecated?: boolean | undefined;
67
67
  operationId?: string | undefined;
68
68
  parameters?: (({
69
- summary?: string | undefined;
70
69
  description?: string | undefined;
70
+ summary?: string | undefined;
71
71
  $ref: string;
72
72
  } & {
73
73
  $status?: "loading" | "error" | undefined;
@@ -80,15 +80,34 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
80
80
  deprecated?: boolean | undefined;
81
81
  allowEmptyValue?: boolean | undefined;
82
82
  name: string;
83
- in: string;
83
+ in: "query" | "header" | "path" | "cookie";
84
84
  } & {
85
85
  [x: `x-${string}`]: unknown;
86
86
  } & {
87
+ examples?: {
88
+ [x: string]: ({
89
+ description?: string | undefined;
90
+ summary?: string | undefined;
91
+ $ref: string;
92
+ } & {
93
+ $status?: "loading" | "error" | undefined;
94
+ $global?: boolean | undefined;
95
+ } & {
96
+ [x: `x-${string}`]: unknown;
97
+ }) | ({
98
+ description?: string | undefined;
99
+ summary?: string | undefined;
100
+ value?: any;
101
+ externalValue?: string | undefined;
102
+ } & {
103
+ [x: `x-${string}`]: unknown;
104
+ });
105
+ } | undefined;
87
106
  style?: string | undefined;
88
107
  explode?: boolean | undefined;
89
108
  schema?: ({
90
- summary?: string | undefined;
91
109
  description?: string | undefined;
110
+ summary?: string | undefined;
92
111
  $ref: string;
93
112
  } & {
94
113
  $status?: "loading" | "error" | undefined;
@@ -120,6 +139,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
120
139
  [x: `x-${string}`]: unknown;
121
140
  }) | undefined;
122
141
  example?: any;
142
+ examples?: unknown[] | undefined;
123
143
  } & {
124
144
  [x: `x-${string}`]: unknown;
125
145
  } & {
@@ -127,25 +147,6 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
127
147
  } & {
128
148
  [x: string]: unknown;
129
149
  }) | undefined;
130
- examples?: {
131
- [x: string]: ({
132
- summary?: string | undefined;
133
- description?: string | undefined;
134
- $ref: string;
135
- } & {
136
- $status?: "loading" | "error" | undefined;
137
- $global?: boolean | undefined;
138
- } & {
139
- [x: `x-${string}`]: unknown;
140
- }) | ({
141
- summary?: string | undefined;
142
- description?: string | undefined;
143
- value?: any;
144
- externalValue?: string | undefined;
145
- } & {
146
- [x: `x-${string}`]: unknown;
147
- });
148
- } | undefined;
149
150
  example: any;
150
151
  }) | ({
151
152
  description?: string | undefined;
@@ -153,13 +154,32 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
153
154
  deprecated?: boolean | undefined;
154
155
  allowEmptyValue?: boolean | undefined;
155
156
  name: string;
156
- in: string;
157
+ in: "query" | "header" | "path" | "cookie";
157
158
  } & {
158
159
  [x: `x-${string}`]: unknown;
159
160
  } & {
160
161
  content?: {
161
162
  [x: string]: {
162
163
  example?: any;
164
+ examples?: {
165
+ [x: string]: ({
166
+ description?: string | undefined;
167
+ summary?: string | undefined;
168
+ value?: any;
169
+ externalValue?: string | undefined;
170
+ } & {
171
+ [x: `x-${string}`]: unknown;
172
+ }) | ({
173
+ description?: string | undefined;
174
+ summary?: string | undefined;
175
+ $ref: string;
176
+ } & {
177
+ $status?: "loading" | "error" | undefined;
178
+ $global?: boolean | undefined;
179
+ } & {
180
+ [x: `x-${string}`]: unknown;
181
+ });
182
+ } | undefined;
163
183
  schema?: ({
164
184
  discriminator?: ({
165
185
  mapping?: {
@@ -185,6 +205,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
185
205
  [x: `x-${string}`]: unknown;
186
206
  }) | undefined;
187
207
  example?: any;
208
+ examples?: unknown[] | undefined;
188
209
  } & {
189
210
  [x: `x-${string}`]: unknown;
190
211
  } & {
@@ -192,32 +213,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
192
213
  } & {
193
214
  [x: string]: unknown;
194
215
  }) | undefined;
195
- examples?: {
196
- [x: string]: ({
197
- summary?: string | undefined;
198
- description?: string | undefined;
199
- value?: any;
200
- externalValue?: string | undefined;
201
- } & {
202
- [x: `x-${string}`]: unknown;
203
- }) | ({
204
- summary?: string | undefined;
205
- description?: string | undefined;
206
- $ref: string;
207
- } & {
208
- $status?: "loading" | "error" | undefined;
209
- $global?: boolean | undefined;
210
- } & {
211
- [x: `x-${string}`]: unknown;
212
- });
213
- } | undefined;
214
216
  encoding?: {
215
217
  [x: string]: {
216
218
  contentType?: string | undefined;
217
219
  headers?: {
218
220
  [x: string]: ({
219
- summary?: string | undefined;
220
221
  description?: string | undefined;
222
+ summary?: string | undefined;
221
223
  $ref: string;
222
224
  } & {
223
225
  $status?: "loading" | "error" | undefined;
@@ -231,9 +233,37 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
231
233
  } & {
232
234
  [x: `x-${string}`]: unknown;
233
235
  } & {
236
+ examples?: {
237
+ [x: string]: ({
238
+ description?: string | undefined;
239
+ summary?: string | undefined;
240
+ value?: any;
241
+ externalValue?: string | undefined;
242
+ } & {
243
+ [x: `x-${string}`]: unknown;
244
+ }) | ({
245
+ description?: string | undefined;
246
+ summary?: string | undefined;
247
+ $ref: string;
248
+ } & {
249
+ $status?: "loading" | "error" | undefined;
250
+ $global?: boolean | undefined;
251
+ } & {
252
+ [x: `x-${string}`]: unknown;
253
+ });
254
+ } | undefined;
234
255
  style?: string | undefined;
235
256
  explode?: boolean | undefined;
236
257
  schema?: ({
258
+ description?: string | undefined;
259
+ summary?: string | undefined;
260
+ $ref: string;
261
+ } & {
262
+ $status?: "loading" | "error" | undefined;
263
+ $global?: boolean | undefined;
264
+ } & {
265
+ [x: `x-${string}`]: unknown;
266
+ }) | ({
237
267
  discriminator?: ({
238
268
  mapping?: {
239
269
  [x: string]: string;
@@ -258,41 +288,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
258
288
  [x: `x-${string}`]: unknown;
259
289
  }) | undefined;
260
290
  example?: any;
291
+ examples?: unknown[] | undefined;
261
292
  } & {
262
293
  [x: `x-${string}`]: unknown;
263
294
  } & {
264
295
  'x-tags'?: string[] | undefined;
265
296
  } & {
266
297
  [x: string]: unknown;
267
- }) | ({
268
- summary?: string | undefined;
269
- description?: string | undefined;
270
- $ref: string;
271
- } & {
272
- $status?: "loading" | "error" | undefined;
273
- $global?: boolean | undefined;
274
- } & {
275
- [x: `x-${string}`]: unknown;
276
298
  }) | undefined;
277
- examples?: {
278
- [x: string]: ({
279
- summary?: string | undefined;
280
- description?: string | undefined;
281
- value?: any;
282
- externalValue?: string | undefined;
283
- } & {
284
- [x: `x-${string}`]: unknown;
285
- }) | ({
286
- summary?: string | undefined;
287
- description?: string | undefined;
288
- $ref: string;
289
- } & {
290
- $status?: "loading" | "error" | undefined;
291
- $global?: boolean | undefined;
292
- } & {
293
- [x: `x-${string}`]: unknown;
294
- });
295
- } | undefined;
296
299
  example: any;
297
300
  }) | ({
298
301
  description?: string | undefined;
@@ -318,8 +321,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
318
321
  } | undefined;
319
322
  }))[] | undefined;
320
323
  requestBody?: ({
321
- summary?: string | undefined;
322
324
  description?: string | undefined;
325
+ summary?: string | undefined;
323
326
  $ref: string;
324
327
  } & {
325
328
  $status?: "loading" | "error" | undefined;
@@ -332,6 +335,25 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
332
335
  content: {
333
336
  [x: string]: {
334
337
  example?: any;
338
+ examples?: {
339
+ [x: string]: ({
340
+ description?: string | undefined;
341
+ summary?: string | undefined;
342
+ value?: any;
343
+ externalValue?: string | undefined;
344
+ } & {
345
+ [x: `x-${string}`]: unknown;
346
+ }) | ({
347
+ description?: string | undefined;
348
+ summary?: string | undefined;
349
+ $ref: string;
350
+ } & {
351
+ $status?: "loading" | "error" | undefined;
352
+ $global?: boolean | undefined;
353
+ } & {
354
+ [x: `x-${string}`]: unknown;
355
+ });
356
+ } | undefined;
335
357
  schema?: ({
336
358
  discriminator?: ({
337
359
  mapping?: {
@@ -357,6 +379,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
357
379
  [x: `x-${string}`]: unknown;
358
380
  }) | undefined;
359
381
  example?: any;
382
+ examples?: unknown[] | undefined;
360
383
  } & {
361
384
  [x: `x-${string}`]: unknown;
362
385
  } & {
@@ -364,32 +387,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
364
387
  } & {
365
388
  [x: string]: unknown;
366
389
  }) | undefined;
367
- examples?: {
368
- [x: string]: ({
369
- summary?: string | undefined;
370
- description?: string | undefined;
371
- value?: any;
372
- externalValue?: string | undefined;
373
- } & {
374
- [x: `x-${string}`]: unknown;
375
- }) | ({
376
- summary?: string | undefined;
377
- description?: string | undefined;
378
- $ref: string;
379
- } & {
380
- $status?: "loading" | "error" | undefined;
381
- $global?: boolean | undefined;
382
- } & {
383
- [x: `x-${string}`]: unknown;
384
- });
385
- } | undefined;
386
390
  encoding?: {
387
391
  [x: string]: {
388
392
  contentType?: string | undefined;
389
393
  headers?: {
390
394
  [x: string]: ({
391
- summary?: string | undefined;
392
395
  description?: string | undefined;
396
+ summary?: string | undefined;
393
397
  $ref: string;
394
398
  } & {
395
399
  $status?: "loading" | "error" | undefined;
@@ -403,9 +407,37 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
403
407
  } & {
404
408
  [x: `x-${string}`]: unknown;
405
409
  } & {
410
+ examples?: {
411
+ [x: string]: ({
412
+ description?: string | undefined;
413
+ summary?: string | undefined;
414
+ value?: any;
415
+ externalValue?: string | undefined;
416
+ } & {
417
+ [x: `x-${string}`]: unknown;
418
+ }) | ({
419
+ description?: string | undefined;
420
+ summary?: string | undefined;
421
+ $ref: string;
422
+ } & {
423
+ $status?: "loading" | "error" | undefined;
424
+ $global?: boolean | undefined;
425
+ } & {
426
+ [x: `x-${string}`]: unknown;
427
+ });
428
+ } | undefined;
406
429
  style?: string | undefined;
407
430
  explode?: boolean | undefined;
408
431
  schema?: ({
432
+ description?: string | undefined;
433
+ summary?: string | undefined;
434
+ $ref: string;
435
+ } & {
436
+ $status?: "loading" | "error" | undefined;
437
+ $global?: boolean | undefined;
438
+ } & {
439
+ [x: `x-${string}`]: unknown;
440
+ }) | ({
409
441
  discriminator?: ({
410
442
  mapping?: {
411
443
  [x: string]: string;
@@ -430,41 +462,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
430
462
  [x: `x-${string}`]: unknown;
431
463
  }) | undefined;
432
464
  example?: any;
465
+ examples?: unknown[] | undefined;
433
466
  } & {
434
467
  [x: `x-${string}`]: unknown;
435
468
  } & {
436
469
  'x-tags'?: string[] | undefined;
437
470
  } & {
438
471
  [x: string]: unknown;
439
- }) | ({
440
- summary?: string | undefined;
441
- description?: string | undefined;
442
- $ref: string;
443
- } & {
444
- $status?: "loading" | "error" | undefined;
445
- $global?: boolean | undefined;
446
- } & {
447
- [x: `x-${string}`]: unknown;
448
472
  }) | undefined;
449
- examples?: {
450
- [x: string]: ({
451
- summary?: string | undefined;
452
- description?: string | undefined;
453
- value?: any;
454
- externalValue?: string | undefined;
455
- } & {
456
- [x: `x-${string}`]: unknown;
457
- }) | ({
458
- summary?: string | undefined;
459
- description?: string | undefined;
460
- $ref: string;
461
- } & {
462
- $status?: "loading" | "error" | undefined;
463
- $global?: boolean | undefined;
464
- } & {
465
- [x: `x-${string}`]: unknown;
466
- });
467
- } | undefined;
468
473
  example: any;
469
474
  }) | ({
470
475
  description?: string | undefined;
@@ -494,8 +499,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
494
499
  tags?: string[] | undefined;
495
500
  responses?: ({
496
501
  [x: string]: ({
497
- summary?: string | undefined;
498
502
  description?: string | undefined;
503
+ summary?: string | undefined;
499
504
  $ref: string;
500
505
  } & {
501
506
  $status?: "loading" | "error" | undefined;
@@ -511,18 +516,46 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
511
516
  } & {
512
517
  [x: `x-${string}`]: unknown;
513
518
  } & {
514
- style?: string | undefined;
515
- explode?: boolean | undefined;
516
- schema?: ({
517
- discriminator?: ({
518
- mapping?: {
519
- [x: string]: string;
520
- } | undefined;
521
- propertyName: string;
519
+ examples?: {
520
+ [x: string]: ({
521
+ description?: string | undefined;
522
+ summary?: string | undefined;
523
+ value?: any;
524
+ externalValue?: string | undefined;
522
525
  } & {
523
526
  [x: `x-${string}`]: unknown;
524
- }) | undefined;
525
- xml?: ({
527
+ }) | ({
528
+ description?: string | undefined;
529
+ summary?: string | undefined;
530
+ $ref: string;
531
+ } & {
532
+ $status?: "loading" | "error" | undefined;
533
+ $global?: boolean | undefined;
534
+ } & {
535
+ [x: `x-${string}`]: unknown;
536
+ });
537
+ } | undefined;
538
+ style?: string | undefined;
539
+ explode?: boolean | undefined;
540
+ schema?: ({
541
+ description?: string | undefined;
542
+ summary?: string | undefined;
543
+ $ref: string;
544
+ } & {
545
+ $status?: "loading" | "error" | undefined;
546
+ $global?: boolean | undefined;
547
+ } & {
548
+ [x: `x-${string}`]: unknown;
549
+ }) | ({
550
+ discriminator?: ({
551
+ mapping?: {
552
+ [x: string]: string;
553
+ } | undefined;
554
+ propertyName: string;
555
+ } & {
556
+ [x: `x-${string}`]: unknown;
557
+ }) | undefined;
558
+ xml?: ({
526
559
  name?: string | undefined;
527
560
  namespace?: string | undefined;
528
561
  prefix?: string | undefined;
@@ -538,41 +571,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
538
571
  [x: `x-${string}`]: unknown;
539
572
  }) | undefined;
540
573
  example?: any;
574
+ examples?: unknown[] | undefined;
541
575
  } & {
542
576
  [x: `x-${string}`]: unknown;
543
577
  } & {
544
578
  'x-tags'?: string[] | undefined;
545
579
  } & {
546
580
  [x: string]: unknown;
547
- }) | ({
548
- summary?: string | undefined;
549
- description?: string | undefined;
550
- $ref: string;
551
- } & {
552
- $status?: "loading" | "error" | undefined;
553
- $global?: boolean | undefined;
554
- } & {
555
- [x: `x-${string}`]: unknown;
556
581
  }) | undefined;
557
- examples?: {
558
- [x: string]: ({
559
- summary?: string | undefined;
560
- description?: string | undefined;
561
- $ref: string;
562
- } & {
563
- $status?: "loading" | "error" | undefined;
564
- $global?: boolean | undefined;
565
- } & {
566
- [x: `x-${string}`]: unknown;
567
- }) | ({
568
- summary?: string | undefined;
569
- description?: string | undefined;
570
- value?: any;
571
- externalValue?: string | undefined;
572
- } & {
573
- [x: `x-${string}`]: unknown;
574
- });
575
- } | undefined;
576
582
  example: any;
577
583
  }) | ({
578
584
  description?: string | undefined;
@@ -584,6 +590,25 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
584
590
  content?: {
585
591
  [x: string]: {
586
592
  example?: any;
593
+ examples?: {
594
+ [x: string]: ({
595
+ description?: string | undefined;
596
+ summary?: string | undefined;
597
+ value?: any;
598
+ externalValue?: string | undefined;
599
+ } & {
600
+ [x: `x-${string}`]: unknown;
601
+ }) | ({
602
+ description?: string | undefined;
603
+ summary?: string | undefined;
604
+ $ref: string;
605
+ } & {
606
+ $status?: "loading" | "error" | undefined;
607
+ $global?: boolean | undefined;
608
+ } & {
609
+ [x: `x-${string}`]: unknown;
610
+ });
611
+ } | undefined;
587
612
  schema?: ({
588
613
  discriminator?: ({
589
614
  mapping?: {
@@ -609,6 +634,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
609
634
  [x: `x-${string}`]: unknown;
610
635
  }) | undefined;
611
636
  example?: any;
637
+ examples?: unknown[] | undefined;
612
638
  } & {
613
639
  [x: `x-${string}`]: unknown;
614
640
  } & {
@@ -616,25 +642,6 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
616
642
  } & {
617
643
  [x: string]: unknown;
618
644
  }) | undefined;
619
- examples?: {
620
- [x: string]: ({
621
- summary?: string | undefined;
622
- description?: string | undefined;
623
- $ref: string;
624
- } & {
625
- $status?: "loading" | "error" | undefined;
626
- $global?: boolean | undefined;
627
- } & {
628
- [x: `x-${string}`]: unknown;
629
- }) | ({
630
- summary?: string | undefined;
631
- description?: string | undefined;
632
- value?: any;
633
- externalValue?: string | undefined;
634
- } & {
635
- [x: `x-${string}`]: unknown;
636
- });
637
- } | undefined;
638
645
  encoding?: {
639
646
  [x: string]: {
640
647
  contentType?: string | undefined;
@@ -646,9 +653,37 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
646
653
  } & {
647
654
  [x: `x-${string}`]: unknown;
648
655
  } & {
656
+ examples?: {
657
+ [x: string]: ({
658
+ description?: string | undefined;
659
+ summary?: string | undefined;
660
+ value?: any;
661
+ externalValue?: string | undefined;
662
+ } & {
663
+ [x: `x-${string}`]: unknown;
664
+ }) | ({
665
+ description?: string | undefined;
666
+ summary?: string | undefined;
667
+ $ref: string;
668
+ } & {
669
+ $status?: "loading" | "error" | undefined;
670
+ $global?: boolean | undefined;
671
+ } & {
672
+ [x: `x-${string}`]: unknown;
673
+ });
674
+ } | undefined;
649
675
  style?: string | undefined;
650
676
  explode?: boolean | undefined;
651
677
  schema?: ({
678
+ description?: string | undefined;
679
+ summary?: string | undefined;
680
+ $ref: string;
681
+ } & {
682
+ $status?: "loading" | "error" | undefined;
683
+ $global?: boolean | undefined;
684
+ } & {
685
+ [x: `x-${string}`]: unknown;
686
+ }) | ({
652
687
  discriminator?: ({
653
688
  mapping?: {
654
689
  [x: string]: string;
@@ -673,41 +708,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
673
708
  [x: `x-${string}`]: unknown;
674
709
  }) | undefined;
675
710
  example?: any;
711
+ examples?: unknown[] | undefined;
676
712
  } & {
677
713
  [x: `x-${string}`]: unknown;
678
714
  } & {
679
715
  'x-tags'?: string[] | undefined;
680
716
  } & {
681
717
  [x: string]: unknown;
682
- }) | ({
683
- summary?: string | undefined;
684
- description?: string | undefined;
685
- $ref: string;
686
- } & {
687
- $status?: "loading" | "error" | undefined;
688
- $global?: boolean | undefined;
689
- } & {
690
- [x: `x-${string}`]: unknown;
691
718
  }) | undefined;
692
- examples?: {
693
- [x: string]: ({
694
- summary?: string | undefined;
695
- description?: string | undefined;
696
- $ref: string;
697
- } & {
698
- $status?: "loading" | "error" | undefined;
699
- $global?: boolean | undefined;
700
- } & {
701
- [x: `x-${string}`]: unknown;
702
- }) | ({
703
- summary?: string | undefined;
704
- description?: string | undefined;
705
- value?: any;
706
- externalValue?: string | undefined;
707
- } & {
708
- [x: `x-${string}`]: unknown;
709
- });
710
- } | undefined;
711
719
  example: any;
712
720
  }) | ({
713
721
  description?: string | undefined;
@@ -716,8 +724,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
716
724
  } & {
717
725
  [x: `x-${string}`]: unknown;
718
726
  } & any) | ({
719
- summary?: string | undefined;
720
727
  description?: string | undefined;
728
+ summary?: string | undefined;
721
729
  $ref: string;
722
730
  } & {
723
731
  $status?: "loading" | "error" | undefined;
@@ -735,8 +743,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
735
743
  };
736
744
  } | undefined;
737
745
  }) | ({
738
- summary?: string | undefined;
739
746
  description?: string | undefined;
747
+ summary?: string | undefined;
740
748
  $ref: string;
741
749
  } & {
742
750
  $status?: "loading" | "error" | undefined;
@@ -748,6 +756,25 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
748
756
  content?: {
749
757
  [x: string]: {
750
758
  example?: any;
759
+ examples?: {
760
+ [x: string]: ({
761
+ description?: string | undefined;
762
+ summary?: string | undefined;
763
+ value?: any;
764
+ externalValue?: string | undefined;
765
+ } & {
766
+ [x: `x-${string}`]: unknown;
767
+ }) | ({
768
+ description?: string | undefined;
769
+ summary?: string | undefined;
770
+ $ref: string;
771
+ } & {
772
+ $status?: "loading" | "error" | undefined;
773
+ $global?: boolean | undefined;
774
+ } & {
775
+ [x: `x-${string}`]: unknown;
776
+ });
777
+ } | undefined;
751
778
  schema?: ({
752
779
  discriminator?: ({
753
780
  mapping?: {
@@ -773,6 +800,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
773
800
  [x: `x-${string}`]: unknown;
774
801
  }) | undefined;
775
802
  example?: any;
803
+ examples?: unknown[] | undefined;
776
804
  } & {
777
805
  [x: `x-${string}`]: unknown;
778
806
  } & {
@@ -780,32 +808,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
780
808
  } & {
781
809
  [x: string]: unknown;
782
810
  }) | undefined;
783
- examples?: {
784
- [x: string]: ({
785
- summary?: string | undefined;
786
- description?: string | undefined;
787
- value?: any;
788
- externalValue?: string | undefined;
789
- } & {
790
- [x: `x-${string}`]: unknown;
791
- }) | ({
792
- summary?: string | undefined;
793
- description?: string | undefined;
794
- $ref: string;
795
- } & {
796
- $status?: "loading" | "error" | undefined;
797
- $global?: boolean | undefined;
798
- } & {
799
- [x: `x-${string}`]: unknown;
800
- });
801
- } | undefined;
802
811
  encoding?: {
803
812
  [x: string]: {
804
813
  contentType?: string | undefined;
805
814
  headers?: {
806
815
  [x: string]: ({
807
- summary?: string | undefined;
808
816
  description?: string | undefined;
817
+ summary?: string | undefined;
809
818
  $ref: string;
810
819
  } & {
811
820
  $status?: "loading" | "error" | undefined;
@@ -819,9 +828,37 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
819
828
  } & {
820
829
  [x: `x-${string}`]: unknown;
821
830
  } & {
831
+ examples?: {
832
+ [x: string]: ({
833
+ description?: string | undefined;
834
+ summary?: string | undefined;
835
+ value?: any;
836
+ externalValue?: string | undefined;
837
+ } & {
838
+ [x: `x-${string}`]: unknown;
839
+ }) | ({
840
+ description?: string | undefined;
841
+ summary?: string | undefined;
842
+ $ref: string;
843
+ } & {
844
+ $status?: "loading" | "error" | undefined;
845
+ $global?: boolean | undefined;
846
+ } & {
847
+ [x: `x-${string}`]: unknown;
848
+ });
849
+ } | undefined;
822
850
  style?: string | undefined;
823
851
  explode?: boolean | undefined;
824
852
  schema?: ({
853
+ description?: string | undefined;
854
+ summary?: string | undefined;
855
+ $ref: string;
856
+ } & {
857
+ $status?: "loading" | "error" | undefined;
858
+ $global?: boolean | undefined;
859
+ } & {
860
+ [x: `x-${string}`]: unknown;
861
+ }) | ({
825
862
  discriminator?: ({
826
863
  mapping?: {
827
864
  [x: string]: string;
@@ -846,41 +883,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
846
883
  [x: `x-${string}`]: unknown;
847
884
  }) | undefined;
848
885
  example?: any;
886
+ examples?: unknown[] | undefined;
849
887
  } & {
850
888
  [x: `x-${string}`]: unknown;
851
889
  } & {
852
890
  'x-tags'?: string[] | undefined;
853
891
  } & {
854
892
  [x: string]: unknown;
855
- }) | ({
856
- summary?: string | undefined;
857
- description?: string | undefined;
858
- $ref: string;
859
- } & {
860
- $status?: "loading" | "error" | undefined;
861
- $global?: boolean | undefined;
862
- } & {
863
- [x: `x-${string}`]: unknown;
864
893
  }) | undefined;
865
- examples?: {
866
- [x: string]: ({
867
- summary?: string | undefined;
868
- description?: string | undefined;
869
- value?: any;
870
- externalValue?: string | undefined;
871
- } & {
872
- [x: `x-${string}`]: unknown;
873
- }) | ({
874
- summary?: string | undefined;
875
- description?: string | undefined;
876
- $ref: string;
877
- } & {
878
- $status?: "loading" | "error" | undefined;
879
- $global?: boolean | undefined;
880
- } & {
881
- [x: `x-${string}`]: unknown;
882
- });
883
- } | undefined;
884
894
  example: any;
885
895
  }) | ({
886
896
  description?: string | undefined;
@@ -906,8 +916,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
906
916
  } | undefined;
907
917
  links?: {
908
918
  [x: string]: ({
909
- summary?: string | undefined;
910
919
  description?: string | undefined;
920
+ summary?: string | undefined;
911
921
  $ref: string;
912
922
  } & {
913
923
  $status?: "loading" | "error" | undefined;
@@ -970,8 +980,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
970
980
  })[] | undefined;
971
981
  callbacks?: {
972
982
  [x: string]: ({
973
- summary?: string | undefined;
974
983
  description?: string | undefined;
984
+ summary?: string | undefined;
975
985
  $ref: string;
976
986
  } & {
977
987
  $status?: "loading" | "error" | undefined;
@@ -980,12 +990,12 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
980
990
  [x: `x-${string}`]: unknown;
981
991
  }) | ({
982
992
  [x: string]: {
983
- summary?: string | undefined;
984
993
  description?: string | undefined;
985
994
  $ref?: string | undefined;
995
+ summary?: string | undefined;
986
996
  parameters?: (({
987
- summary?: string | undefined;
988
997
  description?: string | undefined;
998
+ summary?: string | undefined;
989
999
  $ref: string;
990
1000
  } & {
991
1001
  $status?: "loading" | "error" | undefined;
@@ -998,15 +1008,34 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
998
1008
  deprecated?: boolean | undefined;
999
1009
  allowEmptyValue?: boolean | undefined;
1000
1010
  name: string;
1001
- in: string;
1011
+ in: "query" | "header" | "path" | "cookie";
1002
1012
  } & {
1003
1013
  [x: `x-${string}`]: unknown;
1004
1014
  } & {
1015
+ examples?: {
1016
+ [x: string]: ({
1017
+ description?: string | undefined;
1018
+ summary?: string | undefined;
1019
+ $ref: string;
1020
+ } & {
1021
+ $status?: "loading" | "error" | undefined;
1022
+ $global?: boolean | undefined;
1023
+ } & {
1024
+ [x: `x-${string}`]: unknown;
1025
+ }) | ({
1026
+ description?: string | undefined;
1027
+ summary?: string | undefined;
1028
+ value?: any;
1029
+ externalValue?: string | undefined;
1030
+ } & {
1031
+ [x: `x-${string}`]: unknown;
1032
+ });
1033
+ } | undefined;
1005
1034
  style?: string | undefined;
1006
1035
  explode?: boolean | undefined;
1007
1036
  schema?: ({
1008
- summary?: string | undefined;
1009
1037
  description?: string | undefined;
1038
+ summary?: string | undefined;
1010
1039
  $ref: string;
1011
1040
  } & {
1012
1041
  $status?: "loading" | "error" | undefined;
@@ -1038,6 +1067,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1038
1067
  [x: `x-${string}`]: unknown;
1039
1068
  }) | undefined;
1040
1069
  example?: any;
1070
+ examples?: unknown[] | undefined;
1041
1071
  } & {
1042
1072
  [x: `x-${string}`]: unknown;
1043
1073
  } & {
@@ -1045,25 +1075,6 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1045
1075
  } & {
1046
1076
  [x: string]: unknown;
1047
1077
  }) | undefined;
1048
- examples?: {
1049
- [x: string]: ({
1050
- summary?: string | undefined;
1051
- description?: string | undefined;
1052
- $ref: string;
1053
- } & {
1054
- $status?: "loading" | "error" | undefined;
1055
- $global?: boolean | undefined;
1056
- } & {
1057
- [x: `x-${string}`]: unknown;
1058
- }) | ({
1059
- summary?: string | undefined;
1060
- description?: string | undefined;
1061
- value?: any;
1062
- externalValue?: string | undefined;
1063
- } & {
1064
- [x: `x-${string}`]: unknown;
1065
- });
1066
- } | undefined;
1067
1078
  example: any;
1068
1079
  }) | ({
1069
1080
  description?: string | undefined;
@@ -1071,13 +1082,32 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1071
1082
  deprecated?: boolean | undefined;
1072
1083
  allowEmptyValue?: boolean | undefined;
1073
1084
  name: string;
1074
- in: string;
1085
+ in: "query" | "header" | "path" | "cookie";
1075
1086
  } & {
1076
1087
  [x: `x-${string}`]: unknown;
1077
1088
  } & {
1078
1089
  content?: {
1079
1090
  [x: string]: {
1080
1091
  example?: any;
1092
+ examples?: {
1093
+ [x: string]: ({
1094
+ description?: string | undefined;
1095
+ summary?: string | undefined;
1096
+ value?: any;
1097
+ externalValue?: string | undefined;
1098
+ } & {
1099
+ [x: `x-${string}`]: unknown;
1100
+ }) | ({
1101
+ description?: string | undefined;
1102
+ summary?: string | undefined;
1103
+ $ref: string;
1104
+ } & {
1105
+ $status?: "loading" | "error" | undefined;
1106
+ $global?: boolean | undefined;
1107
+ } & {
1108
+ [x: `x-${string}`]: unknown;
1109
+ });
1110
+ } | undefined;
1081
1111
  schema?: ({
1082
1112
  discriminator?: ({
1083
1113
  mapping?: {
@@ -1103,6 +1133,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1103
1133
  [x: `x-${string}`]: unknown;
1104
1134
  }) | undefined;
1105
1135
  example?: any;
1136
+ examples?: unknown[] | undefined;
1106
1137
  } & {
1107
1138
  [x: `x-${string}`]: unknown;
1108
1139
  } & {
@@ -1110,32 +1141,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1110
1141
  } & {
1111
1142
  [x: string]: unknown;
1112
1143
  }) | undefined;
1113
- examples?: {
1114
- [x: string]: ({
1115
- summary?: string | undefined;
1116
- description?: string | undefined;
1117
- value?: any;
1118
- externalValue?: string | undefined;
1119
- } & {
1120
- [x: `x-${string}`]: unknown;
1121
- }) | ({
1122
- summary?: string | undefined;
1123
- description?: string | undefined;
1124
- $ref: string;
1125
- } & {
1126
- $status?: "loading" | "error" | undefined;
1127
- $global?: boolean | undefined;
1128
- } & {
1129
- [x: `x-${string}`]: unknown;
1130
- });
1131
- } | undefined;
1132
1144
  encoding?: {
1133
1145
  [x: string]: {
1134
1146
  contentType?: string | undefined;
1135
1147
  headers?: {
1136
1148
  [x: string]: ({
1137
- summary?: string | undefined;
1138
1149
  description?: string | undefined;
1150
+ summary?: string | undefined;
1139
1151
  $ref: string;
1140
1152
  } & {
1141
1153
  $status?: "loading" | "error" | undefined;
@@ -1149,9 +1161,37 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1149
1161
  } & {
1150
1162
  [x: `x-${string}`]: unknown;
1151
1163
  } & {
1164
+ examples?: {
1165
+ [x: string]: ({
1166
+ description?: string | undefined;
1167
+ summary?: string | undefined;
1168
+ value?: any;
1169
+ externalValue?: string | undefined;
1170
+ } & {
1171
+ [x: `x-${string}`]: unknown;
1172
+ }) | ({
1173
+ description?: string | undefined;
1174
+ summary?: string | undefined;
1175
+ $ref: string;
1176
+ } & {
1177
+ $status?: "loading" | "error" | undefined;
1178
+ $global?: boolean | undefined;
1179
+ } & {
1180
+ [x: `x-${string}`]: unknown;
1181
+ });
1182
+ } | undefined;
1152
1183
  style?: string | undefined;
1153
1184
  explode?: boolean | undefined;
1154
1185
  schema?: ({
1186
+ description?: string | undefined;
1187
+ summary?: string | undefined;
1188
+ $ref: string;
1189
+ } & {
1190
+ $status?: "loading" | "error" | undefined;
1191
+ $global?: boolean | undefined;
1192
+ } & {
1193
+ [x: `x-${string}`]: unknown;
1194
+ }) | ({
1155
1195
  discriminator?: ({
1156
1196
  mapping?: {
1157
1197
  [x: string]: string;
@@ -1176,41 +1216,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1176
1216
  [x: `x-${string}`]: unknown;
1177
1217
  }) | undefined;
1178
1218
  example?: any;
1219
+ examples?: unknown[] | undefined;
1179
1220
  } & {
1180
1221
  [x: `x-${string}`]: unknown;
1181
1222
  } & {
1182
1223
  'x-tags'?: string[] | undefined;
1183
1224
  } & {
1184
1225
  [x: string]: unknown;
1185
- }) | ({
1186
- summary?: string | undefined;
1187
- description?: string | undefined;
1188
- $ref: string;
1189
- } & {
1190
- $status?: "loading" | "error" | undefined;
1191
- $global?: boolean | undefined;
1192
- } & {
1193
- [x: `x-${string}`]: unknown;
1194
1226
  }) | undefined;
1195
- examples?: {
1196
- [x: string]: ({
1197
- summary?: string | undefined;
1198
- description?: string | undefined;
1199
- value?: any;
1200
- externalValue?: string | undefined;
1201
- } & {
1202
- [x: `x-${string}`]: unknown;
1203
- }) | ({
1204
- summary?: string | undefined;
1205
- description?: string | undefined;
1206
- $ref: string;
1207
- } & {
1208
- $status?: "loading" | "error" | undefined;
1209
- $global?: boolean | undefined;
1210
- } & {
1211
- [x: `x-${string}`]: unknown;
1212
- });
1213
- } | undefined;
1214
1227
  example: any;
1215
1228
  }) | ({
1216
1229
  description?: string | undefined;
@@ -1251,10 +1264,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1251
1264
  [x: `x-${string}`]: unknown;
1252
1265
  })[] | undefined;
1253
1266
  get?: (any & {
1267
+ 'x-scalar-client-config-request-example'?: {
1268
+ [x: string]: {
1269
+ name?: string | undefined;
1270
+ parameters?: {
1271
+ query?: {
1272
+ [x: string]: string;
1273
+ } | undefined;
1274
+ header?: {
1275
+ [x: string]: string;
1276
+ } | undefined;
1277
+ path?: {
1278
+ [x: string]: string;
1279
+ } | undefined;
1280
+ cookie?: {
1281
+ [x: string]: string;
1282
+ } | undefined;
1283
+ } | undefined;
1284
+ body?: {
1285
+ file?: {
1286
+ base64?: string | undefined;
1287
+ url: string;
1288
+ } | null | undefined;
1289
+ content: string | {
1290
+ [x: string]: any;
1291
+ };
1292
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1293
+ } | undefined;
1294
+ };
1295
+ } | undefined;
1296
+ } & {
1254
1297
  [x: `x-${string}`]: unknown;
1255
1298
  }) | ({
1256
- summary?: string | undefined;
1257
1299
  description?: string | undefined;
1300
+ summary?: string | undefined;
1258
1301
  $ref: string;
1259
1302
  } & {
1260
1303
  $status?: "loading" | "error" | undefined;
@@ -1263,10 +1306,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1263
1306
  [x: `x-${string}`]: unknown;
1264
1307
  }) | undefined;
1265
1308
  put?: (any & {
1309
+ 'x-scalar-client-config-request-example'?: {
1310
+ [x: string]: {
1311
+ name?: string | undefined;
1312
+ parameters?: {
1313
+ query?: {
1314
+ [x: string]: string;
1315
+ } | undefined;
1316
+ header?: {
1317
+ [x: string]: string;
1318
+ } | undefined;
1319
+ path?: {
1320
+ [x: string]: string;
1321
+ } | undefined;
1322
+ cookie?: {
1323
+ [x: string]: string;
1324
+ } | undefined;
1325
+ } | undefined;
1326
+ body?: {
1327
+ file?: {
1328
+ base64?: string | undefined;
1329
+ url: string;
1330
+ } | null | undefined;
1331
+ content: string | {
1332
+ [x: string]: any;
1333
+ };
1334
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1335
+ } | undefined;
1336
+ };
1337
+ } | undefined;
1338
+ } & {
1266
1339
  [x: `x-${string}`]: unknown;
1267
1340
  }) | ({
1268
- summary?: string | undefined;
1269
1341
  description?: string | undefined;
1342
+ summary?: string | undefined;
1270
1343
  $ref: string;
1271
1344
  } & {
1272
1345
  $status?: "loading" | "error" | undefined;
@@ -1275,10 +1348,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1275
1348
  [x: `x-${string}`]: unknown;
1276
1349
  }) | undefined;
1277
1350
  post?: (any & {
1351
+ 'x-scalar-client-config-request-example'?: {
1352
+ [x: string]: {
1353
+ name?: string | undefined;
1354
+ parameters?: {
1355
+ query?: {
1356
+ [x: string]: string;
1357
+ } | undefined;
1358
+ header?: {
1359
+ [x: string]: string;
1360
+ } | undefined;
1361
+ path?: {
1362
+ [x: string]: string;
1363
+ } | undefined;
1364
+ cookie?: {
1365
+ [x: string]: string;
1366
+ } | undefined;
1367
+ } | undefined;
1368
+ body?: {
1369
+ file?: {
1370
+ base64?: string | undefined;
1371
+ url: string;
1372
+ } | null | undefined;
1373
+ content: string | {
1374
+ [x: string]: any;
1375
+ };
1376
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1377
+ } | undefined;
1378
+ };
1379
+ } | undefined;
1380
+ } & {
1278
1381
  [x: `x-${string}`]: unknown;
1279
1382
  }) | ({
1280
- summary?: string | undefined;
1281
1383
  description?: string | undefined;
1384
+ summary?: string | undefined;
1282
1385
  $ref: string;
1283
1386
  } & {
1284
1387
  $status?: "loading" | "error" | undefined;
@@ -1287,10 +1390,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1287
1390
  [x: `x-${string}`]: unknown;
1288
1391
  }) | undefined;
1289
1392
  delete?: (any & {
1393
+ 'x-scalar-client-config-request-example'?: {
1394
+ [x: string]: {
1395
+ name?: string | undefined;
1396
+ parameters?: {
1397
+ query?: {
1398
+ [x: string]: string;
1399
+ } | undefined;
1400
+ header?: {
1401
+ [x: string]: string;
1402
+ } | undefined;
1403
+ path?: {
1404
+ [x: string]: string;
1405
+ } | undefined;
1406
+ cookie?: {
1407
+ [x: string]: string;
1408
+ } | undefined;
1409
+ } | undefined;
1410
+ body?: {
1411
+ file?: {
1412
+ base64?: string | undefined;
1413
+ url: string;
1414
+ } | null | undefined;
1415
+ content: string | {
1416
+ [x: string]: any;
1417
+ };
1418
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1419
+ } | undefined;
1420
+ };
1421
+ } | undefined;
1422
+ } & {
1290
1423
  [x: `x-${string}`]: unknown;
1291
1424
  }) | ({
1292
- summary?: string | undefined;
1293
1425
  description?: string | undefined;
1426
+ summary?: string | undefined;
1294
1427
  $ref: string;
1295
1428
  } & {
1296
1429
  $status?: "loading" | "error" | undefined;
@@ -1299,10 +1432,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1299
1432
  [x: `x-${string}`]: unknown;
1300
1433
  }) | undefined;
1301
1434
  patch?: (any & {
1435
+ 'x-scalar-client-config-request-example'?: {
1436
+ [x: string]: {
1437
+ name?: string | undefined;
1438
+ parameters?: {
1439
+ query?: {
1440
+ [x: string]: string;
1441
+ } | undefined;
1442
+ header?: {
1443
+ [x: string]: string;
1444
+ } | undefined;
1445
+ path?: {
1446
+ [x: string]: string;
1447
+ } | undefined;
1448
+ cookie?: {
1449
+ [x: string]: string;
1450
+ } | undefined;
1451
+ } | undefined;
1452
+ body?: {
1453
+ file?: {
1454
+ base64?: string | undefined;
1455
+ url: string;
1456
+ } | null | undefined;
1457
+ content: string | {
1458
+ [x: string]: any;
1459
+ };
1460
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1461
+ } | undefined;
1462
+ };
1463
+ } | undefined;
1464
+ } & {
1302
1465
  [x: `x-${string}`]: unknown;
1303
1466
  }) | ({
1304
- summary?: string | undefined;
1305
1467
  description?: string | undefined;
1468
+ summary?: string | undefined;
1306
1469
  $ref: string;
1307
1470
  } & {
1308
1471
  $status?: "loading" | "error" | undefined;
@@ -1310,11 +1473,83 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1310
1473
  } & {
1311
1474
  [x: `x-${string}`]: unknown;
1312
1475
  }) | undefined;
1313
- trace?: (any & {
1476
+ connect?: (any & {
1477
+ 'x-scalar-client-config-request-example'?: {
1478
+ [x: string]: {
1479
+ name?: string | undefined;
1480
+ parameters?: {
1481
+ query?: {
1482
+ [x: string]: string;
1483
+ } | undefined;
1484
+ header?: {
1485
+ [x: string]: string;
1486
+ } | undefined;
1487
+ path?: {
1488
+ [x: string]: string;
1489
+ } | undefined;
1490
+ cookie?: {
1491
+ [x: string]: string;
1492
+ } | undefined;
1493
+ } | undefined;
1494
+ body?: {
1495
+ file?: {
1496
+ base64?: string | undefined;
1497
+ url: string;
1498
+ } | null | undefined;
1499
+ content: string | {
1500
+ [x: string]: any;
1501
+ };
1502
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1503
+ } | undefined;
1504
+ };
1505
+ } | undefined;
1506
+ } & {
1314
1507
  [x: `x-${string}`]: unknown;
1315
1508
  }) | ({
1509
+ description?: string | undefined;
1316
1510
  summary?: string | undefined;
1511
+ $ref: string;
1512
+ } & {
1513
+ $status?: "loading" | "error" | undefined;
1514
+ $global?: boolean | undefined;
1515
+ } & {
1516
+ [x: `x-${string}`]: unknown;
1517
+ }) | undefined;
1518
+ options?: (any & {
1519
+ 'x-scalar-client-config-request-example'?: {
1520
+ [x: string]: {
1521
+ name?: string | undefined;
1522
+ parameters?: {
1523
+ query?: {
1524
+ [x: string]: string;
1525
+ } | undefined;
1526
+ header?: {
1527
+ [x: string]: string;
1528
+ } | undefined;
1529
+ path?: {
1530
+ [x: string]: string;
1531
+ } | undefined;
1532
+ cookie?: {
1533
+ [x: string]: string;
1534
+ } | undefined;
1535
+ } | undefined;
1536
+ body?: {
1537
+ file?: {
1538
+ base64?: string | undefined;
1539
+ url: string;
1540
+ } | null | undefined;
1541
+ content: string | {
1542
+ [x: string]: any;
1543
+ };
1544
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1545
+ } | undefined;
1546
+ };
1547
+ } | undefined;
1548
+ } & {
1549
+ [x: `x-${string}`]: unknown;
1550
+ }) | ({
1317
1551
  description?: string | undefined;
1552
+ summary?: string | undefined;
1318
1553
  $ref: string;
1319
1554
  } & {
1320
1555
  $status?: "loading" | "error" | undefined;
@@ -1322,18 +1557,132 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1322
1557
  } & {
1323
1558
  [x: `x-${string}`]: unknown;
1324
1559
  }) | undefined;
1325
- } & {
1560
+ head?: (any & {
1561
+ 'x-scalar-client-config-request-example'?: {
1562
+ [x: string]: {
1563
+ name?: string | undefined;
1564
+ parameters?: {
1565
+ query?: {
1566
+ [x: string]: string;
1567
+ } | undefined;
1568
+ header?: {
1569
+ [x: string]: string;
1570
+ } | undefined;
1571
+ path?: {
1572
+ [x: string]: string;
1573
+ } | undefined;
1574
+ cookie?: {
1575
+ [x: string]: string;
1576
+ } | undefined;
1577
+ } | undefined;
1578
+ body?: {
1579
+ file?: {
1580
+ base64?: string | undefined;
1581
+ url: string;
1582
+ } | null | undefined;
1583
+ content: string | {
1584
+ [x: string]: any;
1585
+ };
1586
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1587
+ } | undefined;
1588
+ };
1589
+ } | undefined;
1590
+ } & {
1591
+ [x: `x-${string}`]: unknown;
1592
+ }) | ({
1593
+ description?: string | undefined;
1594
+ summary?: string | undefined;
1595
+ $ref: string;
1596
+ } & {
1597
+ $status?: "loading" | "error" | undefined;
1598
+ $global?: boolean | undefined;
1599
+ } & {
1600
+ [x: `x-${string}`]: unknown;
1601
+ }) | undefined;
1602
+ trace?: (any & {
1603
+ 'x-scalar-client-config-request-example'?: {
1604
+ [x: string]: {
1605
+ name?: string | undefined;
1606
+ parameters?: {
1607
+ query?: {
1608
+ [x: string]: string;
1609
+ } | undefined;
1610
+ header?: {
1611
+ [x: string]: string;
1612
+ } | undefined;
1613
+ path?: {
1614
+ [x: string]: string;
1615
+ } | undefined;
1616
+ cookie?: {
1617
+ [x: string]: string;
1618
+ } | undefined;
1619
+ } | undefined;
1620
+ body?: {
1621
+ file?: {
1622
+ base64?: string | undefined;
1623
+ url: string;
1624
+ } | null | undefined;
1625
+ content: string | {
1626
+ [x: string]: any;
1627
+ };
1628
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1629
+ } | undefined;
1630
+ };
1631
+ } | undefined;
1632
+ } & {
1633
+ [x: `x-${string}`]: unknown;
1634
+ }) | ({
1635
+ description?: string | undefined;
1636
+ summary?: string | undefined;
1637
+ $ref: string;
1638
+ } & {
1639
+ $status?: "loading" | "error" | undefined;
1640
+ $global?: boolean | undefined;
1641
+ } & {
1642
+ [x: `x-${string}`]: unknown;
1643
+ }) | undefined;
1644
+ } & {
1326
1645
  [x: `x-${string}`]: unknown;
1327
1646
  };
1328
1647
  } & {
1329
1648
  [x: `x-${string}`]: unknown;
1330
1649
  });
1331
1650
  } | undefined;
1651
+ } & {
1652
+ 'x-scalar-client-config-request-example'?: {
1653
+ [x: string]: {
1654
+ name?: string | undefined;
1655
+ parameters?: {
1656
+ query?: {
1657
+ [x: string]: string;
1658
+ } | undefined;
1659
+ header?: {
1660
+ [x: string]: string;
1661
+ } | undefined;
1662
+ path?: {
1663
+ [x: string]: string;
1664
+ } | undefined;
1665
+ cookie?: {
1666
+ [x: string]: string;
1667
+ } | undefined;
1668
+ } | undefined;
1669
+ body?: {
1670
+ file?: {
1671
+ base64?: string | undefined;
1672
+ url: string;
1673
+ } | null | undefined;
1674
+ content: string | {
1675
+ [x: string]: any;
1676
+ };
1677
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1678
+ } | undefined;
1679
+ };
1680
+ } | undefined;
1332
1681
  } & {
1333
1682
  [x: `x-${string}`]: unknown;
1334
1683
  }) | ({
1335
- summary?: string | undefined;
1336
1684
  description?: string | undefined;
1685
+ summary?: string | undefined;
1337
1686
  $ref: string;
1338
1687
  } & {
1339
1688
  $status?: "loading" | "error" | undefined;
@@ -1351,8 +1700,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1351
1700
  * Output: { "/users~1{id}": { ... } }
1352
1701
  */
1353
1702
  export declare function escapePaths(paths: Record<string, Record<string, OperationObject>>): Record<string, Record<string, ({
1354
- summary?: string | undefined;
1355
1703
  description?: string | undefined;
1704
+ summary?: string | undefined;
1356
1705
  externalDocs?: ({
1357
1706
  description?: string | undefined;
1358
1707
  url: string;
@@ -1362,8 +1711,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1362
1711
  deprecated?: boolean | undefined;
1363
1712
  operationId?: string | undefined;
1364
1713
  parameters?: (({
1365
- summary?: string | undefined;
1366
1714
  description?: string | undefined;
1715
+ summary?: string | undefined;
1367
1716
  $ref: string;
1368
1717
  } & {
1369
1718
  $status?: "loading" | "error" | undefined;
@@ -1376,15 +1725,34 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1376
1725
  deprecated?: boolean | undefined;
1377
1726
  allowEmptyValue?: boolean | undefined;
1378
1727
  name: string;
1379
- in: string;
1728
+ in: "query" | "header" | "path" | "cookie";
1380
1729
  } & {
1381
1730
  [x: `x-${string}`]: unknown;
1382
1731
  } & {
1732
+ examples?: {
1733
+ [x: string]: ({
1734
+ description?: string | undefined;
1735
+ summary?: string | undefined;
1736
+ $ref: string;
1737
+ } & {
1738
+ $status?: "loading" | "error" | undefined;
1739
+ $global?: boolean | undefined;
1740
+ } & {
1741
+ [x: `x-${string}`]: unknown;
1742
+ }) | ({
1743
+ description?: string | undefined;
1744
+ summary?: string | undefined;
1745
+ value?: any;
1746
+ externalValue?: string | undefined;
1747
+ } & {
1748
+ [x: `x-${string}`]: unknown;
1749
+ });
1750
+ } | undefined;
1383
1751
  style?: string | undefined;
1384
1752
  explode?: boolean | undefined;
1385
1753
  schema?: ({
1386
- summary?: string | undefined;
1387
1754
  description?: string | undefined;
1755
+ summary?: string | undefined;
1388
1756
  $ref: string;
1389
1757
  } & {
1390
1758
  $status?: "loading" | "error" | undefined;
@@ -1416,6 +1784,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1416
1784
  [x: `x-${string}`]: unknown;
1417
1785
  }) | undefined;
1418
1786
  example?: any;
1787
+ examples?: unknown[] | undefined;
1419
1788
  } & {
1420
1789
  [x: `x-${string}`]: unknown;
1421
1790
  } & {
@@ -1423,25 +1792,6 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1423
1792
  } & {
1424
1793
  [x: string]: unknown;
1425
1794
  }) | undefined;
1426
- examples?: {
1427
- [x: string]: ({
1428
- summary?: string | undefined;
1429
- description?: string | undefined;
1430
- $ref: string;
1431
- } & {
1432
- $status?: "loading" | "error" | undefined;
1433
- $global?: boolean | undefined;
1434
- } & {
1435
- [x: `x-${string}`]: unknown;
1436
- }) | ({
1437
- summary?: string | undefined;
1438
- description?: string | undefined;
1439
- value?: any;
1440
- externalValue?: string | undefined;
1441
- } & {
1442
- [x: `x-${string}`]: unknown;
1443
- });
1444
- } | undefined;
1445
1795
  example: any;
1446
1796
  }) | ({
1447
1797
  description?: string | undefined;
@@ -1449,13 +1799,32 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1449
1799
  deprecated?: boolean | undefined;
1450
1800
  allowEmptyValue?: boolean | undefined;
1451
1801
  name: string;
1452
- in: string;
1802
+ in: "query" | "header" | "path" | "cookie";
1453
1803
  } & {
1454
1804
  [x: `x-${string}`]: unknown;
1455
1805
  } & {
1456
1806
  content?: {
1457
1807
  [x: string]: {
1458
1808
  example?: any;
1809
+ examples?: {
1810
+ [x: string]: ({
1811
+ description?: string | undefined;
1812
+ summary?: string | undefined;
1813
+ value?: any;
1814
+ externalValue?: string | undefined;
1815
+ } & {
1816
+ [x: `x-${string}`]: unknown;
1817
+ }) | ({
1818
+ description?: string | undefined;
1819
+ summary?: string | undefined;
1820
+ $ref: string;
1821
+ } & {
1822
+ $status?: "loading" | "error" | undefined;
1823
+ $global?: boolean | undefined;
1824
+ } & {
1825
+ [x: `x-${string}`]: unknown;
1826
+ });
1827
+ } | undefined;
1459
1828
  schema?: ({
1460
1829
  discriminator?: ({
1461
1830
  mapping?: {
@@ -1481,6 +1850,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1481
1850
  [x: `x-${string}`]: unknown;
1482
1851
  }) | undefined;
1483
1852
  example?: any;
1853
+ examples?: unknown[] | undefined;
1484
1854
  } & {
1485
1855
  [x: `x-${string}`]: unknown;
1486
1856
  } & {
@@ -1488,32 +1858,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1488
1858
  } & {
1489
1859
  [x: string]: unknown;
1490
1860
  }) | undefined;
1491
- examples?: {
1492
- [x: string]: ({
1493
- summary?: string | undefined;
1494
- description?: string | undefined;
1495
- value?: any;
1496
- externalValue?: string | undefined;
1497
- } & {
1498
- [x: `x-${string}`]: unknown;
1499
- }) | ({
1500
- summary?: string | undefined;
1501
- description?: string | undefined;
1502
- $ref: string;
1503
- } & {
1504
- $status?: "loading" | "error" | undefined;
1505
- $global?: boolean | undefined;
1506
- } & {
1507
- [x: `x-${string}`]: unknown;
1508
- });
1509
- } | undefined;
1510
1861
  encoding?: {
1511
1862
  [x: string]: {
1512
1863
  contentType?: string | undefined;
1513
1864
  headers?: {
1514
1865
  [x: string]: ({
1515
- summary?: string | undefined;
1516
1866
  description?: string | undefined;
1867
+ summary?: string | undefined;
1517
1868
  $ref: string;
1518
1869
  } & {
1519
1870
  $status?: "loading" | "error" | undefined;
@@ -1527,9 +1878,37 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1527
1878
  } & {
1528
1879
  [x: `x-${string}`]: unknown;
1529
1880
  } & {
1881
+ examples?: {
1882
+ [x: string]: ({
1883
+ description?: string | undefined;
1884
+ summary?: string | undefined;
1885
+ value?: any;
1886
+ externalValue?: string | undefined;
1887
+ } & {
1888
+ [x: `x-${string}`]: unknown;
1889
+ }) | ({
1890
+ description?: string | undefined;
1891
+ summary?: string | undefined;
1892
+ $ref: string;
1893
+ } & {
1894
+ $status?: "loading" | "error" | undefined;
1895
+ $global?: boolean | undefined;
1896
+ } & {
1897
+ [x: `x-${string}`]: unknown;
1898
+ });
1899
+ } | undefined;
1530
1900
  style?: string | undefined;
1531
1901
  explode?: boolean | undefined;
1532
1902
  schema?: ({
1903
+ description?: string | undefined;
1904
+ summary?: string | undefined;
1905
+ $ref: string;
1906
+ } & {
1907
+ $status?: "loading" | "error" | undefined;
1908
+ $global?: boolean | undefined;
1909
+ } & {
1910
+ [x: `x-${string}`]: unknown;
1911
+ }) | ({
1533
1912
  discriminator?: ({
1534
1913
  mapping?: {
1535
1914
  [x: string]: string;
@@ -1554,41 +1933,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1554
1933
  [x: `x-${string}`]: unknown;
1555
1934
  }) | undefined;
1556
1935
  example?: any;
1936
+ examples?: unknown[] | undefined;
1557
1937
  } & {
1558
1938
  [x: `x-${string}`]: unknown;
1559
1939
  } & {
1560
1940
  'x-tags'?: string[] | undefined;
1561
1941
  } & {
1562
1942
  [x: string]: unknown;
1563
- }) | ({
1564
- summary?: string | undefined;
1565
- description?: string | undefined;
1566
- $ref: string;
1567
- } & {
1568
- $status?: "loading" | "error" | undefined;
1569
- $global?: boolean | undefined;
1570
- } & {
1571
- [x: `x-${string}`]: unknown;
1572
1943
  }) | undefined;
1573
- examples?: {
1574
- [x: string]: ({
1575
- summary?: string | undefined;
1576
- description?: string | undefined;
1577
- value?: any;
1578
- externalValue?: string | undefined;
1579
- } & {
1580
- [x: `x-${string}`]: unknown;
1581
- }) | ({
1582
- summary?: string | undefined;
1583
- description?: string | undefined;
1584
- $ref: string;
1585
- } & {
1586
- $status?: "loading" | "error" | undefined;
1587
- $global?: boolean | undefined;
1588
- } & {
1589
- [x: `x-${string}`]: unknown;
1590
- });
1591
- } | undefined;
1592
1944
  example: any;
1593
1945
  }) | ({
1594
1946
  description?: string | undefined;
@@ -1614,8 +1966,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1614
1966
  } | undefined;
1615
1967
  }))[] | undefined;
1616
1968
  requestBody?: ({
1617
- summary?: string | undefined;
1618
1969
  description?: string | undefined;
1970
+ summary?: string | undefined;
1619
1971
  $ref: string;
1620
1972
  } & {
1621
1973
  $status?: "loading" | "error" | undefined;
@@ -1628,6 +1980,25 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1628
1980
  content: {
1629
1981
  [x: string]: {
1630
1982
  example?: any;
1983
+ examples?: {
1984
+ [x: string]: ({
1985
+ description?: string | undefined;
1986
+ summary?: string | undefined;
1987
+ value?: any;
1988
+ externalValue?: string | undefined;
1989
+ } & {
1990
+ [x: `x-${string}`]: unknown;
1991
+ }) | ({
1992
+ description?: string | undefined;
1993
+ summary?: string | undefined;
1994
+ $ref: string;
1995
+ } & {
1996
+ $status?: "loading" | "error" | undefined;
1997
+ $global?: boolean | undefined;
1998
+ } & {
1999
+ [x: `x-${string}`]: unknown;
2000
+ });
2001
+ } | undefined;
1631
2002
  schema?: ({
1632
2003
  discriminator?: ({
1633
2004
  mapping?: {
@@ -1653,6 +2024,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1653
2024
  [x: `x-${string}`]: unknown;
1654
2025
  }) | undefined;
1655
2026
  example?: any;
2027
+ examples?: unknown[] | undefined;
1656
2028
  } & {
1657
2029
  [x: `x-${string}`]: unknown;
1658
2030
  } & {
@@ -1660,32 +2032,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1660
2032
  } & {
1661
2033
  [x: string]: unknown;
1662
2034
  }) | undefined;
1663
- examples?: {
1664
- [x: string]: ({
1665
- summary?: string | undefined;
1666
- description?: string | undefined;
1667
- value?: any;
1668
- externalValue?: string | undefined;
1669
- } & {
1670
- [x: `x-${string}`]: unknown;
1671
- }) | ({
1672
- summary?: string | undefined;
1673
- description?: string | undefined;
1674
- $ref: string;
1675
- } & {
1676
- $status?: "loading" | "error" | undefined;
1677
- $global?: boolean | undefined;
1678
- } & {
1679
- [x: `x-${string}`]: unknown;
1680
- });
1681
- } | undefined;
1682
2035
  encoding?: {
1683
2036
  [x: string]: {
1684
2037
  contentType?: string | undefined;
1685
2038
  headers?: {
1686
2039
  [x: string]: ({
1687
- summary?: string | undefined;
1688
2040
  description?: string | undefined;
2041
+ summary?: string | undefined;
1689
2042
  $ref: string;
1690
2043
  } & {
1691
2044
  $status?: "loading" | "error" | undefined;
@@ -1699,13 +2052,41 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1699
2052
  } & {
1700
2053
  [x: `x-${string}`]: unknown;
1701
2054
  } & {
1702
- style?: string | undefined;
1703
- explode?: boolean | undefined;
1704
- schema?: ({
1705
- discriminator?: ({
1706
- mapping?: {
1707
- [x: string]: string;
1708
- } | undefined;
2055
+ examples?: {
2056
+ [x: string]: ({
2057
+ description?: string | undefined;
2058
+ summary?: string | undefined;
2059
+ value?: any;
2060
+ externalValue?: string | undefined;
2061
+ } & {
2062
+ [x: `x-${string}`]: unknown;
2063
+ }) | ({
2064
+ description?: string | undefined;
2065
+ summary?: string | undefined;
2066
+ $ref: string;
2067
+ } & {
2068
+ $status?: "loading" | "error" | undefined;
2069
+ $global?: boolean | undefined;
2070
+ } & {
2071
+ [x: `x-${string}`]: unknown;
2072
+ });
2073
+ } | undefined;
2074
+ style?: string | undefined;
2075
+ explode?: boolean | undefined;
2076
+ schema?: ({
2077
+ description?: string | undefined;
2078
+ summary?: string | undefined;
2079
+ $ref: string;
2080
+ } & {
2081
+ $status?: "loading" | "error" | undefined;
2082
+ $global?: boolean | undefined;
2083
+ } & {
2084
+ [x: `x-${string}`]: unknown;
2085
+ }) | ({
2086
+ discriminator?: ({
2087
+ mapping?: {
2088
+ [x: string]: string;
2089
+ } | undefined;
1709
2090
  propertyName: string;
1710
2091
  } & {
1711
2092
  [x: `x-${string}`]: unknown;
@@ -1726,41 +2107,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1726
2107
  [x: `x-${string}`]: unknown;
1727
2108
  }) | undefined;
1728
2109
  example?: any;
2110
+ examples?: unknown[] | undefined;
1729
2111
  } & {
1730
2112
  [x: `x-${string}`]: unknown;
1731
2113
  } & {
1732
2114
  'x-tags'?: string[] | undefined;
1733
2115
  } & {
1734
2116
  [x: string]: unknown;
1735
- }) | ({
1736
- summary?: string | undefined;
1737
- description?: string | undefined;
1738
- $ref: string;
1739
- } & {
1740
- $status?: "loading" | "error" | undefined;
1741
- $global?: boolean | undefined;
1742
- } & {
1743
- [x: `x-${string}`]: unknown;
1744
2117
  }) | undefined;
1745
- examples?: {
1746
- [x: string]: ({
1747
- summary?: string | undefined;
1748
- description?: string | undefined;
1749
- value?: any;
1750
- externalValue?: string | undefined;
1751
- } & {
1752
- [x: `x-${string}`]: unknown;
1753
- }) | ({
1754
- summary?: string | undefined;
1755
- description?: string | undefined;
1756
- $ref: string;
1757
- } & {
1758
- $status?: "loading" | "error" | undefined;
1759
- $global?: boolean | undefined;
1760
- } & {
1761
- [x: `x-${string}`]: unknown;
1762
- });
1763
- } | undefined;
1764
2118
  example: any;
1765
2119
  }) | ({
1766
2120
  description?: string | undefined;
@@ -1790,8 +2144,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1790
2144
  tags?: string[] | undefined;
1791
2145
  responses?: ({
1792
2146
  [x: string]: ({
1793
- summary?: string | undefined;
1794
2147
  description?: string | undefined;
2148
+ summary?: string | undefined;
1795
2149
  $ref: string;
1796
2150
  } & {
1797
2151
  $status?: "loading" | "error" | undefined;
@@ -1807,9 +2161,37 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1807
2161
  } & {
1808
2162
  [x: `x-${string}`]: unknown;
1809
2163
  } & {
2164
+ examples?: {
2165
+ [x: string]: ({
2166
+ description?: string | undefined;
2167
+ summary?: string | undefined;
2168
+ value?: any;
2169
+ externalValue?: string | undefined;
2170
+ } & {
2171
+ [x: `x-${string}`]: unknown;
2172
+ }) | ({
2173
+ description?: string | undefined;
2174
+ summary?: string | undefined;
2175
+ $ref: string;
2176
+ } & {
2177
+ $status?: "loading" | "error" | undefined;
2178
+ $global?: boolean | undefined;
2179
+ } & {
2180
+ [x: `x-${string}`]: unknown;
2181
+ });
2182
+ } | undefined;
1810
2183
  style?: string | undefined;
1811
2184
  explode?: boolean | undefined;
1812
2185
  schema?: ({
2186
+ description?: string | undefined;
2187
+ summary?: string | undefined;
2188
+ $ref: string;
2189
+ } & {
2190
+ $status?: "loading" | "error" | undefined;
2191
+ $global?: boolean | undefined;
2192
+ } & {
2193
+ [x: `x-${string}`]: unknown;
2194
+ }) | ({
1813
2195
  discriminator?: ({
1814
2196
  mapping?: {
1815
2197
  [x: string]: string;
@@ -1834,41 +2216,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1834
2216
  [x: `x-${string}`]: unknown;
1835
2217
  }) | undefined;
1836
2218
  example?: any;
2219
+ examples?: unknown[] | undefined;
1837
2220
  } & {
1838
2221
  [x: `x-${string}`]: unknown;
1839
2222
  } & {
1840
2223
  'x-tags'?: string[] | undefined;
1841
2224
  } & {
1842
2225
  [x: string]: unknown;
1843
- }) | ({
1844
- summary?: string | undefined;
1845
- description?: string | undefined;
1846
- $ref: string;
1847
- } & {
1848
- $status?: "loading" | "error" | undefined;
1849
- $global?: boolean | undefined;
1850
- } & {
1851
- [x: `x-${string}`]: unknown;
1852
2226
  }) | undefined;
1853
- examples?: {
1854
- [x: string]: ({
1855
- summary?: string | undefined;
1856
- description?: string | undefined;
1857
- $ref: string;
1858
- } & {
1859
- $status?: "loading" | "error" | undefined;
1860
- $global?: boolean | undefined;
1861
- } & {
1862
- [x: `x-${string}`]: unknown;
1863
- }) | ({
1864
- summary?: string | undefined;
1865
- description?: string | undefined;
1866
- value?: any;
1867
- externalValue?: string | undefined;
1868
- } & {
1869
- [x: `x-${string}`]: unknown;
1870
- });
1871
- } | undefined;
1872
2227
  example: any;
1873
2228
  }) | ({
1874
2229
  description?: string | undefined;
@@ -1880,6 +2235,25 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1880
2235
  content?: {
1881
2236
  [x: string]: {
1882
2237
  example?: any;
2238
+ examples?: {
2239
+ [x: string]: ({
2240
+ description?: string | undefined;
2241
+ summary?: string | undefined;
2242
+ value?: any;
2243
+ externalValue?: string | undefined;
2244
+ } & {
2245
+ [x: `x-${string}`]: unknown;
2246
+ }) | ({
2247
+ description?: string | undefined;
2248
+ summary?: string | undefined;
2249
+ $ref: string;
2250
+ } & {
2251
+ $status?: "loading" | "error" | undefined;
2252
+ $global?: boolean | undefined;
2253
+ } & {
2254
+ [x: `x-${string}`]: unknown;
2255
+ });
2256
+ } | undefined;
1883
2257
  schema?: ({
1884
2258
  discriminator?: ({
1885
2259
  mapping?: {
@@ -1905,6 +2279,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1905
2279
  [x: `x-${string}`]: unknown;
1906
2280
  }) | undefined;
1907
2281
  example?: any;
2282
+ examples?: unknown[] | undefined;
1908
2283
  } & {
1909
2284
  [x: `x-${string}`]: unknown;
1910
2285
  } & {
@@ -1912,25 +2287,6 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1912
2287
  } & {
1913
2288
  [x: string]: unknown;
1914
2289
  }) | undefined;
1915
- examples?: {
1916
- [x: string]: ({
1917
- summary?: string | undefined;
1918
- description?: string | undefined;
1919
- $ref: string;
1920
- } & {
1921
- $status?: "loading" | "error" | undefined;
1922
- $global?: boolean | undefined;
1923
- } & {
1924
- [x: `x-${string}`]: unknown;
1925
- }) | ({
1926
- summary?: string | undefined;
1927
- description?: string | undefined;
1928
- value?: any;
1929
- externalValue?: string | undefined;
1930
- } & {
1931
- [x: `x-${string}`]: unknown;
1932
- });
1933
- } | undefined;
1934
2290
  encoding?: {
1935
2291
  [x: string]: {
1936
2292
  contentType?: string | undefined;
@@ -1942,9 +2298,37 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1942
2298
  } & {
1943
2299
  [x: `x-${string}`]: unknown;
1944
2300
  } & {
2301
+ examples?: {
2302
+ [x: string]: ({
2303
+ description?: string | undefined;
2304
+ summary?: string | undefined;
2305
+ value?: any;
2306
+ externalValue?: string | undefined;
2307
+ } & {
2308
+ [x: `x-${string}`]: unknown;
2309
+ }) | ({
2310
+ description?: string | undefined;
2311
+ summary?: string | undefined;
2312
+ $ref: string;
2313
+ } & {
2314
+ $status?: "loading" | "error" | undefined;
2315
+ $global?: boolean | undefined;
2316
+ } & {
2317
+ [x: `x-${string}`]: unknown;
2318
+ });
2319
+ } | undefined;
1945
2320
  style?: string | undefined;
1946
2321
  explode?: boolean | undefined;
1947
2322
  schema?: ({
2323
+ description?: string | undefined;
2324
+ summary?: string | undefined;
2325
+ $ref: string;
2326
+ } & {
2327
+ $status?: "loading" | "error" | undefined;
2328
+ $global?: boolean | undefined;
2329
+ } & {
2330
+ [x: `x-${string}`]: unknown;
2331
+ }) | ({
1948
2332
  discriminator?: ({
1949
2333
  mapping?: {
1950
2334
  [x: string]: string;
@@ -1969,41 +2353,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1969
2353
  [x: `x-${string}`]: unknown;
1970
2354
  }) | undefined;
1971
2355
  example?: any;
2356
+ examples?: unknown[] | undefined;
1972
2357
  } & {
1973
2358
  [x: `x-${string}`]: unknown;
1974
2359
  } & {
1975
2360
  'x-tags'?: string[] | undefined;
1976
2361
  } & {
1977
2362
  [x: string]: unknown;
1978
- }) | ({
1979
- summary?: string | undefined;
1980
- description?: string | undefined;
1981
- $ref: string;
1982
- } & {
1983
- $status?: "loading" | "error" | undefined;
1984
- $global?: boolean | undefined;
1985
- } & {
1986
- [x: `x-${string}`]: unknown;
1987
2363
  }) | undefined;
1988
- examples?: {
1989
- [x: string]: ({
1990
- summary?: string | undefined;
1991
- description?: string | undefined;
1992
- $ref: string;
1993
- } & {
1994
- $status?: "loading" | "error" | undefined;
1995
- $global?: boolean | undefined;
1996
- } & {
1997
- [x: `x-${string}`]: unknown;
1998
- }) | ({
1999
- summary?: string | undefined;
2000
- description?: string | undefined;
2001
- value?: any;
2002
- externalValue?: string | undefined;
2003
- } & {
2004
- [x: `x-${string}`]: unknown;
2005
- });
2006
- } | undefined;
2007
2364
  example: any;
2008
2365
  }) | ({
2009
2366
  description?: string | undefined;
@@ -2012,8 +2369,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2012
2369
  } & {
2013
2370
  [x: `x-${string}`]: unknown;
2014
2371
  } & any) | ({
2015
- summary?: string | undefined;
2016
2372
  description?: string | undefined;
2373
+ summary?: string | undefined;
2017
2374
  $ref: string;
2018
2375
  } & {
2019
2376
  $status?: "loading" | "error" | undefined;
@@ -2031,8 +2388,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2031
2388
  };
2032
2389
  } | undefined;
2033
2390
  }) | ({
2034
- summary?: string | undefined;
2035
2391
  description?: string | undefined;
2392
+ summary?: string | undefined;
2036
2393
  $ref: string;
2037
2394
  } & {
2038
2395
  $status?: "loading" | "error" | undefined;
@@ -2044,6 +2401,25 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2044
2401
  content?: {
2045
2402
  [x: string]: {
2046
2403
  example?: any;
2404
+ examples?: {
2405
+ [x: string]: ({
2406
+ description?: string | undefined;
2407
+ summary?: string | undefined;
2408
+ value?: any;
2409
+ externalValue?: string | undefined;
2410
+ } & {
2411
+ [x: `x-${string}`]: unknown;
2412
+ }) | ({
2413
+ description?: string | undefined;
2414
+ summary?: string | undefined;
2415
+ $ref: string;
2416
+ } & {
2417
+ $status?: "loading" | "error" | undefined;
2418
+ $global?: boolean | undefined;
2419
+ } & {
2420
+ [x: `x-${string}`]: unknown;
2421
+ });
2422
+ } | undefined;
2047
2423
  schema?: ({
2048
2424
  discriminator?: ({
2049
2425
  mapping?: {
@@ -2069,6 +2445,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2069
2445
  [x: `x-${string}`]: unknown;
2070
2446
  }) | undefined;
2071
2447
  example?: any;
2448
+ examples?: unknown[] | undefined;
2072
2449
  } & {
2073
2450
  [x: `x-${string}`]: unknown;
2074
2451
  } & {
@@ -2076,32 +2453,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2076
2453
  } & {
2077
2454
  [x: string]: unknown;
2078
2455
  }) | undefined;
2079
- examples?: {
2080
- [x: string]: ({
2081
- summary?: string | undefined;
2082
- description?: string | undefined;
2083
- value?: any;
2084
- externalValue?: string | undefined;
2085
- } & {
2086
- [x: `x-${string}`]: unknown;
2087
- }) | ({
2088
- summary?: string | undefined;
2089
- description?: string | undefined;
2090
- $ref: string;
2091
- } & {
2092
- $status?: "loading" | "error" | undefined;
2093
- $global?: boolean | undefined;
2094
- } & {
2095
- [x: `x-${string}`]: unknown;
2096
- });
2097
- } | undefined;
2098
2456
  encoding?: {
2099
2457
  [x: string]: {
2100
2458
  contentType?: string | undefined;
2101
2459
  headers?: {
2102
2460
  [x: string]: ({
2103
- summary?: string | undefined;
2104
2461
  description?: string | undefined;
2462
+ summary?: string | undefined;
2105
2463
  $ref: string;
2106
2464
  } & {
2107
2465
  $status?: "loading" | "error" | undefined;
@@ -2115,9 +2473,37 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2115
2473
  } & {
2116
2474
  [x: `x-${string}`]: unknown;
2117
2475
  } & {
2476
+ examples?: {
2477
+ [x: string]: ({
2478
+ description?: string | undefined;
2479
+ summary?: string | undefined;
2480
+ value?: any;
2481
+ externalValue?: string | undefined;
2482
+ } & {
2483
+ [x: `x-${string}`]: unknown;
2484
+ }) | ({
2485
+ description?: string | undefined;
2486
+ summary?: string | undefined;
2487
+ $ref: string;
2488
+ } & {
2489
+ $status?: "loading" | "error" | undefined;
2490
+ $global?: boolean | undefined;
2491
+ } & {
2492
+ [x: `x-${string}`]: unknown;
2493
+ });
2494
+ } | undefined;
2118
2495
  style?: string | undefined;
2119
2496
  explode?: boolean | undefined;
2120
2497
  schema?: ({
2498
+ description?: string | undefined;
2499
+ summary?: string | undefined;
2500
+ $ref: string;
2501
+ } & {
2502
+ $status?: "loading" | "error" | undefined;
2503
+ $global?: boolean | undefined;
2504
+ } & {
2505
+ [x: `x-${string}`]: unknown;
2506
+ }) | ({
2121
2507
  discriminator?: ({
2122
2508
  mapping?: {
2123
2509
  [x: string]: string;
@@ -2142,41 +2528,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2142
2528
  [x: `x-${string}`]: unknown;
2143
2529
  }) | undefined;
2144
2530
  example?: any;
2531
+ examples?: unknown[] | undefined;
2145
2532
  } & {
2146
2533
  [x: `x-${string}`]: unknown;
2147
2534
  } & {
2148
2535
  'x-tags'?: string[] | undefined;
2149
2536
  } & {
2150
2537
  [x: string]: unknown;
2151
- }) | ({
2152
- summary?: string | undefined;
2153
- description?: string | undefined;
2154
- $ref: string;
2155
- } & {
2156
- $status?: "loading" | "error" | undefined;
2157
- $global?: boolean | undefined;
2158
- } & {
2159
- [x: `x-${string}`]: unknown;
2160
2538
  }) | undefined;
2161
- examples?: {
2162
- [x: string]: ({
2163
- summary?: string | undefined;
2164
- description?: string | undefined;
2165
- value?: any;
2166
- externalValue?: string | undefined;
2167
- } & {
2168
- [x: `x-${string}`]: unknown;
2169
- }) | ({
2170
- summary?: string | undefined;
2171
- description?: string | undefined;
2172
- $ref: string;
2173
- } & {
2174
- $status?: "loading" | "error" | undefined;
2175
- $global?: boolean | undefined;
2176
- } & {
2177
- [x: `x-${string}`]: unknown;
2178
- });
2179
- } | undefined;
2180
2539
  example: any;
2181
2540
  }) | ({
2182
2541
  description?: string | undefined;
@@ -2202,8 +2561,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2202
2561
  } | undefined;
2203
2562
  links?: {
2204
2563
  [x: string]: ({
2205
- summary?: string | undefined;
2206
2564
  description?: string | undefined;
2565
+ summary?: string | undefined;
2207
2566
  $ref: string;
2208
2567
  } & {
2209
2568
  $status?: "loading" | "error" | undefined;
@@ -2266,8 +2625,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2266
2625
  })[] | undefined;
2267
2626
  callbacks?: {
2268
2627
  [x: string]: ({
2269
- summary?: string | undefined;
2270
2628
  description?: string | undefined;
2629
+ summary?: string | undefined;
2271
2630
  $ref: string;
2272
2631
  } & {
2273
2632
  $status?: "loading" | "error" | undefined;
@@ -2276,12 +2635,12 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2276
2635
  [x: `x-${string}`]: unknown;
2277
2636
  }) | ({
2278
2637
  [x: string]: {
2279
- summary?: string | undefined;
2280
2638
  description?: string | undefined;
2281
2639
  $ref?: string | undefined;
2640
+ summary?: string | undefined;
2282
2641
  parameters?: (({
2283
- summary?: string | undefined;
2284
2642
  description?: string | undefined;
2643
+ summary?: string | undefined;
2285
2644
  $ref: string;
2286
2645
  } & {
2287
2646
  $status?: "loading" | "error" | undefined;
@@ -2294,15 +2653,34 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2294
2653
  deprecated?: boolean | undefined;
2295
2654
  allowEmptyValue?: boolean | undefined;
2296
2655
  name: string;
2297
- in: string;
2656
+ in: "query" | "header" | "path" | "cookie";
2298
2657
  } & {
2299
2658
  [x: `x-${string}`]: unknown;
2300
2659
  } & {
2660
+ examples?: {
2661
+ [x: string]: ({
2662
+ description?: string | undefined;
2663
+ summary?: string | undefined;
2664
+ $ref: string;
2665
+ } & {
2666
+ $status?: "loading" | "error" | undefined;
2667
+ $global?: boolean | undefined;
2668
+ } & {
2669
+ [x: `x-${string}`]: unknown;
2670
+ }) | ({
2671
+ description?: string | undefined;
2672
+ summary?: string | undefined;
2673
+ value?: any;
2674
+ externalValue?: string | undefined;
2675
+ } & {
2676
+ [x: `x-${string}`]: unknown;
2677
+ });
2678
+ } | undefined;
2301
2679
  style?: string | undefined;
2302
2680
  explode?: boolean | undefined;
2303
2681
  schema?: ({
2304
- summary?: string | undefined;
2305
2682
  description?: string | undefined;
2683
+ summary?: string | undefined;
2306
2684
  $ref: string;
2307
2685
  } & {
2308
2686
  $status?: "loading" | "error" | undefined;
@@ -2334,6 +2712,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2334
2712
  [x: `x-${string}`]: unknown;
2335
2713
  }) | undefined;
2336
2714
  example?: any;
2715
+ examples?: unknown[] | undefined;
2337
2716
  } & {
2338
2717
  [x: `x-${string}`]: unknown;
2339
2718
  } & {
@@ -2341,25 +2720,6 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2341
2720
  } & {
2342
2721
  [x: string]: unknown;
2343
2722
  }) | undefined;
2344
- examples?: {
2345
- [x: string]: ({
2346
- summary?: string | undefined;
2347
- description?: string | undefined;
2348
- $ref: string;
2349
- } & {
2350
- $status?: "loading" | "error" | undefined;
2351
- $global?: boolean | undefined;
2352
- } & {
2353
- [x: `x-${string}`]: unknown;
2354
- }) | ({
2355
- summary?: string | undefined;
2356
- description?: string | undefined;
2357
- value?: any;
2358
- externalValue?: string | undefined;
2359
- } & {
2360
- [x: `x-${string}`]: unknown;
2361
- });
2362
- } | undefined;
2363
2723
  example: any;
2364
2724
  }) | ({
2365
2725
  description?: string | undefined;
@@ -2367,13 +2727,32 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2367
2727
  deprecated?: boolean | undefined;
2368
2728
  allowEmptyValue?: boolean | undefined;
2369
2729
  name: string;
2370
- in: string;
2730
+ in: "query" | "header" | "path" | "cookie";
2371
2731
  } & {
2372
2732
  [x: `x-${string}`]: unknown;
2373
2733
  } & {
2374
2734
  content?: {
2375
2735
  [x: string]: {
2376
2736
  example?: any;
2737
+ examples?: {
2738
+ [x: string]: ({
2739
+ description?: string | undefined;
2740
+ summary?: string | undefined;
2741
+ value?: any;
2742
+ externalValue?: string | undefined;
2743
+ } & {
2744
+ [x: `x-${string}`]: unknown;
2745
+ }) | ({
2746
+ description?: string | undefined;
2747
+ summary?: string | undefined;
2748
+ $ref: string;
2749
+ } & {
2750
+ $status?: "loading" | "error" | undefined;
2751
+ $global?: boolean | undefined;
2752
+ } & {
2753
+ [x: `x-${string}`]: unknown;
2754
+ });
2755
+ } | undefined;
2377
2756
  schema?: ({
2378
2757
  discriminator?: ({
2379
2758
  mapping?: {
@@ -2399,6 +2778,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2399
2778
  [x: `x-${string}`]: unknown;
2400
2779
  }) | undefined;
2401
2780
  example?: any;
2781
+ examples?: unknown[] | undefined;
2402
2782
  } & {
2403
2783
  [x: `x-${string}`]: unknown;
2404
2784
  } & {
@@ -2406,32 +2786,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2406
2786
  } & {
2407
2787
  [x: string]: unknown;
2408
2788
  }) | undefined;
2409
- examples?: {
2410
- [x: string]: ({
2411
- summary?: string | undefined;
2412
- description?: string | undefined;
2413
- value?: any;
2414
- externalValue?: string | undefined;
2415
- } & {
2416
- [x: `x-${string}`]: unknown;
2417
- }) | ({
2418
- summary?: string | undefined;
2419
- description?: string | undefined;
2420
- $ref: string;
2421
- } & {
2422
- $status?: "loading" | "error" | undefined;
2423
- $global?: boolean | undefined;
2424
- } & {
2425
- [x: `x-${string}`]: unknown;
2426
- });
2427
- } | undefined;
2428
2789
  encoding?: {
2429
2790
  [x: string]: {
2430
2791
  contentType?: string | undefined;
2431
2792
  headers?: {
2432
2793
  [x: string]: ({
2433
- summary?: string | undefined;
2434
2794
  description?: string | undefined;
2795
+ summary?: string | undefined;
2435
2796
  $ref: string;
2436
2797
  } & {
2437
2798
  $status?: "loading" | "error" | undefined;
@@ -2445,9 +2806,37 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2445
2806
  } & {
2446
2807
  [x: `x-${string}`]: unknown;
2447
2808
  } & {
2809
+ examples?: {
2810
+ [x: string]: ({
2811
+ description?: string | undefined;
2812
+ summary?: string | undefined;
2813
+ value?: any;
2814
+ externalValue?: string | undefined;
2815
+ } & {
2816
+ [x: `x-${string}`]: unknown;
2817
+ }) | ({
2818
+ description?: string | undefined;
2819
+ summary?: string | undefined;
2820
+ $ref: string;
2821
+ } & {
2822
+ $status?: "loading" | "error" | undefined;
2823
+ $global?: boolean | undefined;
2824
+ } & {
2825
+ [x: `x-${string}`]: unknown;
2826
+ });
2827
+ } | undefined;
2448
2828
  style?: string | undefined;
2449
2829
  explode?: boolean | undefined;
2450
2830
  schema?: ({
2831
+ description?: string | undefined;
2832
+ summary?: string | undefined;
2833
+ $ref: string;
2834
+ } & {
2835
+ $status?: "loading" | "error" | undefined;
2836
+ $global?: boolean | undefined;
2837
+ } & {
2838
+ [x: `x-${string}`]: unknown;
2839
+ }) | ({
2451
2840
  discriminator?: ({
2452
2841
  mapping?: {
2453
2842
  [x: string]: string;
@@ -2472,41 +2861,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2472
2861
  [x: `x-${string}`]: unknown;
2473
2862
  }) | undefined;
2474
2863
  example?: any;
2864
+ examples?: unknown[] | undefined;
2475
2865
  } & {
2476
2866
  [x: `x-${string}`]: unknown;
2477
2867
  } & {
2478
2868
  'x-tags'?: string[] | undefined;
2479
2869
  } & {
2480
2870
  [x: string]: unknown;
2481
- }) | ({
2482
- summary?: string | undefined;
2483
- description?: string | undefined;
2484
- $ref: string;
2485
- } & {
2486
- $status?: "loading" | "error" | undefined;
2487
- $global?: boolean | undefined;
2488
- } & {
2489
- [x: `x-${string}`]: unknown;
2490
2871
  }) | undefined;
2491
- examples?: {
2492
- [x: string]: ({
2493
- summary?: string | undefined;
2494
- description?: string | undefined;
2495
- value?: any;
2496
- externalValue?: string | undefined;
2497
- } & {
2498
- [x: `x-${string}`]: unknown;
2499
- }) | ({
2500
- summary?: string | undefined;
2501
- description?: string | undefined;
2502
- $ref: string;
2503
- } & {
2504
- $status?: "loading" | "error" | undefined;
2505
- $global?: boolean | undefined;
2506
- } & {
2507
- [x: `x-${string}`]: unknown;
2508
- });
2509
- } | undefined;
2510
2872
  example: any;
2511
2873
  }) | ({
2512
2874
  description?: string | undefined;
@@ -2547,10 +2909,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2547
2909
  [x: `x-${string}`]: unknown;
2548
2910
  })[] | undefined;
2549
2911
  get?: (any & {
2912
+ 'x-scalar-client-config-request-example'?: {
2913
+ [x: string]: {
2914
+ name?: string | undefined;
2915
+ parameters?: {
2916
+ query?: {
2917
+ [x: string]: string;
2918
+ } | undefined;
2919
+ header?: {
2920
+ [x: string]: string;
2921
+ } | undefined;
2922
+ path?: {
2923
+ [x: string]: string;
2924
+ } | undefined;
2925
+ cookie?: {
2926
+ [x: string]: string;
2927
+ } | undefined;
2928
+ } | undefined;
2929
+ body?: {
2930
+ file?: {
2931
+ base64?: string | undefined;
2932
+ url: string;
2933
+ } | null | undefined;
2934
+ content: string | {
2935
+ [x: string]: any;
2936
+ };
2937
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
2938
+ } | undefined;
2939
+ };
2940
+ } | undefined;
2941
+ } & {
2550
2942
  [x: `x-${string}`]: unknown;
2551
2943
  }) | ({
2552
- summary?: string | undefined;
2553
2944
  description?: string | undefined;
2945
+ summary?: string | undefined;
2554
2946
  $ref: string;
2555
2947
  } & {
2556
2948
  $status?: "loading" | "error" | undefined;
@@ -2559,10 +2951,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2559
2951
  [x: `x-${string}`]: unknown;
2560
2952
  }) | undefined;
2561
2953
  put?: (any & {
2954
+ 'x-scalar-client-config-request-example'?: {
2955
+ [x: string]: {
2956
+ name?: string | undefined;
2957
+ parameters?: {
2958
+ query?: {
2959
+ [x: string]: string;
2960
+ } | undefined;
2961
+ header?: {
2962
+ [x: string]: string;
2963
+ } | undefined;
2964
+ path?: {
2965
+ [x: string]: string;
2966
+ } | undefined;
2967
+ cookie?: {
2968
+ [x: string]: string;
2969
+ } | undefined;
2970
+ } | undefined;
2971
+ body?: {
2972
+ file?: {
2973
+ base64?: string | undefined;
2974
+ url: string;
2975
+ } | null | undefined;
2976
+ content: string | {
2977
+ [x: string]: any;
2978
+ };
2979
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
2980
+ } | undefined;
2981
+ };
2982
+ } | undefined;
2983
+ } & {
2562
2984
  [x: `x-${string}`]: unknown;
2563
2985
  }) | ({
2564
- summary?: string | undefined;
2565
2986
  description?: string | undefined;
2987
+ summary?: string | undefined;
2566
2988
  $ref: string;
2567
2989
  } & {
2568
2990
  $status?: "loading" | "error" | undefined;
@@ -2571,10 +2993,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2571
2993
  [x: `x-${string}`]: unknown;
2572
2994
  }) | undefined;
2573
2995
  post?: (any & {
2996
+ 'x-scalar-client-config-request-example'?: {
2997
+ [x: string]: {
2998
+ name?: string | undefined;
2999
+ parameters?: {
3000
+ query?: {
3001
+ [x: string]: string;
3002
+ } | undefined;
3003
+ header?: {
3004
+ [x: string]: string;
3005
+ } | undefined;
3006
+ path?: {
3007
+ [x: string]: string;
3008
+ } | undefined;
3009
+ cookie?: {
3010
+ [x: string]: string;
3011
+ } | undefined;
3012
+ } | undefined;
3013
+ body?: {
3014
+ file?: {
3015
+ base64?: string | undefined;
3016
+ url: string;
3017
+ } | null | undefined;
3018
+ content: string | {
3019
+ [x: string]: any;
3020
+ };
3021
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3022
+ } | undefined;
3023
+ };
3024
+ } | undefined;
3025
+ } & {
2574
3026
  [x: `x-${string}`]: unknown;
2575
3027
  }) | ({
2576
- summary?: string | undefined;
2577
3028
  description?: string | undefined;
3029
+ summary?: string | undefined;
2578
3030
  $ref: string;
2579
3031
  } & {
2580
3032
  $status?: "loading" | "error" | undefined;
@@ -2583,10 +3035,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2583
3035
  [x: `x-${string}`]: unknown;
2584
3036
  }) | undefined;
2585
3037
  delete?: (any & {
3038
+ 'x-scalar-client-config-request-example'?: {
3039
+ [x: string]: {
3040
+ name?: string | undefined;
3041
+ parameters?: {
3042
+ query?: {
3043
+ [x: string]: string;
3044
+ } | undefined;
3045
+ header?: {
3046
+ [x: string]: string;
3047
+ } | undefined;
3048
+ path?: {
3049
+ [x: string]: string;
3050
+ } | undefined;
3051
+ cookie?: {
3052
+ [x: string]: string;
3053
+ } | undefined;
3054
+ } | undefined;
3055
+ body?: {
3056
+ file?: {
3057
+ base64?: string | undefined;
3058
+ url: string;
3059
+ } | null | undefined;
3060
+ content: string | {
3061
+ [x: string]: any;
3062
+ };
3063
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3064
+ } | undefined;
3065
+ };
3066
+ } | undefined;
3067
+ } & {
2586
3068
  [x: `x-${string}`]: unknown;
2587
3069
  }) | ({
2588
- summary?: string | undefined;
2589
3070
  description?: string | undefined;
3071
+ summary?: string | undefined;
2590
3072
  $ref: string;
2591
3073
  } & {
2592
3074
  $status?: "loading" | "error" | undefined;
@@ -2595,10 +3077,124 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2595
3077
  [x: `x-${string}`]: unknown;
2596
3078
  }) | undefined;
2597
3079
  patch?: (any & {
3080
+ 'x-scalar-client-config-request-example'?: {
3081
+ [x: string]: {
3082
+ name?: string | undefined;
3083
+ parameters?: {
3084
+ query?: {
3085
+ [x: string]: string;
3086
+ } | undefined;
3087
+ header?: {
3088
+ [x: string]: string;
3089
+ } | undefined;
3090
+ path?: {
3091
+ [x: string]: string;
3092
+ } | undefined;
3093
+ cookie?: {
3094
+ [x: string]: string;
3095
+ } | undefined;
3096
+ } | undefined;
3097
+ body?: {
3098
+ file?: {
3099
+ base64?: string | undefined;
3100
+ url: string;
3101
+ } | null | undefined;
3102
+ content: string | {
3103
+ [x: string]: any;
3104
+ };
3105
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3106
+ } | undefined;
3107
+ };
3108
+ } | undefined;
3109
+ } & {
3110
+ [x: `x-${string}`]: unknown;
3111
+ }) | ({
3112
+ description?: string | undefined;
3113
+ summary?: string | undefined;
3114
+ $ref: string;
3115
+ } & {
3116
+ $status?: "loading" | "error" | undefined;
3117
+ $global?: boolean | undefined;
3118
+ } & {
3119
+ [x: `x-${string}`]: unknown;
3120
+ }) | undefined;
3121
+ connect?: (any & {
3122
+ 'x-scalar-client-config-request-example'?: {
3123
+ [x: string]: {
3124
+ name?: string | undefined;
3125
+ parameters?: {
3126
+ query?: {
3127
+ [x: string]: string;
3128
+ } | undefined;
3129
+ header?: {
3130
+ [x: string]: string;
3131
+ } | undefined;
3132
+ path?: {
3133
+ [x: string]: string;
3134
+ } | undefined;
3135
+ cookie?: {
3136
+ [x: string]: string;
3137
+ } | undefined;
3138
+ } | undefined;
3139
+ body?: {
3140
+ file?: {
3141
+ base64?: string | undefined;
3142
+ url: string;
3143
+ } | null | undefined;
3144
+ content: string | {
3145
+ [x: string]: any;
3146
+ };
3147
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3148
+ } | undefined;
3149
+ };
3150
+ } | undefined;
3151
+ } & {
2598
3152
  [x: `x-${string}`]: unknown;
2599
3153
  }) | ({
3154
+ description?: string | undefined;
2600
3155
  summary?: string | undefined;
3156
+ $ref: string;
3157
+ } & {
3158
+ $status?: "loading" | "error" | undefined;
3159
+ $global?: boolean | undefined;
3160
+ } & {
3161
+ [x: `x-${string}`]: unknown;
3162
+ }) | undefined;
3163
+ options?: (any & {
3164
+ 'x-scalar-client-config-request-example'?: {
3165
+ [x: string]: {
3166
+ name?: string | undefined;
3167
+ parameters?: {
3168
+ query?: {
3169
+ [x: string]: string;
3170
+ } | undefined;
3171
+ header?: {
3172
+ [x: string]: string;
3173
+ } | undefined;
3174
+ path?: {
3175
+ [x: string]: string;
3176
+ } | undefined;
3177
+ cookie?: {
3178
+ [x: string]: string;
3179
+ } | undefined;
3180
+ } | undefined;
3181
+ body?: {
3182
+ file?: {
3183
+ base64?: string | undefined;
3184
+ url: string;
3185
+ } | null | undefined;
3186
+ content: string | {
3187
+ [x: string]: any;
3188
+ };
3189
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3190
+ } | undefined;
3191
+ };
3192
+ } | undefined;
3193
+ } & {
3194
+ [x: `x-${string}`]: unknown;
3195
+ }) | ({
2601
3196
  description?: string | undefined;
3197
+ summary?: string | undefined;
2602
3198
  $ref: string;
2603
3199
  } & {
2604
3200
  $status?: "loading" | "error" | undefined;
@@ -2606,11 +3202,83 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2606
3202
  } & {
2607
3203
  [x: `x-${string}`]: unknown;
2608
3204
  }) | undefined;
2609
- trace?: (any & {
3205
+ head?: (any & {
3206
+ 'x-scalar-client-config-request-example'?: {
3207
+ [x: string]: {
3208
+ name?: string | undefined;
3209
+ parameters?: {
3210
+ query?: {
3211
+ [x: string]: string;
3212
+ } | undefined;
3213
+ header?: {
3214
+ [x: string]: string;
3215
+ } | undefined;
3216
+ path?: {
3217
+ [x: string]: string;
3218
+ } | undefined;
3219
+ cookie?: {
3220
+ [x: string]: string;
3221
+ } | undefined;
3222
+ } | undefined;
3223
+ body?: {
3224
+ file?: {
3225
+ base64?: string | undefined;
3226
+ url: string;
3227
+ } | null | undefined;
3228
+ content: string | {
3229
+ [x: string]: any;
3230
+ };
3231
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3232
+ } | undefined;
3233
+ };
3234
+ } | undefined;
3235
+ } & {
2610
3236
  [x: `x-${string}`]: unknown;
2611
3237
  }) | ({
3238
+ description?: string | undefined;
2612
3239
  summary?: string | undefined;
3240
+ $ref: string;
3241
+ } & {
3242
+ $status?: "loading" | "error" | undefined;
3243
+ $global?: boolean | undefined;
3244
+ } & {
3245
+ [x: `x-${string}`]: unknown;
3246
+ }) | undefined;
3247
+ trace?: (any & {
3248
+ 'x-scalar-client-config-request-example'?: {
3249
+ [x: string]: {
3250
+ name?: string | undefined;
3251
+ parameters?: {
3252
+ query?: {
3253
+ [x: string]: string;
3254
+ } | undefined;
3255
+ header?: {
3256
+ [x: string]: string;
3257
+ } | undefined;
3258
+ path?: {
3259
+ [x: string]: string;
3260
+ } | undefined;
3261
+ cookie?: {
3262
+ [x: string]: string;
3263
+ } | undefined;
3264
+ } | undefined;
3265
+ body?: {
3266
+ file?: {
3267
+ base64?: string | undefined;
3268
+ url: string;
3269
+ } | null | undefined;
3270
+ content: string | {
3271
+ [x: string]: any;
3272
+ };
3273
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3274
+ } | undefined;
3275
+ };
3276
+ } | undefined;
3277
+ } & {
3278
+ [x: `x-${string}`]: unknown;
3279
+ }) | ({
2613
3280
  description?: string | undefined;
3281
+ summary?: string | undefined;
2614
3282
  $ref: string;
2615
3283
  } & {
2616
3284
  $status?: "loading" | "error" | undefined;
@@ -2625,11 +3293,41 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2625
3293
  [x: `x-${string}`]: unknown;
2626
3294
  });
2627
3295
  } | undefined;
3296
+ } & {
3297
+ 'x-scalar-client-config-request-example'?: {
3298
+ [x: string]: {
3299
+ name?: string | undefined;
3300
+ parameters?: {
3301
+ query?: {
3302
+ [x: string]: string;
3303
+ } | undefined;
3304
+ header?: {
3305
+ [x: string]: string;
3306
+ } | undefined;
3307
+ path?: {
3308
+ [x: string]: string;
3309
+ } | undefined;
3310
+ cookie?: {
3311
+ [x: string]: string;
3312
+ } | undefined;
3313
+ } | undefined;
3314
+ body?: {
3315
+ file?: {
3316
+ base64?: string | undefined;
3317
+ url: string;
3318
+ } | null | undefined;
3319
+ content: string | {
3320
+ [x: string]: any;
3321
+ };
3322
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3323
+ } | undefined;
3324
+ };
3325
+ } | undefined;
2628
3326
  } & {
2629
3327
  [x: `x-${string}`]: unknown;
2630
3328
  }) | ({
2631
- summary?: string | undefined;
2632
3329
  description?: string | undefined;
3330
+ summary?: string | undefined;
2633
3331
  $ref: string;
2634
3332
  } & {
2635
3333
  $status?: "loading" | "error" | undefined;