@scalar/workspace-store 0.4.1 → 0.5.2

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 (286) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/client.d.ts +39257 -4989
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +8 -4
  5. package/dist/client.js.map +2 -2
  6. package/dist/helpers/general.d.ts +1 -0
  7. package/dist/helpers/general.d.ts.map +1 -1
  8. package/dist/helpers/general.js +5 -1
  9. package/dist/helpers/general.js.map +2 -2
  10. package/dist/navigation/helpers/traverse-document.d.ts +2 -2
  11. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  12. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  13. package/dist/navigation/helpers/traverse-paths.d.ts +2 -2
  14. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-paths.js +4 -0
  16. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  17. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -2
  18. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  19. package/dist/navigation/helpers/traverse-schemas.js +1 -1
  20. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  21. package/dist/navigation/helpers/traverse-tags.d.ts +2 -2
  22. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  23. package/dist/navigation/helpers/traverse-tags.js +2 -2
  24. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  25. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -2
  26. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  27. package/dist/navigation/helpers/traverse-webhooks.js +4 -0
  28. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  29. package/dist/navigation/types.d.ts +11 -10
  30. package/dist/navigation/types.d.ts.map +1 -1
  31. package/dist/schemas/typebox-coerce.d.ts +26 -0
  32. package/dist/schemas/typebox-coerce.d.ts.map +1 -0
  33. package/dist/schemas/typebox-coerce.js +8 -0
  34. package/dist/schemas/typebox-coerce.js.map +7 -0
  35. package/dist/schemas/v3.1/compose.d.ts +6 -0
  36. package/dist/schemas/v3.1/compose.d.ts.map +1 -0
  37. package/dist/schemas/v3.1/compose.js +8 -0
  38. package/dist/schemas/v3.1/compose.js.map +7 -0
  39. package/dist/schemas/v3.1/strict/callback.d.ts +3 -0
  40. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -0
  41. package/dist/schemas/v3.1/strict/callback.js +15 -0
  42. package/dist/schemas/v3.1/strict/callback.js.map +7 -0
  43. package/dist/schemas/v3.1/strict/components.d.ts +7824 -0
  44. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -0
  45. package/dist/schemas/v3.1/strict/components.js +46 -0
  46. package/dist/schemas/v3.1/strict/components.js.map +7 -0
  47. package/dist/schemas/{openapi-v3 → v3.1/strict}/contact.d.ts +4 -2
  48. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -0
  49. package/dist/schemas/v3.1/strict/contact.js +18 -0
  50. package/dist/schemas/v3.1/strict/contact.js.map +7 -0
  51. package/dist/schemas/{openapi-v3 → v3.1/strict}/discriminator.d.ts +4 -2
  52. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -0
  53. package/dist/schemas/v3.1/strict/discriminator.js +16 -0
  54. package/dist/schemas/v3.1/strict/discriminator.js.map +7 -0
  55. package/dist/schemas/{openapi-v3 → v3.1/strict}/encoding.d.ts +7 -16
  56. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -0
  57. package/dist/schemas/v3.1/strict/encoding.js +17 -0
  58. package/dist/schemas/v3.1/strict/encoding.js.map +7 -0
  59. package/dist/schemas/{openapi-v3 → v3.1/strict}/example.d.ts +4 -2
  60. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -0
  61. package/dist/schemas/v3.1/strict/example.js +20 -0
  62. package/dist/schemas/v3.1/strict/example.js.map +7 -0
  63. package/dist/schemas/v3.1/strict/extensions.d.ts +4 -0
  64. package/dist/schemas/v3.1/strict/extensions.d.ts.map +1 -0
  65. package/dist/schemas/v3.1/strict/extensions.js +6 -0
  66. package/dist/schemas/v3.1/strict/extensions.js.map +7 -0
  67. package/dist/schemas/v3.1/strict/external-documentation.d.ts +10 -0
  68. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -0
  69. package/dist/schemas/v3.1/strict/external-documentation.js +16 -0
  70. package/dist/schemas/v3.1/strict/external-documentation.js.map +7 -0
  71. package/dist/schemas/v3.1/strict/header.d.ts +133 -0
  72. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -0
  73. package/dist/schemas/v3.1/strict/header.js +48 -0
  74. package/dist/schemas/v3.1/strict/header.js.map +7 -0
  75. package/dist/schemas/{openapi-v3 → v3.1/strict}/info.d.ts +8 -6
  76. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -0
  77. package/dist/schemas/v3.1/strict/info.js +28 -0
  78. package/dist/schemas/v3.1/strict/info.js.map +7 -0
  79. package/dist/schemas/{openapi-v3 → v3.1/strict}/license.d.ts +4 -2
  80. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -0
  81. package/dist/schemas/v3.1/strict/license.js +18 -0
  82. package/dist/schemas/v3.1/strict/license.js.map +7 -0
  83. package/dist/schemas/{openapi-v3 → v3.1/strict}/link.d.ts +8 -6
  84. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -0
  85. package/dist/schemas/v3.1/strict/link.js +25 -0
  86. package/dist/schemas/v3.1/strict/link.js.map +7 -0
  87. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +329 -0
  88. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -0
  89. package/dist/schemas/v3.1/strict/media-header-encoding.js +19 -0
  90. package/dist/schemas/v3.1/strict/media-header-encoding.js.map +7 -0
  91. package/dist/schemas/{openapi-v3 → v3.1/strict}/media-type.d.ts +20 -34
  92. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -0
  93. package/dist/schemas/v3.1/strict/media-type.js +27 -0
  94. package/dist/schemas/v3.1/strict/media-type.js.map +7 -0
  95. package/dist/schemas/{openapi-v3 → v3.1/strict}/oauth-flow.d.ts +4 -2
  96. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -0
  97. package/dist/schemas/v3.1/strict/oauth-flow.js +20 -0
  98. package/dist/schemas/v3.1/strict/oauth-flow.js.map +7 -0
  99. package/dist/schemas/{openapi-v3 → v3.1/strict}/oauthflows.d.ts +12 -10
  100. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -0
  101. package/dist/schemas/v3.1/strict/oauthflows.js +21 -0
  102. package/dist/schemas/v3.1/strict/oauthflows.js.map +7 -0
  103. package/dist/schemas/v3.1/strict/openapi-document.d.ts +49 -0
  104. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -0
  105. package/dist/schemas/v3.1/strict/openapi-document.js +55 -0
  106. package/dist/schemas/v3.1/strict/openapi-document.js.map +7 -0
  107. package/dist/schemas/v3.1/strict/operation.d.ts +572 -0
  108. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -0
  109. package/dist/schemas/v3.1/strict/operation.js +46 -0
  110. package/dist/schemas/v3.1/strict/operation.js.map +7 -0
  111. package/dist/schemas/v3.1/strict/parameter.d.ts +396 -0
  112. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -0
  113. package/dist/schemas/v3.1/strict/parameter.js +56 -0
  114. package/dist/schemas/v3.1/strict/parameter.js.map +7 -0
  115. package/dist/schemas/v3.1/strict/path-item.d.ts +205 -0
  116. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -0
  117. package/dist/schemas/v3.1/strict/path-item.js +41 -0
  118. package/dist/schemas/v3.1/strict/path-item.js.map +7 -0
  119. package/dist/schemas/v3.1/strict/path-operations.d.ts +7816 -0
  120. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -0
  121. package/dist/schemas/v3.1/strict/path-operations.js +19 -0
  122. package/dist/schemas/v3.1/strict/path-operations.js.map +7 -0
  123. package/dist/schemas/v3.1/strict/paths.d.ts +3536 -0
  124. package/dist/schemas/{openapi-v3/openapi-document.d.ts.map → v3.1/strict/paths.d.ts.map} +1 -1
  125. package/dist/schemas/v3.1/strict/paths.js +16 -0
  126. package/dist/schemas/v3.1/strict/paths.js.map +7 -0
  127. package/dist/schemas/{openapi-v3 → v3.1/strict}/reference.d.ts +15 -6
  128. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -0
  129. package/dist/schemas/v3.1/strict/reference.js +26 -0
  130. package/dist/schemas/v3.1/strict/reference.js.map +7 -0
  131. package/dist/schemas/v3.1/strict/request-body.d.ts +112 -0
  132. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -0
  133. package/dist/schemas/v3.1/strict/request-body.js +19 -0
  134. package/dist/schemas/v3.1/strict/request-body.js.map +7 -0
  135. package/dist/schemas/v3.1/strict/response.d.ts +242 -0
  136. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -0
  137. package/dist/schemas/v3.1/strict/response.js +23 -0
  138. package/dist/schemas/v3.1/strict/response.js.map +7 -0
  139. package/dist/schemas/v3.1/strict/responses.d.ts +254 -0
  140. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -0
  141. package/dist/schemas/v3.1/strict/responses.js +13 -0
  142. package/dist/schemas/v3.1/strict/responses.js.map +7 -0
  143. package/dist/schemas/{openapi-v3 → v3.1/strict}/schema.d.ts +12 -8
  144. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -0
  145. package/dist/schemas/v3.1/strict/schema.js +34 -0
  146. package/dist/schemas/v3.1/strict/schema.js.map +7 -0
  147. package/dist/schemas/{openapi-v3 → v3.1/strict}/security-requirement.d.ts +3 -1
  148. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -0
  149. package/dist/schemas/v3.1/strict/security-requirement.js +15 -0
  150. package/dist/schemas/v3.1/strict/security-requirement.js.map +7 -0
  151. package/dist/schemas/{openapi-v3 → v3.1/strict}/security-scheme.d.ts +40 -38
  152. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -0
  153. package/dist/schemas/{openapi-v3 → v3.1/strict}/security-scheme.js +21 -16
  154. package/dist/schemas/v3.1/strict/security-scheme.js.map +7 -0
  155. package/dist/schemas/{openapi-v3 → v3.1/strict}/server-variable.d.ts +4 -2
  156. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -0
  157. package/dist/schemas/v3.1/strict/server-variable.js +18 -0
  158. package/dist/schemas/v3.1/strict/server-variable.js.map +7 -0
  159. package/dist/schemas/{openapi-v3 → v3.1/strict}/server.d.ts +6 -4
  160. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -0
  161. package/dist/schemas/v3.1/strict/server.js +19 -0
  162. package/dist/schemas/v3.1/strict/server.js.map +7 -0
  163. package/dist/schemas/v3.1/strict/tag.d.ts +17 -0
  164. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -0
  165. package/dist/schemas/v3.1/strict/tag.js +25 -0
  166. package/dist/schemas/v3.1/strict/tag.js.map +7 -0
  167. package/dist/schemas/{openapi-v3 → v3.1/strict}/xml.d.ts +4 -2
  168. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -0
  169. package/dist/schemas/v3.1/strict/xml.js +22 -0
  170. package/dist/schemas/v3.1/strict/xml.js.map +7 -0
  171. package/dist/schemas/v3.1/type-guard.d.ts +3 -0
  172. package/dist/schemas/v3.1/type-guard.d.ts.map +1 -0
  173. package/dist/schemas/v3.1/type-guard.js +7 -0
  174. package/dist/schemas/v3.1/type-guard.js.map +7 -0
  175. package/dist/schemas/workspace.d.ts +49 -14750
  176. package/dist/schemas/workspace.d.ts.map +1 -1
  177. package/dist/schemas/workspace.js +5 -4
  178. package/dist/schemas/workspace.js.map +2 -2
  179. package/dist/schemas.d.ts.map +1 -1
  180. package/dist/schemas.js.map +2 -2
  181. package/dist/server.d.ts +2579 -5
  182. package/dist/server.d.ts.map +1 -1
  183. package/dist/server.js +16 -8
  184. package/dist/server.js.map +2 -2
  185. package/package.json +5 -4
  186. package/dist/schemas/openapi-v3/callback.d.ts +0 -1156
  187. package/dist/schemas/openapi-v3/callback.d.ts.map +0 -1
  188. package/dist/schemas/openapi-v3/callback.js +0 -11
  189. package/dist/schemas/openapi-v3/callback.js.map +0 -7
  190. package/dist/schemas/openapi-v3/components.d.ts +0 -2597
  191. package/dist/schemas/openapi-v3/components.d.ts.map +0 -1
  192. package/dist/schemas/openapi-v3/components.js +0 -38
  193. package/dist/schemas/openapi-v3/components.js.map +0 -7
  194. package/dist/schemas/openapi-v3/contact.d.ts.map +0 -1
  195. package/dist/schemas/openapi-v3/contact.js +0 -13
  196. package/dist/schemas/openapi-v3/contact.js.map +0 -7
  197. package/dist/schemas/openapi-v3/discriminator.d.ts.map +0 -1
  198. package/dist/schemas/openapi-v3/discriminator.js +0 -11
  199. package/dist/schemas/openapi-v3/discriminator.js.map +0 -7
  200. package/dist/schemas/openapi-v3/encoding.d.ts.map +0 -1
  201. package/dist/schemas/openapi-v3/encoding.js +0 -13
  202. package/dist/schemas/openapi-v3/encoding.js.map +0 -7
  203. package/dist/schemas/openapi-v3/example.d.ts.map +0 -1
  204. package/dist/schemas/openapi-v3/example.js +0 -15
  205. package/dist/schemas/openapi-v3/example.js.map +0 -7
  206. package/dist/schemas/openapi-v3/external-documentation.d.ts +0 -8
  207. package/dist/schemas/openapi-v3/external-documentation.d.ts.map +0 -1
  208. package/dist/schemas/openapi-v3/external-documentation.js +0 -11
  209. package/dist/schemas/openapi-v3/external-documentation.js.map +0 -7
  210. package/dist/schemas/openapi-v3/header.d.ts +0 -18
  211. package/dist/schemas/openapi-v3/header.d.ts.map +0 -1
  212. package/dist/schemas/openapi-v3/header.js +0 -13
  213. package/dist/schemas/openapi-v3/header.js.map +0 -7
  214. package/dist/schemas/openapi-v3/info.d.ts.map +0 -1
  215. package/dist/schemas/openapi-v3/info.js +0 -23
  216. package/dist/schemas/openapi-v3/info.js.map +0 -7
  217. package/dist/schemas/openapi-v3/license.d.ts.map +0 -1
  218. package/dist/schemas/openapi-v3/license.js +0 -13
  219. package/dist/schemas/openapi-v3/license.js.map +0 -7
  220. package/dist/schemas/openapi-v3/link.d.ts.map +0 -1
  221. package/dist/schemas/openapi-v3/link.js +0 -20
  222. package/dist/schemas/openapi-v3/link.js.map +0 -7
  223. package/dist/schemas/openapi-v3/media-type.d.ts.map +0 -1
  224. package/dist/schemas/openapi-v3/media-type.js +0 -19
  225. package/dist/schemas/openapi-v3/media-type.js.map +0 -7
  226. package/dist/schemas/openapi-v3/oauth-flow.d.ts.map +0 -1
  227. package/dist/schemas/openapi-v3/oauth-flow.js +0 -15
  228. package/dist/schemas/openapi-v3/oauth-flow.js.map +0 -7
  229. package/dist/schemas/openapi-v3/oauthflows.d.ts.map +0 -1
  230. package/dist/schemas/openapi-v3/oauthflows.js +0 -16
  231. package/dist/schemas/openapi-v3/oauthflows.js.map +0 -7
  232. package/dist/schemas/openapi-v3/openapi-document.d.ts +0 -4941
  233. package/dist/schemas/openapi-v3/openapi-document.js +0 -35
  234. package/dist/schemas/openapi-v3/openapi-document.js.map +0 -7
  235. package/dist/schemas/openapi-v3/operation-without-callback.d.ts +0 -200
  236. package/dist/schemas/openapi-v3/operation-without-callback.d.ts.map +0 -1
  237. package/dist/schemas/openapi-v3/operation-without-callback.js +0 -39
  238. package/dist/schemas/openapi-v3/operation-without-callback.js.map +0 -7
  239. package/dist/schemas/openapi-v3/parameter.d.ts +0 -25
  240. package/dist/schemas/openapi-v3/parameter.d.ts.map +0 -1
  241. package/dist/schemas/openapi-v3/parameter.js +0 -22
  242. package/dist/schemas/openapi-v3/parameter.js.map +0 -7
  243. package/dist/schemas/openapi-v3/path-item.d.ts +0 -1167
  244. package/dist/schemas/openapi-v3/path-item.d.ts.map +0 -1
  245. package/dist/schemas/openapi-v3/path-item.js +0 -37
  246. package/dist/schemas/openapi-v3/path-item.js.map +0 -7
  247. package/dist/schemas/openapi-v3/paths.d.ts +0 -1154
  248. package/dist/schemas/openapi-v3/paths.d.ts.map +0 -1
  249. package/dist/schemas/openapi-v3/paths.js +0 -11
  250. package/dist/schemas/openapi-v3/paths.js.map +0 -7
  251. package/dist/schemas/openapi-v3/reference.d.ts.map +0 -1
  252. package/dist/schemas/openapi-v3/reference.js +0 -17
  253. package/dist/schemas/openapi-v3/reference.js.map +0 -7
  254. package/dist/schemas/openapi-v3/request-body.d.ts +0 -56
  255. package/dist/schemas/openapi-v3/request-body.d.ts.map +0 -1
  256. package/dist/schemas/openapi-v3/request-body.js +0 -14
  257. package/dist/schemas/openapi-v3/request-body.js.map +0 -7
  258. package/dist/schemas/openapi-v3/response.d.ts +0 -88
  259. package/dist/schemas/openapi-v3/response.d.ts.map +0 -1
  260. package/dist/schemas/openapi-v3/response.js +0 -19
  261. package/dist/schemas/openapi-v3/response.js.map +0 -7
  262. package/dist/schemas/openapi-v3/responses.d.ts +0 -99
  263. package/dist/schemas/openapi-v3/responses.d.ts.map +0 -1
  264. package/dist/schemas/openapi-v3/responses.js +0 -8
  265. package/dist/schemas/openapi-v3/responses.js.map +0 -7
  266. package/dist/schemas/openapi-v3/schema.d.ts.map +0 -1
  267. package/dist/schemas/openapi-v3/schema.js +0 -22
  268. package/dist/schemas/openapi-v3/schema.js.map +0 -7
  269. package/dist/schemas/openapi-v3/security-requirement.d.ts.map +0 -1
  270. package/dist/schemas/openapi-v3/security-requirement.js +0 -10
  271. package/dist/schemas/openapi-v3/security-requirement.js.map +0 -7
  272. package/dist/schemas/openapi-v3/security-scheme.d.ts.map +0 -1
  273. package/dist/schemas/openapi-v3/security-scheme.js.map +0 -7
  274. package/dist/schemas/openapi-v3/server-variable.d.ts.map +0 -1
  275. package/dist/schemas/openapi-v3/server-variable.js +0 -13
  276. package/dist/schemas/openapi-v3/server-variable.js.map +0 -7
  277. package/dist/schemas/openapi-v3/server.d.ts.map +0 -1
  278. package/dist/schemas/openapi-v3/server.js +0 -14
  279. package/dist/schemas/openapi-v3/server.js.map +0 -7
  280. package/dist/schemas/openapi-v3/tag.d.ts +0 -13
  281. package/dist/schemas/openapi-v3/tag.d.ts.map +0 -1
  282. package/dist/schemas/openapi-v3/tag.js +0 -14
  283. package/dist/schemas/openapi-v3/tag.js.map +0 -7
  284. package/dist/schemas/openapi-v3/xml.d.ts.map +0 -1
  285. package/dist/schemas/openapi-v3/xml.js +0 -17
  286. package/dist/schemas/openapi-v3/xml.js.map +0 -7
package/dist/server.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
1
  import type { WorkspaceDocumentMeta, WorkspaceMeta } from './schemas/workspace.js';
3
2
  import { type createNavigationOptions } from './navigation/index.js';
3
+ import { type OpenApiDocument } from './schemas/v3.1/strict/openapi-document.js';
4
+ import type { PathsObject } from './schemas/v3.1/strict/paths.js';
5
+ import type { OperationObject } from './schemas/v3.1/strict/path-operations.js';
4
6
  export declare const WORKSPACE_FILE_NAME = "scalar-workspace.json";
5
7
  type CreateServerWorkspaceStoreBase = {
6
8
  documents: {
@@ -40,7 +42,1293 @@ type CreateServerWorkspaceStore = ({
40
42
  * }
41
43
  * }
42
44
  */
43
- export declare function filterHttpMethodsOnly(paths: OpenAPIV3_1.PathsObject): OpenAPIV3_1.PathsObject<{}, {}>;
45
+ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string, Record<string, ({
46
+ summary?: string | undefined;
47
+ description?: string | undefined;
48
+ externalDocs?: ({
49
+ description?: string | undefined;
50
+ url: string;
51
+ } & {
52
+ [x: `x-${string}`]: unknown;
53
+ }) | undefined;
54
+ deprecated?: boolean | undefined;
55
+ operationId?: string | undefined;
56
+ parameters?: (({
57
+ summary?: string | undefined;
58
+ description?: string | undefined;
59
+ $ref: string;
60
+ } & {
61
+ $status?: "loading" | "error" | undefined;
62
+ $global?: boolean | undefined;
63
+ } & {
64
+ [x: `x-${string}`]: unknown;
65
+ }) | ({
66
+ description?: string | undefined;
67
+ required?: boolean | undefined;
68
+ deprecated?: boolean | undefined;
69
+ allowEmptyValue?: boolean | undefined;
70
+ name: string;
71
+ in: string;
72
+ } & {
73
+ [x: `x-${string}`]: unknown;
74
+ } & {
75
+ style?: string | undefined;
76
+ explode?: boolean | undefined;
77
+ schema?: ({
78
+ summary?: string | undefined;
79
+ description?: string | undefined;
80
+ $ref: string;
81
+ } & {
82
+ $status?: "loading" | "error" | undefined;
83
+ $global?: boolean | undefined;
84
+ } & {
85
+ [x: `x-${string}`]: unknown;
86
+ }) | ({
87
+ discriminator?: ({
88
+ mapping?: {
89
+ [x: string]: string;
90
+ } | undefined;
91
+ propertyName: string;
92
+ } & {
93
+ [x: `x-${string}`]: unknown;
94
+ }) | undefined;
95
+ xml?: ({
96
+ name?: string | undefined;
97
+ namespace?: string | undefined;
98
+ prefix?: string | undefined;
99
+ attribute?: boolean | undefined;
100
+ wrapped?: boolean | undefined;
101
+ } & {
102
+ [x: `x-${string}`]: unknown;
103
+ }) | undefined;
104
+ externalDocs?: ({
105
+ description?: string | undefined;
106
+ url: string;
107
+ } & {
108
+ [x: `x-${string}`]: unknown;
109
+ }) | undefined;
110
+ example?: any;
111
+ } & {
112
+ [x: `x-${string}`]: unknown;
113
+ } & {
114
+ 'x-tags'?: string[] | undefined;
115
+ } & {
116
+ [x: string]: unknown;
117
+ }) | undefined;
118
+ examples?: {
119
+ [x: string]: ({
120
+ summary?: string | undefined;
121
+ description?: string | undefined;
122
+ $ref: string;
123
+ } & {
124
+ $status?: "loading" | "error" | undefined;
125
+ $global?: boolean | undefined;
126
+ } & {
127
+ [x: `x-${string}`]: unknown;
128
+ }) | ({
129
+ summary?: string | undefined;
130
+ description?: string | undefined;
131
+ value?: any;
132
+ externalValue?: string | undefined;
133
+ } & {
134
+ [x: `x-${string}`]: unknown;
135
+ });
136
+ } | undefined;
137
+ example: any;
138
+ }) | ({
139
+ description?: string | undefined;
140
+ required?: boolean | undefined;
141
+ deprecated?: boolean | undefined;
142
+ allowEmptyValue?: boolean | undefined;
143
+ name: string;
144
+ in: string;
145
+ } & {
146
+ [x: `x-${string}`]: unknown;
147
+ } & {
148
+ content?: {
149
+ [x: string]: {
150
+ example?: any;
151
+ schema?: ({
152
+ discriminator?: ({
153
+ mapping?: {
154
+ [x: string]: string;
155
+ } | undefined;
156
+ propertyName: string;
157
+ } & {
158
+ [x: `x-${string}`]: unknown;
159
+ }) | undefined;
160
+ xml?: ({
161
+ name?: string | undefined;
162
+ namespace?: string | undefined;
163
+ prefix?: string | undefined;
164
+ attribute?: boolean | undefined;
165
+ wrapped?: boolean | undefined;
166
+ } & {
167
+ [x: `x-${string}`]: unknown;
168
+ }) | undefined;
169
+ externalDocs?: ({
170
+ description?: string | undefined;
171
+ url: string;
172
+ } & {
173
+ [x: `x-${string}`]: unknown;
174
+ }) | undefined;
175
+ example?: any;
176
+ } & {
177
+ [x: `x-${string}`]: unknown;
178
+ } & {
179
+ 'x-tags'?: string[] | undefined;
180
+ } & {
181
+ [x: string]: unknown;
182
+ }) | undefined;
183
+ examples?: {
184
+ [x: string]: ({
185
+ summary?: string | undefined;
186
+ description?: string | undefined;
187
+ value?: any;
188
+ externalValue?: string | undefined;
189
+ } & {
190
+ [x: `x-${string}`]: unknown;
191
+ }) | ({
192
+ summary?: string | undefined;
193
+ description?: string | undefined;
194
+ $ref: string;
195
+ } & {
196
+ $status?: "loading" | "error" | undefined;
197
+ $global?: boolean | undefined;
198
+ } & {
199
+ [x: `x-${string}`]: unknown;
200
+ });
201
+ } | undefined;
202
+ encoding?: {
203
+ [x: string]: {
204
+ contentType?: string | undefined;
205
+ headers?: {
206
+ [x: string]: ({
207
+ summary?: string | undefined;
208
+ description?: string | undefined;
209
+ $ref: string;
210
+ } & {
211
+ $status?: "loading" | "error" | undefined;
212
+ $global?: boolean | undefined;
213
+ } & {
214
+ [x: `x-${string}`]: unknown;
215
+ }) | ({
216
+ description?: string | undefined;
217
+ required?: boolean | undefined;
218
+ deprecated?: boolean | undefined;
219
+ } & {
220
+ [x: `x-${string}`]: unknown;
221
+ } & {
222
+ style?: string | undefined;
223
+ explode?: boolean | undefined;
224
+ schema?: ({
225
+ discriminator?: ({
226
+ mapping?: {
227
+ [x: string]: string;
228
+ } | undefined;
229
+ propertyName: string;
230
+ } & {
231
+ [x: `x-${string}`]: unknown;
232
+ }) | undefined;
233
+ xml?: ({
234
+ name?: string | undefined;
235
+ namespace?: string | undefined;
236
+ prefix?: string | undefined;
237
+ attribute?: boolean | undefined;
238
+ wrapped?: boolean | undefined;
239
+ } & {
240
+ [x: `x-${string}`]: unknown;
241
+ }) | undefined;
242
+ externalDocs?: ({
243
+ description?: string | undefined;
244
+ url: string;
245
+ } & {
246
+ [x: `x-${string}`]: unknown;
247
+ }) | undefined;
248
+ example?: any;
249
+ } & {
250
+ [x: `x-${string}`]: unknown;
251
+ } & {
252
+ 'x-tags'?: string[] | undefined;
253
+ } & {
254
+ [x: string]: unknown;
255
+ }) | ({
256
+ summary?: string | undefined;
257
+ description?: string | undefined;
258
+ $ref: string;
259
+ } & {
260
+ $status?: "loading" | "error" | undefined;
261
+ $global?: boolean | undefined;
262
+ } & {
263
+ [x: `x-${string}`]: unknown;
264
+ }) | undefined;
265
+ examples?: {
266
+ [x: string]: ({
267
+ summary?: string | undefined;
268
+ description?: string | undefined;
269
+ value?: any;
270
+ externalValue?: string | undefined;
271
+ } & {
272
+ [x: `x-${string}`]: unknown;
273
+ }) | ({
274
+ summary?: string | undefined;
275
+ description?: string | undefined;
276
+ $ref: string;
277
+ } & {
278
+ $status?: "loading" | "error" | undefined;
279
+ $global?: boolean | undefined;
280
+ } & {
281
+ [x: `x-${string}`]: unknown;
282
+ });
283
+ } | undefined;
284
+ example: any;
285
+ }) | ({
286
+ description?: string | undefined;
287
+ required?: boolean | undefined;
288
+ deprecated?: boolean | undefined;
289
+ } & {
290
+ [x: `x-${string}`]: unknown;
291
+ } & {
292
+ content?: {
293
+ [x: string]: any & {
294
+ [x: `x-${string}`]: unknown;
295
+ };
296
+ } | undefined;
297
+ });
298
+ } | undefined;
299
+ } & {
300
+ [x: `x-${string}`]: unknown;
301
+ };
302
+ } | undefined;
303
+ } & {
304
+ [x: `x-${string}`]: unknown;
305
+ };
306
+ } | undefined;
307
+ }))[] | undefined;
308
+ requestBody?: ({
309
+ summary?: string | undefined;
310
+ description?: string | undefined;
311
+ $ref: string;
312
+ } & {
313
+ $status?: "loading" | "error" | undefined;
314
+ $global?: boolean | undefined;
315
+ } & {
316
+ [x: `x-${string}`]: unknown;
317
+ }) | ({
318
+ description?: string | undefined;
319
+ required?: boolean | undefined;
320
+ content: {
321
+ [x: string]: {
322
+ example?: any;
323
+ schema?: ({
324
+ discriminator?: ({
325
+ mapping?: {
326
+ [x: string]: string;
327
+ } | undefined;
328
+ propertyName: string;
329
+ } & {
330
+ [x: `x-${string}`]: unknown;
331
+ }) | undefined;
332
+ xml?: ({
333
+ name?: string | undefined;
334
+ namespace?: string | undefined;
335
+ prefix?: string | undefined;
336
+ attribute?: boolean | undefined;
337
+ wrapped?: boolean | undefined;
338
+ } & {
339
+ [x: `x-${string}`]: unknown;
340
+ }) | undefined;
341
+ externalDocs?: ({
342
+ description?: string | undefined;
343
+ url: string;
344
+ } & {
345
+ [x: `x-${string}`]: unknown;
346
+ }) | undefined;
347
+ example?: any;
348
+ } & {
349
+ [x: `x-${string}`]: unknown;
350
+ } & {
351
+ 'x-tags'?: string[] | undefined;
352
+ } & {
353
+ [x: string]: unknown;
354
+ }) | undefined;
355
+ examples?: {
356
+ [x: string]: ({
357
+ summary?: string | undefined;
358
+ description?: string | undefined;
359
+ value?: any;
360
+ externalValue?: string | undefined;
361
+ } & {
362
+ [x: `x-${string}`]: unknown;
363
+ }) | ({
364
+ summary?: string | undefined;
365
+ description?: string | undefined;
366
+ $ref: string;
367
+ } & {
368
+ $status?: "loading" | "error" | undefined;
369
+ $global?: boolean | undefined;
370
+ } & {
371
+ [x: `x-${string}`]: unknown;
372
+ });
373
+ } | undefined;
374
+ encoding?: {
375
+ [x: string]: {
376
+ contentType?: string | undefined;
377
+ headers?: {
378
+ [x: string]: ({
379
+ summary?: string | undefined;
380
+ description?: string | undefined;
381
+ $ref: string;
382
+ } & {
383
+ $status?: "loading" | "error" | undefined;
384
+ $global?: boolean | undefined;
385
+ } & {
386
+ [x: `x-${string}`]: unknown;
387
+ }) | ({
388
+ description?: string | undefined;
389
+ required?: boolean | undefined;
390
+ deprecated?: boolean | undefined;
391
+ } & {
392
+ [x: `x-${string}`]: unknown;
393
+ } & {
394
+ style?: string | undefined;
395
+ explode?: boolean | undefined;
396
+ schema?: ({
397
+ discriminator?: ({
398
+ mapping?: {
399
+ [x: string]: string;
400
+ } | undefined;
401
+ propertyName: string;
402
+ } & {
403
+ [x: `x-${string}`]: unknown;
404
+ }) | undefined;
405
+ xml?: ({
406
+ name?: string | undefined;
407
+ namespace?: string | undefined;
408
+ prefix?: string | undefined;
409
+ attribute?: boolean | undefined;
410
+ wrapped?: boolean | undefined;
411
+ } & {
412
+ [x: `x-${string}`]: unknown;
413
+ }) | undefined;
414
+ externalDocs?: ({
415
+ description?: string | undefined;
416
+ url: string;
417
+ } & {
418
+ [x: `x-${string}`]: unknown;
419
+ }) | undefined;
420
+ example?: any;
421
+ } & {
422
+ [x: `x-${string}`]: unknown;
423
+ } & {
424
+ 'x-tags'?: string[] | undefined;
425
+ } & {
426
+ [x: string]: unknown;
427
+ }) | ({
428
+ summary?: string | undefined;
429
+ description?: string | undefined;
430
+ $ref: string;
431
+ } & {
432
+ $status?: "loading" | "error" | undefined;
433
+ $global?: boolean | undefined;
434
+ } & {
435
+ [x: `x-${string}`]: unknown;
436
+ }) | undefined;
437
+ examples?: {
438
+ [x: string]: ({
439
+ summary?: string | undefined;
440
+ description?: string | undefined;
441
+ value?: any;
442
+ externalValue?: string | undefined;
443
+ } & {
444
+ [x: `x-${string}`]: unknown;
445
+ }) | ({
446
+ summary?: string | undefined;
447
+ description?: string | undefined;
448
+ $ref: string;
449
+ } & {
450
+ $status?: "loading" | "error" | undefined;
451
+ $global?: boolean | undefined;
452
+ } & {
453
+ [x: `x-${string}`]: unknown;
454
+ });
455
+ } | undefined;
456
+ example: any;
457
+ }) | ({
458
+ description?: string | undefined;
459
+ required?: boolean | undefined;
460
+ deprecated?: boolean | undefined;
461
+ } & {
462
+ [x: `x-${string}`]: unknown;
463
+ } & {
464
+ content?: {
465
+ [x: string]: any & {
466
+ [x: `x-${string}`]: unknown;
467
+ };
468
+ } | undefined;
469
+ });
470
+ } | undefined;
471
+ } & {
472
+ [x: `x-${string}`]: unknown;
473
+ };
474
+ } | undefined;
475
+ } & {
476
+ [x: `x-${string}`]: unknown;
477
+ };
478
+ };
479
+ } & {
480
+ [x: `x-${string}`]: unknown;
481
+ }) | undefined;
482
+ tags?: string[] | undefined;
483
+ responses?: ({
484
+ [x: string]: ({
485
+ summary?: string | undefined;
486
+ description?: string | undefined;
487
+ $ref: string;
488
+ } & {
489
+ $status?: "loading" | "error" | undefined;
490
+ $global?: boolean | undefined;
491
+ } & {
492
+ [x: `x-${string}`]: unknown;
493
+ }) | ({
494
+ headers?: {
495
+ [x: string]: ({
496
+ description?: string | undefined;
497
+ required?: boolean | undefined;
498
+ deprecated?: boolean | undefined;
499
+ } & {
500
+ [x: `x-${string}`]: unknown;
501
+ } & {
502
+ style?: string | undefined;
503
+ explode?: boolean | undefined;
504
+ schema?: ({
505
+ discriminator?: ({
506
+ mapping?: {
507
+ [x: string]: string;
508
+ } | undefined;
509
+ propertyName: string;
510
+ } & {
511
+ [x: `x-${string}`]: unknown;
512
+ }) | undefined;
513
+ xml?: ({
514
+ name?: string | undefined;
515
+ namespace?: string | undefined;
516
+ prefix?: string | undefined;
517
+ attribute?: boolean | undefined;
518
+ wrapped?: boolean | undefined;
519
+ } & {
520
+ [x: `x-${string}`]: unknown;
521
+ }) | undefined;
522
+ externalDocs?: ({
523
+ description?: string | undefined;
524
+ url: string;
525
+ } & {
526
+ [x: `x-${string}`]: unknown;
527
+ }) | undefined;
528
+ example?: any;
529
+ } & {
530
+ [x: `x-${string}`]: unknown;
531
+ } & {
532
+ 'x-tags'?: string[] | undefined;
533
+ } & {
534
+ [x: string]: unknown;
535
+ }) | ({
536
+ summary?: string | undefined;
537
+ description?: string | undefined;
538
+ $ref: string;
539
+ } & {
540
+ $status?: "loading" | "error" | undefined;
541
+ $global?: boolean | undefined;
542
+ } & {
543
+ [x: `x-${string}`]: unknown;
544
+ }) | undefined;
545
+ examples?: {
546
+ [x: string]: ({
547
+ summary?: string | undefined;
548
+ description?: string | undefined;
549
+ $ref: string;
550
+ } & {
551
+ $status?: "loading" | "error" | undefined;
552
+ $global?: boolean | undefined;
553
+ } & {
554
+ [x: `x-${string}`]: unknown;
555
+ }) | ({
556
+ summary?: string | undefined;
557
+ description?: string | undefined;
558
+ value?: any;
559
+ externalValue?: string | undefined;
560
+ } & {
561
+ [x: `x-${string}`]: unknown;
562
+ });
563
+ } | undefined;
564
+ example: any;
565
+ }) | ({
566
+ description?: string | undefined;
567
+ required?: boolean | undefined;
568
+ deprecated?: boolean | undefined;
569
+ } & {
570
+ [x: `x-${string}`]: unknown;
571
+ } & {
572
+ content?: {
573
+ [x: string]: {
574
+ example?: any;
575
+ schema?: ({
576
+ discriminator?: ({
577
+ mapping?: {
578
+ [x: string]: string;
579
+ } | undefined;
580
+ propertyName: string;
581
+ } & {
582
+ [x: `x-${string}`]: unknown;
583
+ }) | undefined;
584
+ xml?: ({
585
+ name?: string | undefined;
586
+ namespace?: string | undefined;
587
+ prefix?: string | undefined;
588
+ attribute?: boolean | undefined;
589
+ wrapped?: boolean | undefined;
590
+ } & {
591
+ [x: `x-${string}`]: unknown;
592
+ }) | undefined;
593
+ externalDocs?: ({
594
+ description?: string | undefined;
595
+ url: string;
596
+ } & {
597
+ [x: `x-${string}`]: unknown;
598
+ }) | undefined;
599
+ example?: any;
600
+ } & {
601
+ [x: `x-${string}`]: unknown;
602
+ } & {
603
+ 'x-tags'?: string[] | undefined;
604
+ } & {
605
+ [x: string]: unknown;
606
+ }) | undefined;
607
+ examples?: {
608
+ [x: string]: ({
609
+ summary?: string | undefined;
610
+ description?: string | undefined;
611
+ $ref: string;
612
+ } & {
613
+ $status?: "loading" | "error" | undefined;
614
+ $global?: boolean | undefined;
615
+ } & {
616
+ [x: `x-${string}`]: unknown;
617
+ }) | ({
618
+ summary?: string | undefined;
619
+ description?: string | undefined;
620
+ value?: any;
621
+ externalValue?: string | undefined;
622
+ } & {
623
+ [x: `x-${string}`]: unknown;
624
+ });
625
+ } | undefined;
626
+ encoding?: {
627
+ [x: string]: {
628
+ contentType?: string | undefined;
629
+ headers?: {
630
+ [x: string]: ({
631
+ description?: string | undefined;
632
+ required?: boolean | undefined;
633
+ deprecated?: boolean | undefined;
634
+ } & {
635
+ [x: `x-${string}`]: unknown;
636
+ } & {
637
+ style?: string | undefined;
638
+ explode?: boolean | undefined;
639
+ schema?: ({
640
+ discriminator?: ({
641
+ mapping?: {
642
+ [x: string]: string;
643
+ } | undefined;
644
+ propertyName: string;
645
+ } & {
646
+ [x: `x-${string}`]: unknown;
647
+ }) | undefined;
648
+ xml?: ({
649
+ name?: string | undefined;
650
+ namespace?: string | undefined;
651
+ prefix?: string | undefined;
652
+ attribute?: boolean | undefined;
653
+ wrapped?: boolean | undefined;
654
+ } & {
655
+ [x: `x-${string}`]: unknown;
656
+ }) | undefined;
657
+ externalDocs?: ({
658
+ description?: string | undefined;
659
+ url: string;
660
+ } & {
661
+ [x: `x-${string}`]: unknown;
662
+ }) | undefined;
663
+ example?: any;
664
+ } & {
665
+ [x: `x-${string}`]: unknown;
666
+ } & {
667
+ 'x-tags'?: string[] | undefined;
668
+ } & {
669
+ [x: string]: unknown;
670
+ }) | ({
671
+ summary?: string | undefined;
672
+ description?: string | undefined;
673
+ $ref: string;
674
+ } & {
675
+ $status?: "loading" | "error" | undefined;
676
+ $global?: boolean | undefined;
677
+ } & {
678
+ [x: `x-${string}`]: unknown;
679
+ }) | undefined;
680
+ examples?: {
681
+ [x: string]: ({
682
+ summary?: string | undefined;
683
+ description?: string | undefined;
684
+ $ref: string;
685
+ } & {
686
+ $status?: "loading" | "error" | undefined;
687
+ $global?: boolean | undefined;
688
+ } & {
689
+ [x: `x-${string}`]: unknown;
690
+ }) | ({
691
+ summary?: string | undefined;
692
+ description?: string | undefined;
693
+ value?: any;
694
+ externalValue?: string | undefined;
695
+ } & {
696
+ [x: `x-${string}`]: unknown;
697
+ });
698
+ } | undefined;
699
+ example: any;
700
+ }) | ({
701
+ description?: string | undefined;
702
+ required?: boolean | undefined;
703
+ deprecated?: boolean | undefined;
704
+ } & {
705
+ [x: `x-${string}`]: unknown;
706
+ } & any) | ({
707
+ summary?: string | undefined;
708
+ description?: string | undefined;
709
+ $ref: string;
710
+ } & {
711
+ $status?: "loading" | "error" | undefined;
712
+ $global?: boolean | undefined;
713
+ } & {
714
+ [x: `x-${string}`]: unknown;
715
+ });
716
+ } | undefined;
717
+ } & {
718
+ [x: `x-${string}`]: unknown;
719
+ };
720
+ } | undefined;
721
+ } & {
722
+ [x: `x-${string}`]: unknown;
723
+ };
724
+ } | undefined;
725
+ }) | ({
726
+ summary?: string | undefined;
727
+ description?: string | undefined;
728
+ $ref: string;
729
+ } & {
730
+ $status?: "loading" | "error" | undefined;
731
+ $global?: boolean | undefined;
732
+ } & {
733
+ [x: `x-${string}`]: unknown;
734
+ });
735
+ } | undefined;
736
+ content?: {
737
+ [x: string]: {
738
+ example?: any;
739
+ schema?: ({
740
+ discriminator?: ({
741
+ mapping?: {
742
+ [x: string]: string;
743
+ } | undefined;
744
+ propertyName: string;
745
+ } & {
746
+ [x: `x-${string}`]: unknown;
747
+ }) | undefined;
748
+ xml?: ({
749
+ name?: string | undefined;
750
+ namespace?: string | undefined;
751
+ prefix?: string | undefined;
752
+ attribute?: boolean | undefined;
753
+ wrapped?: boolean | undefined;
754
+ } & {
755
+ [x: `x-${string}`]: unknown;
756
+ }) | undefined;
757
+ externalDocs?: ({
758
+ description?: string | undefined;
759
+ url: string;
760
+ } & {
761
+ [x: `x-${string}`]: unknown;
762
+ }) | undefined;
763
+ example?: any;
764
+ } & {
765
+ [x: `x-${string}`]: unknown;
766
+ } & {
767
+ 'x-tags'?: string[] | undefined;
768
+ } & {
769
+ [x: string]: unknown;
770
+ }) | undefined;
771
+ examples?: {
772
+ [x: string]: ({
773
+ summary?: string | undefined;
774
+ description?: string | undefined;
775
+ value?: any;
776
+ externalValue?: string | undefined;
777
+ } & {
778
+ [x: `x-${string}`]: unknown;
779
+ }) | ({
780
+ summary?: string | undefined;
781
+ description?: string | undefined;
782
+ $ref: string;
783
+ } & {
784
+ $status?: "loading" | "error" | undefined;
785
+ $global?: boolean | undefined;
786
+ } & {
787
+ [x: `x-${string}`]: unknown;
788
+ });
789
+ } | undefined;
790
+ encoding?: {
791
+ [x: string]: {
792
+ contentType?: string | undefined;
793
+ headers?: {
794
+ [x: string]: ({
795
+ summary?: string | undefined;
796
+ description?: string | undefined;
797
+ $ref: string;
798
+ } & {
799
+ $status?: "loading" | "error" | undefined;
800
+ $global?: boolean | undefined;
801
+ } & {
802
+ [x: `x-${string}`]: unknown;
803
+ }) | ({
804
+ description?: string | undefined;
805
+ required?: boolean | undefined;
806
+ deprecated?: boolean | undefined;
807
+ } & {
808
+ [x: `x-${string}`]: unknown;
809
+ } & {
810
+ style?: string | undefined;
811
+ explode?: boolean | undefined;
812
+ schema?: ({
813
+ discriminator?: ({
814
+ mapping?: {
815
+ [x: string]: string;
816
+ } | undefined;
817
+ propertyName: string;
818
+ } & {
819
+ [x: `x-${string}`]: unknown;
820
+ }) | undefined;
821
+ xml?: ({
822
+ name?: string | undefined;
823
+ namespace?: string | undefined;
824
+ prefix?: string | undefined;
825
+ attribute?: boolean | undefined;
826
+ wrapped?: boolean | undefined;
827
+ } & {
828
+ [x: `x-${string}`]: unknown;
829
+ }) | undefined;
830
+ externalDocs?: ({
831
+ description?: string | undefined;
832
+ url: string;
833
+ } & {
834
+ [x: `x-${string}`]: unknown;
835
+ }) | undefined;
836
+ example?: any;
837
+ } & {
838
+ [x: `x-${string}`]: unknown;
839
+ } & {
840
+ 'x-tags'?: string[] | undefined;
841
+ } & {
842
+ [x: string]: unknown;
843
+ }) | ({
844
+ summary?: string | undefined;
845
+ description?: string | undefined;
846
+ $ref: string;
847
+ } & {
848
+ $status?: "loading" | "error" | undefined;
849
+ $global?: boolean | undefined;
850
+ } & {
851
+ [x: `x-${string}`]: unknown;
852
+ }) | undefined;
853
+ examples?: {
854
+ [x: string]: ({
855
+ summary?: string | undefined;
856
+ description?: string | undefined;
857
+ value?: any;
858
+ externalValue?: string | undefined;
859
+ } & {
860
+ [x: `x-${string}`]: unknown;
861
+ }) | ({
862
+ summary?: string | undefined;
863
+ description?: string | undefined;
864
+ $ref: string;
865
+ } & {
866
+ $status?: "loading" | "error" | undefined;
867
+ $global?: boolean | undefined;
868
+ } & {
869
+ [x: `x-${string}`]: unknown;
870
+ });
871
+ } | undefined;
872
+ example: any;
873
+ }) | ({
874
+ description?: string | undefined;
875
+ required?: boolean | undefined;
876
+ deprecated?: boolean | undefined;
877
+ } & {
878
+ [x: `x-${string}`]: unknown;
879
+ } & {
880
+ content?: {
881
+ [x: string]: any & {
882
+ [x: `x-${string}`]: unknown;
883
+ };
884
+ } | undefined;
885
+ });
886
+ } | undefined;
887
+ } & {
888
+ [x: `x-${string}`]: unknown;
889
+ };
890
+ } | undefined;
891
+ } & {
892
+ [x: `x-${string}`]: unknown;
893
+ };
894
+ } | undefined;
895
+ links?: {
896
+ [x: string]: ({
897
+ summary?: string | undefined;
898
+ description?: string | undefined;
899
+ $ref: string;
900
+ } & {
901
+ $status?: "loading" | "error" | undefined;
902
+ $global?: boolean | undefined;
903
+ } & {
904
+ [x: `x-${string}`]: unknown;
905
+ }) | ({
906
+ description?: string | undefined;
907
+ operationRef?: string | undefined;
908
+ operationId?: string | undefined;
909
+ parameters?: {
910
+ [x: string]: any;
911
+ } | undefined;
912
+ requestBody?: any;
913
+ server?: ({
914
+ description?: string | undefined;
915
+ variables?: {
916
+ [x: string]: {
917
+ description?: string | undefined;
918
+ enum?: string[] | undefined;
919
+ default?: string | undefined;
920
+ } & {
921
+ [x: `x-${string}`]: unknown;
922
+ };
923
+ } | undefined;
924
+ url: string;
925
+ } & {
926
+ [x: `x-${string}`]: unknown;
927
+ }) | undefined;
928
+ } & {
929
+ [x: `x-${string}`]: unknown;
930
+ });
931
+ } | undefined;
932
+ description: string;
933
+ } & {
934
+ [x: `x-${string}`]: unknown;
935
+ });
936
+ } & {
937
+ [x: `x-${string}`]: unknown;
938
+ }) | undefined;
939
+ security?: ({
940
+ [x: string]: string[];
941
+ } & {
942
+ [x: `x-${string}`]: unknown;
943
+ })[] | undefined;
944
+ servers?: ({
945
+ description?: string | undefined;
946
+ variables?: {
947
+ [x: string]: {
948
+ description?: string | undefined;
949
+ enum?: string[] | undefined;
950
+ default?: string | undefined;
951
+ } & {
952
+ [x: `x-${string}`]: unknown;
953
+ };
954
+ } | undefined;
955
+ url: string;
956
+ } & {
957
+ [x: `x-${string}`]: unknown;
958
+ })[] | undefined;
959
+ callbacks?: {
960
+ [x: string]: ({
961
+ summary?: string | undefined;
962
+ description?: string | undefined;
963
+ $ref: string;
964
+ } & {
965
+ $status?: "loading" | "error" | undefined;
966
+ $global?: boolean | undefined;
967
+ } & {
968
+ [x: `x-${string}`]: unknown;
969
+ }) | ({
970
+ [x: string]: {
971
+ summary?: string | undefined;
972
+ description?: string | undefined;
973
+ $ref?: string | undefined;
974
+ parameters?: (({
975
+ summary?: string | undefined;
976
+ description?: string | undefined;
977
+ $ref: string;
978
+ } & {
979
+ $status?: "loading" | "error" | undefined;
980
+ $global?: boolean | undefined;
981
+ } & {
982
+ [x: `x-${string}`]: unknown;
983
+ }) | ({
984
+ description?: string | undefined;
985
+ required?: boolean | undefined;
986
+ deprecated?: boolean | undefined;
987
+ allowEmptyValue?: boolean | undefined;
988
+ name: string;
989
+ in: string;
990
+ } & {
991
+ [x: `x-${string}`]: unknown;
992
+ } & {
993
+ style?: string | undefined;
994
+ explode?: boolean | undefined;
995
+ schema?: ({
996
+ summary?: string | undefined;
997
+ description?: string | undefined;
998
+ $ref: string;
999
+ } & {
1000
+ $status?: "loading" | "error" | undefined;
1001
+ $global?: boolean | undefined;
1002
+ } & {
1003
+ [x: `x-${string}`]: unknown;
1004
+ }) | ({
1005
+ discriminator?: ({
1006
+ mapping?: {
1007
+ [x: string]: string;
1008
+ } | undefined;
1009
+ propertyName: string;
1010
+ } & {
1011
+ [x: `x-${string}`]: unknown;
1012
+ }) | undefined;
1013
+ xml?: ({
1014
+ name?: string | undefined;
1015
+ namespace?: string | undefined;
1016
+ prefix?: string | undefined;
1017
+ attribute?: boolean | undefined;
1018
+ wrapped?: boolean | undefined;
1019
+ } & {
1020
+ [x: `x-${string}`]: unknown;
1021
+ }) | undefined;
1022
+ externalDocs?: ({
1023
+ description?: string | undefined;
1024
+ url: string;
1025
+ } & {
1026
+ [x: `x-${string}`]: unknown;
1027
+ }) | undefined;
1028
+ example?: any;
1029
+ } & {
1030
+ [x: `x-${string}`]: unknown;
1031
+ } & {
1032
+ 'x-tags'?: string[] | undefined;
1033
+ } & {
1034
+ [x: string]: unknown;
1035
+ }) | undefined;
1036
+ examples?: {
1037
+ [x: string]: ({
1038
+ summary?: string | undefined;
1039
+ description?: string | undefined;
1040
+ $ref: string;
1041
+ } & {
1042
+ $status?: "loading" | "error" | undefined;
1043
+ $global?: boolean | undefined;
1044
+ } & {
1045
+ [x: `x-${string}`]: unknown;
1046
+ }) | ({
1047
+ summary?: string | undefined;
1048
+ description?: string | undefined;
1049
+ value?: any;
1050
+ externalValue?: string | undefined;
1051
+ } & {
1052
+ [x: `x-${string}`]: unknown;
1053
+ });
1054
+ } | undefined;
1055
+ example: any;
1056
+ }) | ({
1057
+ description?: string | undefined;
1058
+ required?: boolean | undefined;
1059
+ deprecated?: boolean | undefined;
1060
+ allowEmptyValue?: boolean | undefined;
1061
+ name: string;
1062
+ in: string;
1063
+ } & {
1064
+ [x: `x-${string}`]: unknown;
1065
+ } & {
1066
+ content?: {
1067
+ [x: string]: {
1068
+ example?: any;
1069
+ schema?: ({
1070
+ discriminator?: ({
1071
+ mapping?: {
1072
+ [x: string]: string;
1073
+ } | undefined;
1074
+ propertyName: string;
1075
+ } & {
1076
+ [x: `x-${string}`]: unknown;
1077
+ }) | undefined;
1078
+ xml?: ({
1079
+ name?: string | undefined;
1080
+ namespace?: string | undefined;
1081
+ prefix?: string | undefined;
1082
+ attribute?: boolean | undefined;
1083
+ wrapped?: boolean | undefined;
1084
+ } & {
1085
+ [x: `x-${string}`]: unknown;
1086
+ }) | undefined;
1087
+ externalDocs?: ({
1088
+ description?: string | undefined;
1089
+ url: string;
1090
+ } & {
1091
+ [x: `x-${string}`]: unknown;
1092
+ }) | undefined;
1093
+ example?: any;
1094
+ } & {
1095
+ [x: `x-${string}`]: unknown;
1096
+ } & {
1097
+ 'x-tags'?: string[] | undefined;
1098
+ } & {
1099
+ [x: string]: unknown;
1100
+ }) | undefined;
1101
+ examples?: {
1102
+ [x: string]: ({
1103
+ summary?: string | undefined;
1104
+ description?: string | undefined;
1105
+ value?: any;
1106
+ externalValue?: string | undefined;
1107
+ } & {
1108
+ [x: `x-${string}`]: unknown;
1109
+ }) | ({
1110
+ summary?: string | undefined;
1111
+ description?: string | undefined;
1112
+ $ref: string;
1113
+ } & {
1114
+ $status?: "loading" | "error" | undefined;
1115
+ $global?: boolean | undefined;
1116
+ } & {
1117
+ [x: `x-${string}`]: unknown;
1118
+ });
1119
+ } | undefined;
1120
+ encoding?: {
1121
+ [x: string]: {
1122
+ contentType?: string | undefined;
1123
+ headers?: {
1124
+ [x: string]: ({
1125
+ summary?: string | undefined;
1126
+ description?: string | undefined;
1127
+ $ref: string;
1128
+ } & {
1129
+ $status?: "loading" | "error" | undefined;
1130
+ $global?: boolean | undefined;
1131
+ } & {
1132
+ [x: `x-${string}`]: unknown;
1133
+ }) | ({
1134
+ description?: string | undefined;
1135
+ required?: boolean | undefined;
1136
+ deprecated?: boolean | undefined;
1137
+ } & {
1138
+ [x: `x-${string}`]: unknown;
1139
+ } & {
1140
+ style?: string | undefined;
1141
+ explode?: boolean | undefined;
1142
+ schema?: ({
1143
+ discriminator?: ({
1144
+ mapping?: {
1145
+ [x: string]: string;
1146
+ } | undefined;
1147
+ propertyName: string;
1148
+ } & {
1149
+ [x: `x-${string}`]: unknown;
1150
+ }) | undefined;
1151
+ xml?: ({
1152
+ name?: string | undefined;
1153
+ namespace?: string | undefined;
1154
+ prefix?: string | undefined;
1155
+ attribute?: boolean | undefined;
1156
+ wrapped?: boolean | undefined;
1157
+ } & {
1158
+ [x: `x-${string}`]: unknown;
1159
+ }) | undefined;
1160
+ externalDocs?: ({
1161
+ description?: string | undefined;
1162
+ url: string;
1163
+ } & {
1164
+ [x: `x-${string}`]: unknown;
1165
+ }) | undefined;
1166
+ example?: any;
1167
+ } & {
1168
+ [x: `x-${string}`]: unknown;
1169
+ } & {
1170
+ 'x-tags'?: string[] | undefined;
1171
+ } & {
1172
+ [x: string]: unknown;
1173
+ }) | ({
1174
+ summary?: string | undefined;
1175
+ description?: string | undefined;
1176
+ $ref: string;
1177
+ } & {
1178
+ $status?: "loading" | "error" | undefined;
1179
+ $global?: boolean | undefined;
1180
+ } & {
1181
+ [x: `x-${string}`]: unknown;
1182
+ }) | undefined;
1183
+ examples?: {
1184
+ [x: string]: ({
1185
+ summary?: string | undefined;
1186
+ description?: string | undefined;
1187
+ value?: any;
1188
+ externalValue?: string | undefined;
1189
+ } & {
1190
+ [x: `x-${string}`]: unknown;
1191
+ }) | ({
1192
+ summary?: string | undefined;
1193
+ description?: string | undefined;
1194
+ $ref: string;
1195
+ } & {
1196
+ $status?: "loading" | "error" | undefined;
1197
+ $global?: boolean | undefined;
1198
+ } & {
1199
+ [x: `x-${string}`]: unknown;
1200
+ });
1201
+ } | undefined;
1202
+ example: any;
1203
+ }) | ({
1204
+ description?: string | undefined;
1205
+ required?: boolean | undefined;
1206
+ deprecated?: boolean | undefined;
1207
+ } & {
1208
+ [x: `x-${string}`]: unknown;
1209
+ } & {
1210
+ content?: {
1211
+ [x: string]: any & {
1212
+ [x: `x-${string}`]: unknown;
1213
+ };
1214
+ } | undefined;
1215
+ });
1216
+ } | undefined;
1217
+ } & {
1218
+ [x: `x-${string}`]: unknown;
1219
+ };
1220
+ } | undefined;
1221
+ } & {
1222
+ [x: `x-${string}`]: unknown;
1223
+ };
1224
+ } | undefined;
1225
+ }))[] | undefined;
1226
+ servers?: ({
1227
+ description?: string | undefined;
1228
+ variables?: {
1229
+ [x: string]: {
1230
+ description?: string | undefined;
1231
+ enum?: string[] | undefined;
1232
+ default?: string | undefined;
1233
+ } & {
1234
+ [x: `x-${string}`]: unknown;
1235
+ };
1236
+ } | undefined;
1237
+ url: string;
1238
+ } & {
1239
+ [x: `x-${string}`]: unknown;
1240
+ })[] | undefined;
1241
+ get?: (any & {
1242
+ [x: `x-${string}`]: unknown;
1243
+ }) | ({
1244
+ summary?: string | undefined;
1245
+ description?: string | undefined;
1246
+ $ref: string;
1247
+ } & {
1248
+ $status?: "loading" | "error" | undefined;
1249
+ $global?: boolean | undefined;
1250
+ } & {
1251
+ [x: `x-${string}`]: unknown;
1252
+ }) | undefined;
1253
+ put?: (any & {
1254
+ [x: `x-${string}`]: unknown;
1255
+ }) | ({
1256
+ summary?: string | undefined;
1257
+ description?: string | undefined;
1258
+ $ref: string;
1259
+ } & {
1260
+ $status?: "loading" | "error" | undefined;
1261
+ $global?: boolean | undefined;
1262
+ } & {
1263
+ [x: `x-${string}`]: unknown;
1264
+ }) | undefined;
1265
+ post?: (any & {
1266
+ [x: `x-${string}`]: unknown;
1267
+ }) | ({
1268
+ summary?: string | undefined;
1269
+ description?: string | undefined;
1270
+ $ref: string;
1271
+ } & {
1272
+ $status?: "loading" | "error" | undefined;
1273
+ $global?: boolean | undefined;
1274
+ } & {
1275
+ [x: `x-${string}`]: unknown;
1276
+ }) | undefined;
1277
+ delete?: (any & {
1278
+ [x: `x-${string}`]: unknown;
1279
+ }) | ({
1280
+ summary?: string | undefined;
1281
+ description?: string | undefined;
1282
+ $ref: string;
1283
+ } & {
1284
+ $status?: "loading" | "error" | undefined;
1285
+ $global?: boolean | undefined;
1286
+ } & {
1287
+ [x: `x-${string}`]: unknown;
1288
+ }) | undefined;
1289
+ patch?: (any & {
1290
+ [x: `x-${string}`]: unknown;
1291
+ }) | ({
1292
+ summary?: string | undefined;
1293
+ description?: string | undefined;
1294
+ $ref: string;
1295
+ } & {
1296
+ $status?: "loading" | "error" | undefined;
1297
+ $global?: boolean | undefined;
1298
+ } & {
1299
+ [x: `x-${string}`]: unknown;
1300
+ }) | undefined;
1301
+ trace?: (any & {
1302
+ [x: `x-${string}`]: unknown;
1303
+ }) | ({
1304
+ summary?: string | undefined;
1305
+ description?: string | undefined;
1306
+ $ref: string;
1307
+ } & {
1308
+ $status?: "loading" | "error" | undefined;
1309
+ $global?: boolean | undefined;
1310
+ } & {
1311
+ [x: `x-${string}`]: unknown;
1312
+ }) | undefined;
1313
+ } & {
1314
+ [x: `x-${string}`]: unknown;
1315
+ };
1316
+ } & {
1317
+ [x: `x-${string}`]: unknown;
1318
+ });
1319
+ } | undefined;
1320
+ } & {
1321
+ [x: `x-${string}`]: unknown;
1322
+ }) | ({
1323
+ summary?: string | undefined;
1324
+ description?: string | undefined;
1325
+ $ref: string;
1326
+ } & {
1327
+ $status?: "loading" | "error" | undefined;
1328
+ $global?: boolean | undefined;
1329
+ } & {
1330
+ [x: `x-${string}`]: unknown;
1331
+ })>>;
44
1332
  /**
45
1333
  * Escapes path keys in an OpenAPI PathsObject to be JSON Pointer compatible.
46
1334
  * This is necessary because OpenAPI paths can contain characters that need to be escaped
@@ -50,11 +1338,1297 @@ export declare function filterHttpMethodsOnly(paths: OpenAPIV3_1.PathsObject): O
50
1338
  * Input: { "/users/{id}": { ... } }
51
1339
  * Output: { "/users~1{id}": { ... } }
52
1340
  */
53
- export declare function escapePaths(paths: OpenAPIV3_1.PathsObject): OpenAPIV3_1.PathsObject<{}, {}>;
1341
+ export declare function escapePaths(paths: Record<string, Record<string, OperationObject>>): Record<string, Record<string, ({
1342
+ summary?: string | undefined;
1343
+ description?: string | undefined;
1344
+ externalDocs?: ({
1345
+ description?: string | undefined;
1346
+ url: string;
1347
+ } & {
1348
+ [x: `x-${string}`]: unknown;
1349
+ }) | undefined;
1350
+ deprecated?: boolean | undefined;
1351
+ operationId?: string | undefined;
1352
+ parameters?: (({
1353
+ summary?: string | undefined;
1354
+ description?: string | undefined;
1355
+ $ref: string;
1356
+ } & {
1357
+ $status?: "loading" | "error" | undefined;
1358
+ $global?: boolean | undefined;
1359
+ } & {
1360
+ [x: `x-${string}`]: unknown;
1361
+ }) | ({
1362
+ description?: string | undefined;
1363
+ required?: boolean | undefined;
1364
+ deprecated?: boolean | undefined;
1365
+ allowEmptyValue?: boolean | undefined;
1366
+ name: string;
1367
+ in: string;
1368
+ } & {
1369
+ [x: `x-${string}`]: unknown;
1370
+ } & {
1371
+ style?: string | undefined;
1372
+ explode?: boolean | undefined;
1373
+ schema?: ({
1374
+ summary?: string | undefined;
1375
+ description?: string | undefined;
1376
+ $ref: string;
1377
+ } & {
1378
+ $status?: "loading" | "error" | undefined;
1379
+ $global?: boolean | undefined;
1380
+ } & {
1381
+ [x: `x-${string}`]: unknown;
1382
+ }) | ({
1383
+ discriminator?: ({
1384
+ mapping?: {
1385
+ [x: string]: string;
1386
+ } | undefined;
1387
+ propertyName: string;
1388
+ } & {
1389
+ [x: `x-${string}`]: unknown;
1390
+ }) | undefined;
1391
+ xml?: ({
1392
+ name?: string | undefined;
1393
+ namespace?: string | undefined;
1394
+ prefix?: string | undefined;
1395
+ attribute?: boolean | undefined;
1396
+ wrapped?: boolean | undefined;
1397
+ } & {
1398
+ [x: `x-${string}`]: unknown;
1399
+ }) | undefined;
1400
+ externalDocs?: ({
1401
+ description?: string | undefined;
1402
+ url: string;
1403
+ } & {
1404
+ [x: `x-${string}`]: unknown;
1405
+ }) | undefined;
1406
+ example?: any;
1407
+ } & {
1408
+ [x: `x-${string}`]: unknown;
1409
+ } & {
1410
+ 'x-tags'?: string[] | undefined;
1411
+ } & {
1412
+ [x: string]: unknown;
1413
+ }) | undefined;
1414
+ examples?: {
1415
+ [x: string]: ({
1416
+ summary?: string | undefined;
1417
+ description?: string | undefined;
1418
+ $ref: string;
1419
+ } & {
1420
+ $status?: "loading" | "error" | undefined;
1421
+ $global?: boolean | undefined;
1422
+ } & {
1423
+ [x: `x-${string}`]: unknown;
1424
+ }) | ({
1425
+ summary?: string | undefined;
1426
+ description?: string | undefined;
1427
+ value?: any;
1428
+ externalValue?: string | undefined;
1429
+ } & {
1430
+ [x: `x-${string}`]: unknown;
1431
+ });
1432
+ } | undefined;
1433
+ example: any;
1434
+ }) | ({
1435
+ description?: string | undefined;
1436
+ required?: boolean | undefined;
1437
+ deprecated?: boolean | undefined;
1438
+ allowEmptyValue?: boolean | undefined;
1439
+ name: string;
1440
+ in: string;
1441
+ } & {
1442
+ [x: `x-${string}`]: unknown;
1443
+ } & {
1444
+ content?: {
1445
+ [x: string]: {
1446
+ example?: any;
1447
+ schema?: ({
1448
+ discriminator?: ({
1449
+ mapping?: {
1450
+ [x: string]: string;
1451
+ } | undefined;
1452
+ propertyName: string;
1453
+ } & {
1454
+ [x: `x-${string}`]: unknown;
1455
+ }) | undefined;
1456
+ xml?: ({
1457
+ name?: string | undefined;
1458
+ namespace?: string | undefined;
1459
+ prefix?: string | undefined;
1460
+ attribute?: boolean | undefined;
1461
+ wrapped?: boolean | undefined;
1462
+ } & {
1463
+ [x: `x-${string}`]: unknown;
1464
+ }) | undefined;
1465
+ externalDocs?: ({
1466
+ description?: string | undefined;
1467
+ url: string;
1468
+ } & {
1469
+ [x: `x-${string}`]: unknown;
1470
+ }) | undefined;
1471
+ example?: any;
1472
+ } & {
1473
+ [x: `x-${string}`]: unknown;
1474
+ } & {
1475
+ 'x-tags'?: string[] | undefined;
1476
+ } & {
1477
+ [x: string]: unknown;
1478
+ }) | undefined;
1479
+ examples?: {
1480
+ [x: string]: ({
1481
+ summary?: string | undefined;
1482
+ description?: string | undefined;
1483
+ value?: any;
1484
+ externalValue?: string | undefined;
1485
+ } & {
1486
+ [x: `x-${string}`]: unknown;
1487
+ }) | ({
1488
+ summary?: string | undefined;
1489
+ description?: string | undefined;
1490
+ $ref: string;
1491
+ } & {
1492
+ $status?: "loading" | "error" | undefined;
1493
+ $global?: boolean | undefined;
1494
+ } & {
1495
+ [x: `x-${string}`]: unknown;
1496
+ });
1497
+ } | undefined;
1498
+ encoding?: {
1499
+ [x: string]: {
1500
+ contentType?: string | undefined;
1501
+ headers?: {
1502
+ [x: string]: ({
1503
+ summary?: string | undefined;
1504
+ description?: string | undefined;
1505
+ $ref: string;
1506
+ } & {
1507
+ $status?: "loading" | "error" | undefined;
1508
+ $global?: boolean | undefined;
1509
+ } & {
1510
+ [x: `x-${string}`]: unknown;
1511
+ }) | ({
1512
+ description?: string | undefined;
1513
+ required?: boolean | undefined;
1514
+ deprecated?: boolean | undefined;
1515
+ } & {
1516
+ [x: `x-${string}`]: unknown;
1517
+ } & {
1518
+ style?: string | undefined;
1519
+ explode?: boolean | undefined;
1520
+ schema?: ({
1521
+ discriminator?: ({
1522
+ mapping?: {
1523
+ [x: string]: string;
1524
+ } | undefined;
1525
+ propertyName: string;
1526
+ } & {
1527
+ [x: `x-${string}`]: unknown;
1528
+ }) | undefined;
1529
+ xml?: ({
1530
+ name?: string | undefined;
1531
+ namespace?: string | undefined;
1532
+ prefix?: string | undefined;
1533
+ attribute?: boolean | undefined;
1534
+ wrapped?: boolean | undefined;
1535
+ } & {
1536
+ [x: `x-${string}`]: unknown;
1537
+ }) | undefined;
1538
+ externalDocs?: ({
1539
+ description?: string | undefined;
1540
+ url: string;
1541
+ } & {
1542
+ [x: `x-${string}`]: unknown;
1543
+ }) | undefined;
1544
+ example?: any;
1545
+ } & {
1546
+ [x: `x-${string}`]: unknown;
1547
+ } & {
1548
+ 'x-tags'?: string[] | undefined;
1549
+ } & {
1550
+ [x: string]: unknown;
1551
+ }) | ({
1552
+ summary?: string | undefined;
1553
+ description?: string | undefined;
1554
+ $ref: string;
1555
+ } & {
1556
+ $status?: "loading" | "error" | undefined;
1557
+ $global?: boolean | undefined;
1558
+ } & {
1559
+ [x: `x-${string}`]: unknown;
1560
+ }) | undefined;
1561
+ examples?: {
1562
+ [x: string]: ({
1563
+ summary?: string | undefined;
1564
+ description?: string | undefined;
1565
+ value?: any;
1566
+ externalValue?: string | undefined;
1567
+ } & {
1568
+ [x: `x-${string}`]: unknown;
1569
+ }) | ({
1570
+ summary?: string | undefined;
1571
+ description?: string | undefined;
1572
+ $ref: string;
1573
+ } & {
1574
+ $status?: "loading" | "error" | undefined;
1575
+ $global?: boolean | undefined;
1576
+ } & {
1577
+ [x: `x-${string}`]: unknown;
1578
+ });
1579
+ } | undefined;
1580
+ example: any;
1581
+ }) | ({
1582
+ description?: string | undefined;
1583
+ required?: boolean | undefined;
1584
+ deprecated?: boolean | undefined;
1585
+ } & {
1586
+ [x: `x-${string}`]: unknown;
1587
+ } & {
1588
+ content?: {
1589
+ [x: string]: any & {
1590
+ [x: `x-${string}`]: unknown;
1591
+ };
1592
+ } | undefined;
1593
+ });
1594
+ } | undefined;
1595
+ } & {
1596
+ [x: `x-${string}`]: unknown;
1597
+ };
1598
+ } | undefined;
1599
+ } & {
1600
+ [x: `x-${string}`]: unknown;
1601
+ };
1602
+ } | undefined;
1603
+ }))[] | undefined;
1604
+ requestBody?: ({
1605
+ summary?: string | undefined;
1606
+ description?: string | undefined;
1607
+ $ref: string;
1608
+ } & {
1609
+ $status?: "loading" | "error" | undefined;
1610
+ $global?: boolean | undefined;
1611
+ } & {
1612
+ [x: `x-${string}`]: unknown;
1613
+ }) | ({
1614
+ description?: string | undefined;
1615
+ required?: boolean | undefined;
1616
+ content: {
1617
+ [x: string]: {
1618
+ example?: any;
1619
+ schema?: ({
1620
+ discriminator?: ({
1621
+ mapping?: {
1622
+ [x: string]: string;
1623
+ } | undefined;
1624
+ propertyName: string;
1625
+ } & {
1626
+ [x: `x-${string}`]: unknown;
1627
+ }) | undefined;
1628
+ xml?: ({
1629
+ name?: string | undefined;
1630
+ namespace?: string | undefined;
1631
+ prefix?: string | undefined;
1632
+ attribute?: boolean | undefined;
1633
+ wrapped?: boolean | undefined;
1634
+ } & {
1635
+ [x: `x-${string}`]: unknown;
1636
+ }) | undefined;
1637
+ externalDocs?: ({
1638
+ description?: string | undefined;
1639
+ url: string;
1640
+ } & {
1641
+ [x: `x-${string}`]: unknown;
1642
+ }) | undefined;
1643
+ example?: any;
1644
+ } & {
1645
+ [x: `x-${string}`]: unknown;
1646
+ } & {
1647
+ 'x-tags'?: string[] | undefined;
1648
+ } & {
1649
+ [x: string]: unknown;
1650
+ }) | undefined;
1651
+ examples?: {
1652
+ [x: string]: ({
1653
+ summary?: string | undefined;
1654
+ description?: string | undefined;
1655
+ value?: any;
1656
+ externalValue?: string | undefined;
1657
+ } & {
1658
+ [x: `x-${string}`]: unknown;
1659
+ }) | ({
1660
+ summary?: string | undefined;
1661
+ description?: string | undefined;
1662
+ $ref: string;
1663
+ } & {
1664
+ $status?: "loading" | "error" | undefined;
1665
+ $global?: boolean | undefined;
1666
+ } & {
1667
+ [x: `x-${string}`]: unknown;
1668
+ });
1669
+ } | undefined;
1670
+ encoding?: {
1671
+ [x: string]: {
1672
+ contentType?: string | undefined;
1673
+ headers?: {
1674
+ [x: string]: ({
1675
+ summary?: string | undefined;
1676
+ description?: string | undefined;
1677
+ $ref: string;
1678
+ } & {
1679
+ $status?: "loading" | "error" | undefined;
1680
+ $global?: boolean | undefined;
1681
+ } & {
1682
+ [x: `x-${string}`]: unknown;
1683
+ }) | ({
1684
+ description?: string | undefined;
1685
+ required?: boolean | undefined;
1686
+ deprecated?: boolean | undefined;
1687
+ } & {
1688
+ [x: `x-${string}`]: unknown;
1689
+ } & {
1690
+ style?: string | undefined;
1691
+ explode?: boolean | undefined;
1692
+ schema?: ({
1693
+ discriminator?: ({
1694
+ mapping?: {
1695
+ [x: string]: string;
1696
+ } | undefined;
1697
+ propertyName: string;
1698
+ } & {
1699
+ [x: `x-${string}`]: unknown;
1700
+ }) | undefined;
1701
+ xml?: ({
1702
+ name?: string | undefined;
1703
+ namespace?: string | undefined;
1704
+ prefix?: string | undefined;
1705
+ attribute?: boolean | undefined;
1706
+ wrapped?: boolean | undefined;
1707
+ } & {
1708
+ [x: `x-${string}`]: unknown;
1709
+ }) | undefined;
1710
+ externalDocs?: ({
1711
+ description?: string | undefined;
1712
+ url: string;
1713
+ } & {
1714
+ [x: `x-${string}`]: unknown;
1715
+ }) | undefined;
1716
+ example?: any;
1717
+ } & {
1718
+ [x: `x-${string}`]: unknown;
1719
+ } & {
1720
+ 'x-tags'?: string[] | undefined;
1721
+ } & {
1722
+ [x: string]: unknown;
1723
+ }) | ({
1724
+ summary?: string | undefined;
1725
+ description?: string | undefined;
1726
+ $ref: string;
1727
+ } & {
1728
+ $status?: "loading" | "error" | undefined;
1729
+ $global?: boolean | undefined;
1730
+ } & {
1731
+ [x: `x-${string}`]: unknown;
1732
+ }) | undefined;
1733
+ examples?: {
1734
+ [x: string]: ({
1735
+ summary?: string | undefined;
1736
+ description?: string | undefined;
1737
+ value?: any;
1738
+ externalValue?: string | undefined;
1739
+ } & {
1740
+ [x: `x-${string}`]: unknown;
1741
+ }) | ({
1742
+ summary?: string | undefined;
1743
+ description?: string | undefined;
1744
+ $ref: string;
1745
+ } & {
1746
+ $status?: "loading" | "error" | undefined;
1747
+ $global?: boolean | undefined;
1748
+ } & {
1749
+ [x: `x-${string}`]: unknown;
1750
+ });
1751
+ } | undefined;
1752
+ example: any;
1753
+ }) | ({
1754
+ description?: string | undefined;
1755
+ required?: boolean | undefined;
1756
+ deprecated?: boolean | undefined;
1757
+ } & {
1758
+ [x: `x-${string}`]: unknown;
1759
+ } & {
1760
+ content?: {
1761
+ [x: string]: any & {
1762
+ [x: `x-${string}`]: unknown;
1763
+ };
1764
+ } | undefined;
1765
+ });
1766
+ } | undefined;
1767
+ } & {
1768
+ [x: `x-${string}`]: unknown;
1769
+ };
1770
+ } | undefined;
1771
+ } & {
1772
+ [x: `x-${string}`]: unknown;
1773
+ };
1774
+ };
1775
+ } & {
1776
+ [x: `x-${string}`]: unknown;
1777
+ }) | undefined;
1778
+ tags?: string[] | undefined;
1779
+ responses?: ({
1780
+ [x: string]: ({
1781
+ summary?: string | undefined;
1782
+ description?: string | undefined;
1783
+ $ref: string;
1784
+ } & {
1785
+ $status?: "loading" | "error" | undefined;
1786
+ $global?: boolean | undefined;
1787
+ } & {
1788
+ [x: `x-${string}`]: unknown;
1789
+ }) | ({
1790
+ headers?: {
1791
+ [x: string]: ({
1792
+ description?: string | undefined;
1793
+ required?: boolean | undefined;
1794
+ deprecated?: boolean | undefined;
1795
+ } & {
1796
+ [x: `x-${string}`]: unknown;
1797
+ } & {
1798
+ style?: string | undefined;
1799
+ explode?: boolean | undefined;
1800
+ schema?: ({
1801
+ discriminator?: ({
1802
+ mapping?: {
1803
+ [x: string]: string;
1804
+ } | undefined;
1805
+ propertyName: string;
1806
+ } & {
1807
+ [x: `x-${string}`]: unknown;
1808
+ }) | undefined;
1809
+ xml?: ({
1810
+ name?: string | undefined;
1811
+ namespace?: string | undefined;
1812
+ prefix?: string | undefined;
1813
+ attribute?: boolean | undefined;
1814
+ wrapped?: boolean | undefined;
1815
+ } & {
1816
+ [x: `x-${string}`]: unknown;
1817
+ }) | undefined;
1818
+ externalDocs?: ({
1819
+ description?: string | undefined;
1820
+ url: string;
1821
+ } & {
1822
+ [x: `x-${string}`]: unknown;
1823
+ }) | undefined;
1824
+ example?: any;
1825
+ } & {
1826
+ [x: `x-${string}`]: unknown;
1827
+ } & {
1828
+ 'x-tags'?: string[] | undefined;
1829
+ } & {
1830
+ [x: string]: unknown;
1831
+ }) | ({
1832
+ summary?: string | undefined;
1833
+ description?: string | undefined;
1834
+ $ref: string;
1835
+ } & {
1836
+ $status?: "loading" | "error" | undefined;
1837
+ $global?: boolean | undefined;
1838
+ } & {
1839
+ [x: `x-${string}`]: unknown;
1840
+ }) | undefined;
1841
+ examples?: {
1842
+ [x: string]: ({
1843
+ summary?: string | undefined;
1844
+ description?: string | undefined;
1845
+ $ref: string;
1846
+ } & {
1847
+ $status?: "loading" | "error" | undefined;
1848
+ $global?: boolean | undefined;
1849
+ } & {
1850
+ [x: `x-${string}`]: unknown;
1851
+ }) | ({
1852
+ summary?: string | undefined;
1853
+ description?: string | undefined;
1854
+ value?: any;
1855
+ externalValue?: string | undefined;
1856
+ } & {
1857
+ [x: `x-${string}`]: unknown;
1858
+ });
1859
+ } | undefined;
1860
+ example: any;
1861
+ }) | ({
1862
+ description?: string | undefined;
1863
+ required?: boolean | undefined;
1864
+ deprecated?: boolean | undefined;
1865
+ } & {
1866
+ [x: `x-${string}`]: unknown;
1867
+ } & {
1868
+ content?: {
1869
+ [x: string]: {
1870
+ example?: any;
1871
+ schema?: ({
1872
+ discriminator?: ({
1873
+ mapping?: {
1874
+ [x: string]: string;
1875
+ } | undefined;
1876
+ propertyName: string;
1877
+ } & {
1878
+ [x: `x-${string}`]: unknown;
1879
+ }) | undefined;
1880
+ xml?: ({
1881
+ name?: string | undefined;
1882
+ namespace?: string | undefined;
1883
+ prefix?: string | undefined;
1884
+ attribute?: boolean | undefined;
1885
+ wrapped?: boolean | undefined;
1886
+ } & {
1887
+ [x: `x-${string}`]: unknown;
1888
+ }) | undefined;
1889
+ externalDocs?: ({
1890
+ description?: string | undefined;
1891
+ url: string;
1892
+ } & {
1893
+ [x: `x-${string}`]: unknown;
1894
+ }) | undefined;
1895
+ example?: any;
1896
+ } & {
1897
+ [x: `x-${string}`]: unknown;
1898
+ } & {
1899
+ 'x-tags'?: string[] | undefined;
1900
+ } & {
1901
+ [x: string]: unknown;
1902
+ }) | undefined;
1903
+ examples?: {
1904
+ [x: string]: ({
1905
+ summary?: string | undefined;
1906
+ description?: string | undefined;
1907
+ $ref: string;
1908
+ } & {
1909
+ $status?: "loading" | "error" | undefined;
1910
+ $global?: boolean | undefined;
1911
+ } & {
1912
+ [x: `x-${string}`]: unknown;
1913
+ }) | ({
1914
+ summary?: string | undefined;
1915
+ description?: string | undefined;
1916
+ value?: any;
1917
+ externalValue?: string | undefined;
1918
+ } & {
1919
+ [x: `x-${string}`]: unknown;
1920
+ });
1921
+ } | undefined;
1922
+ encoding?: {
1923
+ [x: string]: {
1924
+ contentType?: string | undefined;
1925
+ headers?: {
1926
+ [x: string]: ({
1927
+ description?: string | undefined;
1928
+ required?: boolean | undefined;
1929
+ deprecated?: boolean | undefined;
1930
+ } & {
1931
+ [x: `x-${string}`]: unknown;
1932
+ } & {
1933
+ style?: string | undefined;
1934
+ explode?: boolean | undefined;
1935
+ schema?: ({
1936
+ discriminator?: ({
1937
+ mapping?: {
1938
+ [x: string]: string;
1939
+ } | undefined;
1940
+ propertyName: string;
1941
+ } & {
1942
+ [x: `x-${string}`]: unknown;
1943
+ }) | undefined;
1944
+ xml?: ({
1945
+ name?: string | undefined;
1946
+ namespace?: string | undefined;
1947
+ prefix?: string | undefined;
1948
+ attribute?: boolean | undefined;
1949
+ wrapped?: boolean | undefined;
1950
+ } & {
1951
+ [x: `x-${string}`]: unknown;
1952
+ }) | undefined;
1953
+ externalDocs?: ({
1954
+ description?: string | undefined;
1955
+ url: string;
1956
+ } & {
1957
+ [x: `x-${string}`]: unknown;
1958
+ }) | undefined;
1959
+ example?: any;
1960
+ } & {
1961
+ [x: `x-${string}`]: unknown;
1962
+ } & {
1963
+ 'x-tags'?: string[] | undefined;
1964
+ } & {
1965
+ [x: string]: unknown;
1966
+ }) | ({
1967
+ summary?: string | undefined;
1968
+ description?: string | undefined;
1969
+ $ref: string;
1970
+ } & {
1971
+ $status?: "loading" | "error" | undefined;
1972
+ $global?: boolean | undefined;
1973
+ } & {
1974
+ [x: `x-${string}`]: unknown;
1975
+ }) | undefined;
1976
+ examples?: {
1977
+ [x: string]: ({
1978
+ summary?: string | undefined;
1979
+ description?: string | undefined;
1980
+ $ref: string;
1981
+ } & {
1982
+ $status?: "loading" | "error" | undefined;
1983
+ $global?: boolean | undefined;
1984
+ } & {
1985
+ [x: `x-${string}`]: unknown;
1986
+ }) | ({
1987
+ summary?: string | undefined;
1988
+ description?: string | undefined;
1989
+ value?: any;
1990
+ externalValue?: string | undefined;
1991
+ } & {
1992
+ [x: `x-${string}`]: unknown;
1993
+ });
1994
+ } | undefined;
1995
+ example: any;
1996
+ }) | ({
1997
+ description?: string | undefined;
1998
+ required?: boolean | undefined;
1999
+ deprecated?: boolean | undefined;
2000
+ } & {
2001
+ [x: `x-${string}`]: unknown;
2002
+ } & any) | ({
2003
+ summary?: string | undefined;
2004
+ description?: string | undefined;
2005
+ $ref: string;
2006
+ } & {
2007
+ $status?: "loading" | "error" | undefined;
2008
+ $global?: boolean | undefined;
2009
+ } & {
2010
+ [x: `x-${string}`]: unknown;
2011
+ });
2012
+ } | undefined;
2013
+ } & {
2014
+ [x: `x-${string}`]: unknown;
2015
+ };
2016
+ } | undefined;
2017
+ } & {
2018
+ [x: `x-${string}`]: unknown;
2019
+ };
2020
+ } | undefined;
2021
+ }) | ({
2022
+ summary?: string | undefined;
2023
+ description?: string | undefined;
2024
+ $ref: string;
2025
+ } & {
2026
+ $status?: "loading" | "error" | undefined;
2027
+ $global?: boolean | undefined;
2028
+ } & {
2029
+ [x: `x-${string}`]: unknown;
2030
+ });
2031
+ } | undefined;
2032
+ content?: {
2033
+ [x: string]: {
2034
+ example?: any;
2035
+ schema?: ({
2036
+ discriminator?: ({
2037
+ mapping?: {
2038
+ [x: string]: string;
2039
+ } | undefined;
2040
+ propertyName: string;
2041
+ } & {
2042
+ [x: `x-${string}`]: unknown;
2043
+ }) | undefined;
2044
+ xml?: ({
2045
+ name?: string | undefined;
2046
+ namespace?: string | undefined;
2047
+ prefix?: string | undefined;
2048
+ attribute?: boolean | undefined;
2049
+ wrapped?: boolean | undefined;
2050
+ } & {
2051
+ [x: `x-${string}`]: unknown;
2052
+ }) | undefined;
2053
+ externalDocs?: ({
2054
+ description?: string | undefined;
2055
+ url: string;
2056
+ } & {
2057
+ [x: `x-${string}`]: unknown;
2058
+ }) | undefined;
2059
+ example?: any;
2060
+ } & {
2061
+ [x: `x-${string}`]: unknown;
2062
+ } & {
2063
+ 'x-tags'?: string[] | undefined;
2064
+ } & {
2065
+ [x: string]: unknown;
2066
+ }) | undefined;
2067
+ examples?: {
2068
+ [x: string]: ({
2069
+ summary?: string | undefined;
2070
+ description?: string | undefined;
2071
+ value?: any;
2072
+ externalValue?: string | undefined;
2073
+ } & {
2074
+ [x: `x-${string}`]: unknown;
2075
+ }) | ({
2076
+ summary?: string | undefined;
2077
+ description?: string | undefined;
2078
+ $ref: string;
2079
+ } & {
2080
+ $status?: "loading" | "error" | undefined;
2081
+ $global?: boolean | undefined;
2082
+ } & {
2083
+ [x: `x-${string}`]: unknown;
2084
+ });
2085
+ } | undefined;
2086
+ encoding?: {
2087
+ [x: string]: {
2088
+ contentType?: string | undefined;
2089
+ headers?: {
2090
+ [x: string]: ({
2091
+ summary?: string | undefined;
2092
+ description?: string | undefined;
2093
+ $ref: string;
2094
+ } & {
2095
+ $status?: "loading" | "error" | undefined;
2096
+ $global?: boolean | undefined;
2097
+ } & {
2098
+ [x: `x-${string}`]: unknown;
2099
+ }) | ({
2100
+ description?: string | undefined;
2101
+ required?: boolean | undefined;
2102
+ deprecated?: boolean | undefined;
2103
+ } & {
2104
+ [x: `x-${string}`]: unknown;
2105
+ } & {
2106
+ style?: string | undefined;
2107
+ explode?: boolean | undefined;
2108
+ schema?: ({
2109
+ discriminator?: ({
2110
+ mapping?: {
2111
+ [x: string]: string;
2112
+ } | undefined;
2113
+ propertyName: string;
2114
+ } & {
2115
+ [x: `x-${string}`]: unknown;
2116
+ }) | undefined;
2117
+ xml?: ({
2118
+ name?: string | undefined;
2119
+ namespace?: string | undefined;
2120
+ prefix?: string | undefined;
2121
+ attribute?: boolean | undefined;
2122
+ wrapped?: boolean | undefined;
2123
+ } & {
2124
+ [x: `x-${string}`]: unknown;
2125
+ }) | undefined;
2126
+ externalDocs?: ({
2127
+ description?: string | undefined;
2128
+ url: string;
2129
+ } & {
2130
+ [x: `x-${string}`]: unknown;
2131
+ }) | undefined;
2132
+ example?: any;
2133
+ } & {
2134
+ [x: `x-${string}`]: unknown;
2135
+ } & {
2136
+ 'x-tags'?: string[] | undefined;
2137
+ } & {
2138
+ [x: string]: unknown;
2139
+ }) | ({
2140
+ summary?: string | undefined;
2141
+ description?: string | undefined;
2142
+ $ref: string;
2143
+ } & {
2144
+ $status?: "loading" | "error" | undefined;
2145
+ $global?: boolean | undefined;
2146
+ } & {
2147
+ [x: `x-${string}`]: unknown;
2148
+ }) | undefined;
2149
+ examples?: {
2150
+ [x: string]: ({
2151
+ summary?: string | undefined;
2152
+ description?: string | undefined;
2153
+ value?: any;
2154
+ externalValue?: string | undefined;
2155
+ } & {
2156
+ [x: `x-${string}`]: unknown;
2157
+ }) | ({
2158
+ summary?: string | undefined;
2159
+ description?: string | undefined;
2160
+ $ref: string;
2161
+ } & {
2162
+ $status?: "loading" | "error" | undefined;
2163
+ $global?: boolean | undefined;
2164
+ } & {
2165
+ [x: `x-${string}`]: unknown;
2166
+ });
2167
+ } | undefined;
2168
+ example: any;
2169
+ }) | ({
2170
+ description?: string | undefined;
2171
+ required?: boolean | undefined;
2172
+ deprecated?: boolean | undefined;
2173
+ } & {
2174
+ [x: `x-${string}`]: unknown;
2175
+ } & {
2176
+ content?: {
2177
+ [x: string]: any & {
2178
+ [x: `x-${string}`]: unknown;
2179
+ };
2180
+ } | undefined;
2181
+ });
2182
+ } | undefined;
2183
+ } & {
2184
+ [x: `x-${string}`]: unknown;
2185
+ };
2186
+ } | undefined;
2187
+ } & {
2188
+ [x: `x-${string}`]: unknown;
2189
+ };
2190
+ } | undefined;
2191
+ links?: {
2192
+ [x: string]: ({
2193
+ summary?: string | undefined;
2194
+ description?: string | undefined;
2195
+ $ref: string;
2196
+ } & {
2197
+ $status?: "loading" | "error" | undefined;
2198
+ $global?: boolean | undefined;
2199
+ } & {
2200
+ [x: `x-${string}`]: unknown;
2201
+ }) | ({
2202
+ description?: string | undefined;
2203
+ operationRef?: string | undefined;
2204
+ operationId?: string | undefined;
2205
+ parameters?: {
2206
+ [x: string]: any;
2207
+ } | undefined;
2208
+ requestBody?: any;
2209
+ server?: ({
2210
+ description?: string | undefined;
2211
+ variables?: {
2212
+ [x: string]: {
2213
+ description?: string | undefined;
2214
+ enum?: string[] | undefined;
2215
+ default?: string | undefined;
2216
+ } & {
2217
+ [x: `x-${string}`]: unknown;
2218
+ };
2219
+ } | undefined;
2220
+ url: string;
2221
+ } & {
2222
+ [x: `x-${string}`]: unknown;
2223
+ }) | undefined;
2224
+ } & {
2225
+ [x: `x-${string}`]: unknown;
2226
+ });
2227
+ } | undefined;
2228
+ description: string;
2229
+ } & {
2230
+ [x: `x-${string}`]: unknown;
2231
+ });
2232
+ } & {
2233
+ [x: `x-${string}`]: unknown;
2234
+ }) | undefined;
2235
+ security?: ({
2236
+ [x: string]: string[];
2237
+ } & {
2238
+ [x: `x-${string}`]: unknown;
2239
+ })[] | undefined;
2240
+ servers?: ({
2241
+ description?: string | undefined;
2242
+ variables?: {
2243
+ [x: string]: {
2244
+ description?: string | undefined;
2245
+ enum?: string[] | undefined;
2246
+ default?: string | undefined;
2247
+ } & {
2248
+ [x: `x-${string}`]: unknown;
2249
+ };
2250
+ } | undefined;
2251
+ url: string;
2252
+ } & {
2253
+ [x: `x-${string}`]: unknown;
2254
+ })[] | undefined;
2255
+ callbacks?: {
2256
+ [x: string]: ({
2257
+ summary?: string | undefined;
2258
+ description?: string | undefined;
2259
+ $ref: string;
2260
+ } & {
2261
+ $status?: "loading" | "error" | undefined;
2262
+ $global?: boolean | undefined;
2263
+ } & {
2264
+ [x: `x-${string}`]: unknown;
2265
+ }) | ({
2266
+ [x: string]: {
2267
+ summary?: string | undefined;
2268
+ description?: string | undefined;
2269
+ $ref?: string | undefined;
2270
+ parameters?: (({
2271
+ summary?: string | undefined;
2272
+ description?: string | undefined;
2273
+ $ref: string;
2274
+ } & {
2275
+ $status?: "loading" | "error" | undefined;
2276
+ $global?: boolean | undefined;
2277
+ } & {
2278
+ [x: `x-${string}`]: unknown;
2279
+ }) | ({
2280
+ description?: string | undefined;
2281
+ required?: boolean | undefined;
2282
+ deprecated?: boolean | undefined;
2283
+ allowEmptyValue?: boolean | undefined;
2284
+ name: string;
2285
+ in: string;
2286
+ } & {
2287
+ [x: `x-${string}`]: unknown;
2288
+ } & {
2289
+ style?: string | undefined;
2290
+ explode?: boolean | undefined;
2291
+ schema?: ({
2292
+ summary?: string | undefined;
2293
+ description?: string | undefined;
2294
+ $ref: string;
2295
+ } & {
2296
+ $status?: "loading" | "error" | undefined;
2297
+ $global?: boolean | undefined;
2298
+ } & {
2299
+ [x: `x-${string}`]: unknown;
2300
+ }) | ({
2301
+ discriminator?: ({
2302
+ mapping?: {
2303
+ [x: string]: string;
2304
+ } | undefined;
2305
+ propertyName: string;
2306
+ } & {
2307
+ [x: `x-${string}`]: unknown;
2308
+ }) | undefined;
2309
+ xml?: ({
2310
+ name?: string | undefined;
2311
+ namespace?: string | undefined;
2312
+ prefix?: string | undefined;
2313
+ attribute?: boolean | undefined;
2314
+ wrapped?: boolean | undefined;
2315
+ } & {
2316
+ [x: `x-${string}`]: unknown;
2317
+ }) | undefined;
2318
+ externalDocs?: ({
2319
+ description?: string | undefined;
2320
+ url: string;
2321
+ } & {
2322
+ [x: `x-${string}`]: unknown;
2323
+ }) | undefined;
2324
+ example?: any;
2325
+ } & {
2326
+ [x: `x-${string}`]: unknown;
2327
+ } & {
2328
+ 'x-tags'?: string[] | undefined;
2329
+ } & {
2330
+ [x: string]: unknown;
2331
+ }) | undefined;
2332
+ examples?: {
2333
+ [x: string]: ({
2334
+ summary?: string | undefined;
2335
+ description?: string | undefined;
2336
+ $ref: string;
2337
+ } & {
2338
+ $status?: "loading" | "error" | undefined;
2339
+ $global?: boolean | undefined;
2340
+ } & {
2341
+ [x: `x-${string}`]: unknown;
2342
+ }) | ({
2343
+ summary?: string | undefined;
2344
+ description?: string | undefined;
2345
+ value?: any;
2346
+ externalValue?: string | undefined;
2347
+ } & {
2348
+ [x: `x-${string}`]: unknown;
2349
+ });
2350
+ } | undefined;
2351
+ example: any;
2352
+ }) | ({
2353
+ description?: string | undefined;
2354
+ required?: boolean | undefined;
2355
+ deprecated?: boolean | undefined;
2356
+ allowEmptyValue?: boolean | undefined;
2357
+ name: string;
2358
+ in: string;
2359
+ } & {
2360
+ [x: `x-${string}`]: unknown;
2361
+ } & {
2362
+ content?: {
2363
+ [x: string]: {
2364
+ example?: any;
2365
+ schema?: ({
2366
+ discriminator?: ({
2367
+ mapping?: {
2368
+ [x: string]: string;
2369
+ } | undefined;
2370
+ propertyName: string;
2371
+ } & {
2372
+ [x: `x-${string}`]: unknown;
2373
+ }) | undefined;
2374
+ xml?: ({
2375
+ name?: string | undefined;
2376
+ namespace?: string | undefined;
2377
+ prefix?: string | undefined;
2378
+ attribute?: boolean | undefined;
2379
+ wrapped?: boolean | undefined;
2380
+ } & {
2381
+ [x: `x-${string}`]: unknown;
2382
+ }) | undefined;
2383
+ externalDocs?: ({
2384
+ description?: string | undefined;
2385
+ url: string;
2386
+ } & {
2387
+ [x: `x-${string}`]: unknown;
2388
+ }) | undefined;
2389
+ example?: any;
2390
+ } & {
2391
+ [x: `x-${string}`]: unknown;
2392
+ } & {
2393
+ 'x-tags'?: string[] | undefined;
2394
+ } & {
2395
+ [x: string]: unknown;
2396
+ }) | undefined;
2397
+ examples?: {
2398
+ [x: string]: ({
2399
+ summary?: string | undefined;
2400
+ description?: string | undefined;
2401
+ value?: any;
2402
+ externalValue?: string | undefined;
2403
+ } & {
2404
+ [x: `x-${string}`]: unknown;
2405
+ }) | ({
2406
+ summary?: string | undefined;
2407
+ description?: string | undefined;
2408
+ $ref: string;
2409
+ } & {
2410
+ $status?: "loading" | "error" | undefined;
2411
+ $global?: boolean | undefined;
2412
+ } & {
2413
+ [x: `x-${string}`]: unknown;
2414
+ });
2415
+ } | undefined;
2416
+ encoding?: {
2417
+ [x: string]: {
2418
+ contentType?: string | undefined;
2419
+ headers?: {
2420
+ [x: string]: ({
2421
+ summary?: string | undefined;
2422
+ description?: string | undefined;
2423
+ $ref: string;
2424
+ } & {
2425
+ $status?: "loading" | "error" | undefined;
2426
+ $global?: boolean | undefined;
2427
+ } & {
2428
+ [x: `x-${string}`]: unknown;
2429
+ }) | ({
2430
+ description?: string | undefined;
2431
+ required?: boolean | undefined;
2432
+ deprecated?: boolean | undefined;
2433
+ } & {
2434
+ [x: `x-${string}`]: unknown;
2435
+ } & {
2436
+ style?: string | undefined;
2437
+ explode?: boolean | undefined;
2438
+ schema?: ({
2439
+ discriminator?: ({
2440
+ mapping?: {
2441
+ [x: string]: string;
2442
+ } | undefined;
2443
+ propertyName: string;
2444
+ } & {
2445
+ [x: `x-${string}`]: unknown;
2446
+ }) | undefined;
2447
+ xml?: ({
2448
+ name?: string | undefined;
2449
+ namespace?: string | undefined;
2450
+ prefix?: string | undefined;
2451
+ attribute?: boolean | undefined;
2452
+ wrapped?: boolean | undefined;
2453
+ } & {
2454
+ [x: `x-${string}`]: unknown;
2455
+ }) | undefined;
2456
+ externalDocs?: ({
2457
+ description?: string | undefined;
2458
+ url: string;
2459
+ } & {
2460
+ [x: `x-${string}`]: unknown;
2461
+ }) | undefined;
2462
+ example?: any;
2463
+ } & {
2464
+ [x: `x-${string}`]: unknown;
2465
+ } & {
2466
+ 'x-tags'?: string[] | undefined;
2467
+ } & {
2468
+ [x: string]: unknown;
2469
+ }) | ({
2470
+ summary?: string | undefined;
2471
+ description?: string | undefined;
2472
+ $ref: string;
2473
+ } & {
2474
+ $status?: "loading" | "error" | undefined;
2475
+ $global?: boolean | undefined;
2476
+ } & {
2477
+ [x: `x-${string}`]: unknown;
2478
+ }) | undefined;
2479
+ examples?: {
2480
+ [x: string]: ({
2481
+ summary?: string | undefined;
2482
+ description?: string | undefined;
2483
+ value?: any;
2484
+ externalValue?: string | undefined;
2485
+ } & {
2486
+ [x: `x-${string}`]: unknown;
2487
+ }) | ({
2488
+ summary?: string | undefined;
2489
+ description?: string | undefined;
2490
+ $ref: string;
2491
+ } & {
2492
+ $status?: "loading" | "error" | undefined;
2493
+ $global?: boolean | undefined;
2494
+ } & {
2495
+ [x: `x-${string}`]: unknown;
2496
+ });
2497
+ } | undefined;
2498
+ example: any;
2499
+ }) | ({
2500
+ description?: string | undefined;
2501
+ required?: boolean | undefined;
2502
+ deprecated?: boolean | undefined;
2503
+ } & {
2504
+ [x: `x-${string}`]: unknown;
2505
+ } & {
2506
+ content?: {
2507
+ [x: string]: any & {
2508
+ [x: `x-${string}`]: unknown;
2509
+ };
2510
+ } | undefined;
2511
+ });
2512
+ } | undefined;
2513
+ } & {
2514
+ [x: `x-${string}`]: unknown;
2515
+ };
2516
+ } | undefined;
2517
+ } & {
2518
+ [x: `x-${string}`]: unknown;
2519
+ };
2520
+ } | undefined;
2521
+ }))[] | undefined;
2522
+ servers?: ({
2523
+ description?: string | undefined;
2524
+ variables?: {
2525
+ [x: string]: {
2526
+ description?: string | undefined;
2527
+ enum?: string[] | undefined;
2528
+ default?: string | undefined;
2529
+ } & {
2530
+ [x: `x-${string}`]: unknown;
2531
+ };
2532
+ } | undefined;
2533
+ url: string;
2534
+ } & {
2535
+ [x: `x-${string}`]: unknown;
2536
+ })[] | undefined;
2537
+ get?: (any & {
2538
+ [x: `x-${string}`]: unknown;
2539
+ }) | ({
2540
+ summary?: string | undefined;
2541
+ description?: string | undefined;
2542
+ $ref: string;
2543
+ } & {
2544
+ $status?: "loading" | "error" | undefined;
2545
+ $global?: boolean | undefined;
2546
+ } & {
2547
+ [x: `x-${string}`]: unknown;
2548
+ }) | undefined;
2549
+ put?: (any & {
2550
+ [x: `x-${string}`]: unknown;
2551
+ }) | ({
2552
+ summary?: string | undefined;
2553
+ description?: string | undefined;
2554
+ $ref: string;
2555
+ } & {
2556
+ $status?: "loading" | "error" | undefined;
2557
+ $global?: boolean | undefined;
2558
+ } & {
2559
+ [x: `x-${string}`]: unknown;
2560
+ }) | undefined;
2561
+ post?: (any & {
2562
+ [x: `x-${string}`]: unknown;
2563
+ }) | ({
2564
+ summary?: string | undefined;
2565
+ description?: string | undefined;
2566
+ $ref: string;
2567
+ } & {
2568
+ $status?: "loading" | "error" | undefined;
2569
+ $global?: boolean | undefined;
2570
+ } & {
2571
+ [x: `x-${string}`]: unknown;
2572
+ }) | undefined;
2573
+ delete?: (any & {
2574
+ [x: `x-${string}`]: unknown;
2575
+ }) | ({
2576
+ summary?: string | undefined;
2577
+ description?: string | undefined;
2578
+ $ref: string;
2579
+ } & {
2580
+ $status?: "loading" | "error" | undefined;
2581
+ $global?: boolean | undefined;
2582
+ } & {
2583
+ [x: `x-${string}`]: unknown;
2584
+ }) | undefined;
2585
+ patch?: (any & {
2586
+ [x: `x-${string}`]: unknown;
2587
+ }) | ({
2588
+ summary?: string | undefined;
2589
+ description?: string | undefined;
2590
+ $ref: string;
2591
+ } & {
2592
+ $status?: "loading" | "error" | undefined;
2593
+ $global?: boolean | undefined;
2594
+ } & {
2595
+ [x: `x-${string}`]: unknown;
2596
+ }) | undefined;
2597
+ trace?: (any & {
2598
+ [x: `x-${string}`]: unknown;
2599
+ }) | ({
2600
+ summary?: string | undefined;
2601
+ description?: string | undefined;
2602
+ $ref: string;
2603
+ } & {
2604
+ $status?: "loading" | "error" | undefined;
2605
+ $global?: boolean | undefined;
2606
+ } & {
2607
+ [x: `x-${string}`]: unknown;
2608
+ }) | undefined;
2609
+ } & {
2610
+ [x: `x-${string}`]: unknown;
2611
+ };
2612
+ } & {
2613
+ [x: `x-${string}`]: unknown;
2614
+ });
2615
+ } | undefined;
2616
+ } & {
2617
+ [x: `x-${string}`]: unknown;
2618
+ }) | ({
2619
+ summary?: string | undefined;
2620
+ description?: string | undefined;
2621
+ $ref: string;
2622
+ } & {
2623
+ $status?: "loading" | "error" | undefined;
2624
+ $global?: boolean | undefined;
2625
+ } & {
2626
+ [x: `x-${string}`]: unknown;
2627
+ })>>;
54
2628
  /**
55
2629
  * Externalizes components by turning them into refs.
56
2630
  */
57
- export declare function externalizeComponentReferences(document: OpenAPIV3_1.Document, meta: {
2631
+ export declare function externalizeComponentReferences(document: OpenApiDocument, meta: {
58
2632
  mode: 'ssr';
59
2633
  name: string;
60
2634
  baseUrl: string;
@@ -66,7 +2640,7 @@ export declare function externalizeComponentReferences(document: OpenAPIV3_1.Doc
66
2640
  /**
67
2641
  * Externalizes paths operations by turning them into refs.
68
2642
  */
69
- export declare function externalizePathReferences(document: OpenAPIV3_1.Document, meta: {
2643
+ export declare function externalizePathReferences(document: OpenApiDocument, meta: {
70
2644
  mode: 'ssr';
71
2645
  name: string;
72
2646
  baseUrl: string;