@scalar/openapi-parser 0.10.16 → 0.11.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 (339) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +0 -27
  3. package/dist/configuration/index.js +19 -22
  4. package/dist/configuration/index.js.map +7 -0
  5. package/dist/declarations.d.js +1 -0
  6. package/dist/declarations.d.js.map +7 -0
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +5 -29
  10. package/dist/index.js.map +7 -0
  11. package/dist/lib/Validator/Validator.d.ts +2 -2
  12. package/dist/lib/Validator/Validator.d.ts.map +1 -1
  13. package/dist/lib/Validator/Validator.js +99 -119
  14. package/dist/lib/Validator/Validator.js.map +7 -0
  15. package/dist/lib/Validator/Validator.test.js +8 -0
  16. package/dist/lib/Validator/Validator.test.js.map +7 -0
  17. package/dist/lib/Validator/index.d.ts +2 -2
  18. package/dist/lib/Validator/index.d.ts.map +1 -1
  19. package/dist/lib/Validator/index.js +3 -0
  20. package/dist/lib/Validator/index.js.map +7 -0
  21. package/dist/plugins/fetch-urls/fetchUrls.d.ts +1 -1
  22. package/dist/plugins/fetch-urls/fetchUrls.d.ts.map +1 -1
  23. package/dist/plugins/fetch-urls/fetchUrls.js +36 -39
  24. package/dist/plugins/fetch-urls/fetchUrls.js.map +7 -0
  25. package/dist/plugins/fetch-urls/fetchUrls.test.js +50 -0
  26. package/dist/plugins/fetch-urls/fetchUrls.test.js.map +7 -0
  27. package/dist/plugins/fetch-urls/index.d.ts +1 -1
  28. package/dist/plugins/fetch-urls/index.d.ts.map +1 -1
  29. package/dist/plugins/fetch-urls/index.js +2 -1
  30. package/dist/plugins/fetch-urls/index.js.map +7 -0
  31. package/dist/plugins/read-files/index.d.ts +1 -1
  32. package/dist/plugins/read-files/index.d.ts.map +1 -1
  33. package/dist/plugins/read-files/index.js +2 -1
  34. package/dist/plugins/read-files/index.js.map +7 -0
  35. package/dist/plugins/read-files/readFiles.d.ts +1 -1
  36. package/dist/plugins/read-files/readFiles.d.ts.map +1 -1
  37. package/dist/plugins/read-files/readFiles.js +50 -55
  38. package/dist/plugins/read-files/readFiles.js.map +7 -0
  39. package/dist/plugins/read-files/readFiles.test.js +20 -0
  40. package/dist/plugins/read-files/readFiles.test.js.map +7 -0
  41. package/dist/polyfills/index.d.ts +1 -1
  42. package/dist/polyfills/index.d.ts.map +1 -1
  43. package/dist/polyfills/index.js +5 -0
  44. package/dist/polyfills/index.js.map +7 -0
  45. package/dist/polyfills/path.js +155 -98
  46. package/dist/polyfills/path.js.map +7 -0
  47. package/dist/schemas/v2.0/schema.d.ts +1405 -0
  48. package/dist/schemas/v2.0/schema.d.ts.map +1 -0
  49. package/dist/schemas/v2.0/schema.js +1463 -0
  50. package/dist/schemas/v2.0/schema.js.map +7 -0
  51. package/dist/schemas/v3.0/schema.d.ts +1264 -0
  52. package/dist/schemas/v3.0/schema.d.ts.map +1 -0
  53. package/dist/schemas/v3.0/schema.js +1493 -0
  54. package/dist/schemas/v3.0/schema.js.map +7 -0
  55. package/dist/schemas/v3.1/schema.d.ts +1225 -0
  56. package/dist/schemas/v3.1/schema.d.ts.map +1 -0
  57. package/dist/schemas/v3.1/schema.js +1296 -0
  58. package/dist/schemas/v3.1/schema.js.map +7 -0
  59. package/dist/types/index.d.ts +1 -1
  60. package/dist/types/index.d.ts.map +1 -1
  61. package/dist/types/index.js +1 -0
  62. package/dist/types/index.js.map +7 -0
  63. package/dist/utils/betterAjvErrors/helpers.js +88 -93
  64. package/dist/utils/betterAjvErrors/helpers.js.map +7 -0
  65. package/dist/utils/betterAjvErrors/index.js +14 -13
  66. package/dist/utils/betterAjvErrors/index.js.map +7 -0
  67. package/dist/utils/betterAjvErrors/json/get-meta-from-path.d.ts +2 -0
  68. package/dist/utils/betterAjvErrors/json/get-meta-from-path.d.ts.map +1 -0
  69. package/dist/utils/betterAjvErrors/json/get-meta-from-path.js +27 -0
  70. package/dist/utils/betterAjvErrors/json/get-meta-from-path.js.map +7 -0
  71. package/dist/utils/betterAjvErrors/json/index.d.ts +2 -0
  72. package/dist/utils/betterAjvErrors/json/index.d.ts.map +1 -0
  73. package/dist/utils/betterAjvErrors/json/index.js +5 -0
  74. package/dist/utils/betterAjvErrors/json/index.js.map +7 -0
  75. package/dist/utils/betterAjvErrors/json/utils.d.ts +2 -0
  76. package/dist/utils/betterAjvErrors/json/utils.d.ts.map +1 -0
  77. package/dist/utils/betterAjvErrors/json/utils.js +11 -0
  78. package/dist/utils/betterAjvErrors/json/utils.js.map +7 -0
  79. package/dist/utils/betterAjvErrors/utils.js +21 -14
  80. package/dist/utils/betterAjvErrors/utils.js.map +7 -0
  81. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.d.ts +10 -0
  82. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.d.ts.map +1 -0
  83. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.js +8 -9
  84. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.js.map +7 -0
  85. package/dist/utils/betterAjvErrors/validation-errors/base.d.ts +23 -0
  86. package/dist/utils/betterAjvErrors/validation-errors/base.d.ts.map +1 -0
  87. package/dist/utils/betterAjvErrors/validation-errors/base.js +6 -10
  88. package/dist/utils/betterAjvErrors/validation-errors/base.js.map +7 -0
  89. package/dist/utils/betterAjvErrors/validation-errors/default.d.ts +10 -0
  90. package/dist/utils/betterAjvErrors/validation-errors/default.d.ts.map +1 -0
  91. package/dist/utils/betterAjvErrors/validation-errors/default.js +8 -9
  92. package/dist/utils/betterAjvErrors/validation-errors/default.js.map +7 -0
  93. package/dist/utils/betterAjvErrors/validation-errors/enum.d.ts +11 -0
  94. package/dist/utils/betterAjvErrors/validation-errors/enum.d.ts.map +1 -0
  95. package/dist/utils/betterAjvErrors/validation-errors/enum.js +19 -29
  96. package/dist/utils/betterAjvErrors/validation-errors/enum.js.map +7 -0
  97. package/dist/utils/betterAjvErrors/validation-errors/index.d.ts +7 -0
  98. package/dist/utils/betterAjvErrors/validation-errors/index.d.ts.map +1 -0
  99. package/dist/utils/betterAjvErrors/validation-errors/index.js +15 -0
  100. package/dist/utils/betterAjvErrors/validation-errors/index.js.map +7 -0
  101. package/dist/utils/betterAjvErrors/validation-errors/pattern.d.ts +10 -0
  102. package/dist/utils/betterAjvErrors/validation-errors/pattern.d.ts.map +1 -0
  103. package/dist/utils/betterAjvErrors/validation-errors/pattern.js +8 -9
  104. package/dist/utils/betterAjvErrors/validation-errors/pattern.js.map +7 -0
  105. package/dist/utils/betterAjvErrors/validation-errors/required.d.ts +10 -0
  106. package/dist/utils/betterAjvErrors/validation-errors/required.d.ts.map +1 -0
  107. package/dist/utils/betterAjvErrors/validation-errors/required.js +8 -9
  108. package/dist/utils/betterAjvErrors/validation-errors/required.js.map +7 -0
  109. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.d.ts +10 -0
  110. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.d.ts.map +1 -0
  111. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.js +8 -9
  112. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.js.map +7 -0
  113. package/dist/utils/dereference.d.ts +2 -2
  114. package/dist/utils/dereference.d.ts.map +1 -1
  115. package/dist/utils/dereference.js +17 -19
  116. package/dist/utils/dereference.js.map +7 -0
  117. package/dist/utils/dereference.test.js +300 -0
  118. package/dist/utils/dereference.test.js.map +7 -0
  119. package/dist/utils/details.d.ts +1 -1
  120. package/dist/utils/details.d.ts.map +1 -1
  121. package/dist/utils/details.js +26 -28
  122. package/dist/utils/details.js.map +7 -0
  123. package/dist/utils/errors.test.js +48 -0
  124. package/dist/utils/errors.test.js.map +7 -0
  125. package/dist/utils/escapeJsonPointer.js +5 -8
  126. package/dist/utils/escapeJsonPointer.js.map +7 -0
  127. package/dist/utils/escapeJsonPointer.test.js +11 -0
  128. package/dist/utils/escapeJsonPointer.test.js.map +7 -0
  129. package/dist/utils/filter.d.ts +1 -1
  130. package/dist/utils/filter.d.ts.map +1 -1
  131. package/dist/utils/filter.js +13 -15
  132. package/dist/utils/filter.js.map +7 -0
  133. package/dist/utils/getEntrypoint.d.ts +1 -1
  134. package/dist/utils/getEntrypoint.d.ts.map +1 -1
  135. package/dist/utils/getEntrypoint.js +5 -6
  136. package/dist/utils/getEntrypoint.js.map +7 -0
  137. package/dist/utils/getEntrypoint.test.js +18 -0
  138. package/dist/utils/getEntrypoint.test.js.map +7 -0
  139. package/dist/utils/getListOfReferences.d.ts +1 -1
  140. package/dist/utils/getListOfReferences.d.ts.map +1 -1
  141. package/dist/utils/getListOfReferences.js +15 -22
  142. package/dist/utils/getListOfReferences.js.map +7 -0
  143. package/dist/utils/getSegmentsFromPath.js +8 -15
  144. package/dist/utils/getSegmentsFromPath.js.map +7 -0
  145. package/dist/utils/getSegmentsFromPath.test.js +13 -0
  146. package/dist/utils/getSegmentsFromPath.test.js.map +7 -0
  147. package/dist/utils/index.d.ts +26 -26
  148. package/dist/utils/index.d.ts.map +1 -1
  149. package/dist/utils/index.js +27 -0
  150. package/dist/utils/index.js.map +7 -0
  151. package/dist/utils/isFilesystem.d.ts +2 -1
  152. package/dist/utils/isFilesystem.d.ts.map +1 -1
  153. package/dist/utils/isFilesystem.js +5 -9
  154. package/dist/utils/isFilesystem.js.map +7 -0
  155. package/dist/utils/isJson.js +10 -9
  156. package/dist/utils/isJson.js.map +7 -0
  157. package/dist/utils/isObject.js +5 -6
  158. package/dist/utils/isObject.js.map +7 -0
  159. package/dist/utils/isObject.test.js +23 -0
  160. package/dist/utils/isObject.test.js.map +7 -0
  161. package/dist/utils/isYaml.js +16 -17
  162. package/dist/utils/isYaml.js.map +7 -0
  163. package/dist/utils/load/index.d.ts +1 -1
  164. package/dist/utils/load/index.d.ts.map +1 -1
  165. package/dist/utils/load/index.js +2 -0
  166. package/dist/utils/load/index.js.map +7 -0
  167. package/dist/utils/load/load.d.ts +1 -1
  168. package/dist/utils/load/load.d.ts.map +1 -1
  169. package/dist/utils/load/load.js +89 -110
  170. package/dist/utils/load/load.js.map +7 -0
  171. package/dist/utils/load/load.test.js +361 -0
  172. package/dist/utils/load/load.test.js.map +7 -0
  173. package/dist/utils/makeFilesystem.d.ts +1 -1
  174. package/dist/utils/makeFilesystem.d.ts.map +1 -1
  175. package/dist/utils/makeFilesystem.js +20 -22
  176. package/dist/utils/makeFilesystem.js.map +7 -0
  177. package/dist/utils/makeFilesystem.test.js +15 -0
  178. package/dist/utils/makeFilesystem.test.js.map +7 -0
  179. package/dist/utils/normalize.d.ts +1 -1
  180. package/dist/utils/normalize.d.ts.map +1 -1
  181. package/dist/utils/normalize.js +22 -27
  182. package/dist/utils/normalize.js.map +7 -0
  183. package/dist/utils/normalize.test.js +88 -0
  184. package/dist/utils/normalize.test.js.map +7 -0
  185. package/dist/utils/openapi/actions/details.d.ts +2 -2
  186. package/dist/utils/openapi/actions/details.d.ts.map +1 -1
  187. package/dist/utils/openapi/actions/details.js +9 -11
  188. package/dist/utils/openapi/actions/details.js.map +7 -0
  189. package/dist/utils/openapi/actions/files.d.ts +1 -1
  190. package/dist/utils/openapi/actions/files.d.ts.map +1 -1
  191. package/dist/utils/openapi/actions/files.js +7 -9
  192. package/dist/utils/openapi/actions/files.js.map +7 -0
  193. package/dist/utils/openapi/actions/get.d.ts +1 -1
  194. package/dist/utils/openapi/actions/get.d.ts.map +1 -1
  195. package/dist/utils/openapi/actions/get.js +9 -11
  196. package/dist/utils/openapi/actions/get.js.map +7 -0
  197. package/dist/utils/openapi/actions/toJson.d.ts +1 -1
  198. package/dist/utils/openapi/actions/toJson.d.ts.map +1 -1
  199. package/dist/utils/openapi/actions/toJson.js +9 -11
  200. package/dist/utils/openapi/actions/toJson.js.map +7 -0
  201. package/dist/utils/openapi/actions/toYaml.d.ts +1 -1
  202. package/dist/utils/openapi/actions/toYaml.d.ts.map +1 -1
  203. package/dist/utils/openapi/actions/toYaml.js +9 -11
  204. package/dist/utils/openapi/actions/toYaml.js.map +7 -0
  205. package/dist/utils/openapi/commands/dereferenceCommand.d.ts +5 -5
  206. package/dist/utils/openapi/commands/dereferenceCommand.d.ts.map +1 -1
  207. package/dist/utils/openapi/commands/dereferenceCommand.js +25 -27
  208. package/dist/utils/openapi/commands/dereferenceCommand.js.map +7 -0
  209. package/dist/utils/openapi/commands/filterCommand.d.ts +9 -9
  210. package/dist/utils/openapi/commands/filterCommand.d.ts.map +1 -1
  211. package/dist/utils/openapi/commands/filterCommand.js +24 -26
  212. package/dist/utils/openapi/commands/filterCommand.js.map +7 -0
  213. package/dist/utils/openapi/commands/loadCommand.d.ts +994 -994
  214. package/dist/utils/openapi/commands/loadCommand.d.ts.map +1 -1
  215. package/dist/utils/openapi/commands/loadCommand.js +40 -42
  216. package/dist/utils/openapi/commands/loadCommand.js.map +7 -0
  217. package/dist/utils/openapi/commands/upgradeCommand.d.ts +311 -311
  218. package/dist/utils/openapi/commands/upgradeCommand.d.ts.map +1 -1
  219. package/dist/utils/openapi/commands/upgradeCommand.js +27 -29
  220. package/dist/utils/openapi/commands/upgradeCommand.js.map +7 -0
  221. package/dist/utils/openapi/commands/validateCommand.d.ts +311 -311
  222. package/dist/utils/openapi/commands/validateCommand.d.ts.map +1 -1
  223. package/dist/utils/openapi/commands/validateCommand.js +31 -33
  224. package/dist/utils/openapi/commands/validateCommand.js.map +7 -0
  225. package/dist/utils/openapi/index.d.ts +1 -1
  226. package/dist/utils/openapi/index.d.ts.map +1 -1
  227. package/dist/utils/openapi/index.js +2 -0
  228. package/dist/utils/openapi/index.js.map +7 -0
  229. package/dist/utils/openapi/openapi.d.ts +702 -700
  230. package/dist/utils/openapi/openapi.d.ts.map +1 -1
  231. package/dist/utils/openapi/openapi.js +13 -16
  232. package/dist/utils/openapi/openapi.js.map +7 -0
  233. package/dist/utils/openapi/openapi.test-d.js +14 -0
  234. package/dist/utils/openapi/openapi.test-d.js.map +7 -0
  235. package/dist/utils/openapi/openapi.test.js +309 -0
  236. package/dist/utils/openapi/openapi.test.js.map +7 -0
  237. package/dist/utils/openapi/utils/queueTask.d.ts +1 -1
  238. package/dist/utils/openapi/utils/queueTask.d.ts.map +1 -1
  239. package/dist/utils/openapi/utils/queueTask.js +8 -9
  240. package/dist/utils/openapi/utils/queueTask.js.map +7 -0
  241. package/dist/utils/openapi/utils/workThroughQueue.d.ts +1 -1
  242. package/dist/utils/openapi/utils/workThroughQueue.d.ts.map +1 -1
  243. package/dist/utils/openapi/utils/workThroughQueue.js +49 -64
  244. package/dist/utils/openapi/utils/workThroughQueue.js.map +7 -0
  245. package/dist/utils/openapi/utils/workThroughQueue.test.js +244 -0
  246. package/dist/utils/openapi/utils/workThroughQueue.test.js.map +7 -0
  247. package/dist/utils/resolveReferences.d.ts +1 -1
  248. package/dist/utils/resolveReferences.d.ts.map +1 -1
  249. package/dist/utils/resolveReferences.js +91 -139
  250. package/dist/utils/resolveReferences.js.map +7 -0
  251. package/dist/utils/resolveReferences.test.js +567 -0
  252. package/dist/utils/resolveReferences.test.js.map +7 -0
  253. package/dist/utils/toJson.d.ts +1 -1
  254. package/dist/utils/toJson.d.ts.map +1 -1
  255. package/dist/utils/toJson.js +4 -2
  256. package/dist/utils/toJson.js.map +7 -0
  257. package/dist/utils/toYaml.d.ts +1 -1
  258. package/dist/utils/toYaml.d.ts.map +1 -1
  259. package/dist/utils/toYaml.js +5 -4
  260. package/dist/utils/toYaml.js.map +7 -0
  261. package/dist/utils/transform/index.d.ts +1 -1
  262. package/dist/utils/transform/index.d.ts.map +1 -1
  263. package/dist/utils/transform/index.js +2 -0
  264. package/dist/utils/transform/index.js.map +7 -0
  265. package/dist/utils/transform/sanitize.d.ts +3 -3
  266. package/dist/utils/transform/sanitize.d.ts.map +1 -1
  267. package/dist/utils/transform/sanitize.js +22 -21
  268. package/dist/utils/transform/sanitize.js.map +7 -0
  269. package/dist/utils/transform/sanitize.test.js +148 -0
  270. package/dist/utils/transform/sanitize.test.js.map +7 -0
  271. package/dist/utils/transform/utils/addInfoObject.d.ts +1 -1
  272. package/dist/utils/transform/utils/addInfoObject.d.ts.map +1 -1
  273. package/dist/utils/transform/utils/addInfoObject.js +14 -10
  274. package/dist/utils/transform/utils/addInfoObject.js.map +7 -0
  275. package/dist/utils/transform/utils/addLatestOpenApiVersion.d.ts +1 -1
  276. package/dist/utils/transform/utils/addLatestOpenApiVersion.d.ts.map +1 -1
  277. package/dist/utils/transform/utils/addLatestOpenApiVersion.js +8 -5
  278. package/dist/utils/transform/utils/addLatestOpenApiVersion.js.map +7 -0
  279. package/dist/utils/transform/utils/addMissingTags.d.ts +1 -1
  280. package/dist/utils/transform/utils/addMissingTags.d.ts.map +1 -1
  281. package/dist/utils/transform/utils/addMissingTags.js +26 -27
  282. package/dist/utils/transform/utils/addMissingTags.js.map +7 -0
  283. package/dist/utils/transform/utils/normalizeSecuritySchemes.d.ts +1 -1
  284. package/dist/utils/transform/utils/normalizeSecuritySchemes.d.ts.map +1 -1
  285. package/dist/utils/transform/utils/normalizeSecuritySchemes.js +36 -40
  286. package/dist/utils/transform/utils/normalizeSecuritySchemes.js.map +7 -0
  287. package/dist/utils/transform/utils/rejectSwaggerDocuments.d.ts +1 -1
  288. package/dist/utils/transform/utils/rejectSwaggerDocuments.d.ts.map +1 -1
  289. package/dist/utils/transform/utils/rejectSwaggerDocuments.js +8 -6
  290. package/dist/utils/transform/utils/rejectSwaggerDocuments.js.map +7 -0
  291. package/dist/utils/transformErrors.d.ts +1 -1
  292. package/dist/utils/transformErrors.d.ts.map +1 -1
  293. package/dist/utils/transformErrors.js +18 -21
  294. package/dist/utils/transformErrors.js.map +7 -0
  295. package/dist/utils/transformErrors.test.js +17 -0
  296. package/dist/utils/transformErrors.test.js.map +7 -0
  297. package/dist/utils/traverse.d.ts +3 -3
  298. package/dist/utils/traverse.d.ts.map +1 -1
  299. package/dist/utils/traverse.js +22 -23
  300. package/dist/utils/traverse.js.map +7 -0
  301. package/dist/utils/traverse.test.js +68 -0
  302. package/dist/utils/traverse.test.js.map +7 -0
  303. package/dist/utils/unescapeJsonPointer.js +5 -9
  304. package/dist/utils/unescapeJsonPointer.js.map +7 -0
  305. package/dist/utils/unescapeJsonPointer.test.js +19 -0
  306. package/dist/utils/unescapeJsonPointer.test.js.map +7 -0
  307. package/dist/utils/upgrade.bench.d.ts +2 -0
  308. package/dist/utils/upgrade.bench.d.ts.map +1 -0
  309. package/dist/utils/upgrade.bench.js +31 -0
  310. package/dist/utils/upgrade.bench.js.map +7 -0
  311. package/dist/utils/upgrade.d.ts +1 -1
  312. package/dist/utils/upgrade.d.ts.map +1 -1
  313. package/dist/utils/upgrade.js +28 -22
  314. package/dist/utils/upgrade.js.map +7 -0
  315. package/dist/utils/upgrade.test-d.js +16 -0
  316. package/dist/utils/upgrade.test-d.js.map +7 -0
  317. package/dist/utils/upgrade.test.js +57 -0
  318. package/dist/utils/upgrade.test.js.map +7 -0
  319. package/dist/utils/upgradeFromThreeToThreeOne.d.ts +3 -3
  320. package/dist/utils/upgradeFromThreeToThreeOne.d.ts.map +1 -1
  321. package/dist/utils/upgradeFromThreeToThreeOne.js +107 -144
  322. package/dist/utils/upgradeFromThreeToThreeOne.js.map +7 -0
  323. package/dist/utils/upgradeFromThreeToThreeOne.test.js +462 -0
  324. package/dist/utils/upgradeFromThreeToThreeOne.test.js.map +7 -0
  325. package/dist/utils/upgradeFromTwoToThree.d.ts.map +1 -1
  326. package/dist/utils/upgradeFromTwoToThree.js +212 -219
  327. package/dist/utils/upgradeFromTwoToThree.js.map +7 -0
  328. package/dist/utils/upgradeFromTwoToThree.test.js +589 -0
  329. package/dist/utils/upgradeFromTwoToThree.test.js.map +7 -0
  330. package/dist/utils/validate.d.ts +1 -1
  331. package/dist/utils/validate.d.ts.map +1 -1
  332. package/dist/utils/validate.js +14 -16
  333. package/dist/utils/validate.js.map +7 -0
  334. package/dist/utils/validate.test.js +64 -0
  335. package/dist/utils/validate.test.js.map +7 -0
  336. package/package.json +7 -8
  337. package/dist/schemas/v2.0/schema.json.js +0 -1623
  338. package/dist/schemas/v3.0/schema.json.js +0 -1673
  339. package/dist/schemas/v3.1/schema.json.js +0 -1451
@@ -0,0 +1,1264 @@
1
+ declare const _default: {
2
+ id: string;
3
+ $schema: string;
4
+ description: string;
5
+ type: string;
6
+ required: string[];
7
+ properties: {
8
+ openapi: {
9
+ type: string;
10
+ pattern: string;
11
+ };
12
+ info: {
13
+ $ref: string;
14
+ };
15
+ externalDocs: {
16
+ $ref: string;
17
+ };
18
+ servers: {
19
+ type: string;
20
+ items: {
21
+ $ref: string;
22
+ };
23
+ };
24
+ security: {
25
+ type: string;
26
+ items: {
27
+ $ref: string;
28
+ };
29
+ };
30
+ tags: {
31
+ type: string;
32
+ items: {
33
+ $ref: string;
34
+ };
35
+ uniqueItems: boolean;
36
+ };
37
+ paths: {
38
+ $ref: string;
39
+ };
40
+ components: {
41
+ $ref: string;
42
+ };
43
+ };
44
+ patternProperties: {
45
+ "^x-": {};
46
+ };
47
+ additionalProperties: boolean;
48
+ definitions: {
49
+ Reference: {
50
+ type: string;
51
+ required: string[];
52
+ patternProperties: {
53
+ "^\\$ref$": {
54
+ type: string;
55
+ format: string;
56
+ };
57
+ };
58
+ };
59
+ Info: {
60
+ type: string;
61
+ required: string[];
62
+ properties: {
63
+ title: {
64
+ type: string;
65
+ };
66
+ description: {
67
+ type: string;
68
+ };
69
+ termsOfService: {
70
+ type: string;
71
+ format: string;
72
+ };
73
+ contact: {
74
+ $ref: string;
75
+ };
76
+ license: {
77
+ $ref: string;
78
+ };
79
+ version: {
80
+ type: string;
81
+ };
82
+ };
83
+ patternProperties: {
84
+ "^x-": {};
85
+ };
86
+ additionalProperties: boolean;
87
+ };
88
+ Contact: {
89
+ type: string;
90
+ properties: {
91
+ name: {
92
+ type: string;
93
+ };
94
+ url: {
95
+ type: string;
96
+ format: string;
97
+ };
98
+ email: {
99
+ type: string;
100
+ format: string;
101
+ };
102
+ };
103
+ patternProperties: {
104
+ "^x-": {};
105
+ };
106
+ additionalProperties: boolean;
107
+ };
108
+ License: {
109
+ type: string;
110
+ required: string[];
111
+ properties: {
112
+ name: {
113
+ type: string;
114
+ };
115
+ url: {
116
+ type: string;
117
+ format: string;
118
+ };
119
+ };
120
+ patternProperties: {
121
+ "^x-": {};
122
+ };
123
+ additionalProperties: boolean;
124
+ };
125
+ Server: {
126
+ type: string;
127
+ required: string[];
128
+ properties: {
129
+ url: {
130
+ type: string;
131
+ };
132
+ description: {
133
+ type: string;
134
+ };
135
+ variables: {
136
+ type: string;
137
+ additionalProperties: {
138
+ $ref: string;
139
+ };
140
+ };
141
+ };
142
+ patternProperties: {
143
+ "^x-": {};
144
+ };
145
+ additionalProperties: boolean;
146
+ };
147
+ ServerVariable: {
148
+ type: string;
149
+ required: string[];
150
+ properties: {
151
+ enum: {
152
+ type: string;
153
+ items: {
154
+ type: string;
155
+ };
156
+ };
157
+ default: {
158
+ type: string;
159
+ };
160
+ description: {
161
+ type: string;
162
+ };
163
+ };
164
+ patternProperties: {
165
+ "^x-": {};
166
+ };
167
+ additionalProperties: boolean;
168
+ };
169
+ Components: {
170
+ type: string;
171
+ properties: {
172
+ schemas: {
173
+ type: string;
174
+ patternProperties: {
175
+ "^[a-zA-Z0-9\\.\\-_]+$": {
176
+ oneOf: {
177
+ $ref: string;
178
+ }[];
179
+ };
180
+ };
181
+ };
182
+ responses: {
183
+ type: string;
184
+ patternProperties: {
185
+ "^[a-zA-Z0-9\\.\\-_]+$": {
186
+ oneOf: {
187
+ $ref: string;
188
+ }[];
189
+ };
190
+ };
191
+ };
192
+ parameters: {
193
+ type: string;
194
+ patternProperties: {
195
+ "^[a-zA-Z0-9\\.\\-_]+$": {
196
+ oneOf: {
197
+ $ref: string;
198
+ }[];
199
+ };
200
+ };
201
+ };
202
+ examples: {
203
+ type: string;
204
+ patternProperties: {
205
+ "^[a-zA-Z0-9\\.\\-_]+$": {
206
+ oneOf: {
207
+ $ref: string;
208
+ }[];
209
+ };
210
+ };
211
+ };
212
+ requestBodies: {
213
+ type: string;
214
+ patternProperties: {
215
+ "^[a-zA-Z0-9\\.\\-_]+$": {
216
+ oneOf: {
217
+ $ref: string;
218
+ }[];
219
+ };
220
+ };
221
+ };
222
+ headers: {
223
+ type: string;
224
+ patternProperties: {
225
+ "^[a-zA-Z0-9\\.\\-_]+$": {
226
+ oneOf: {
227
+ $ref: string;
228
+ }[];
229
+ };
230
+ };
231
+ };
232
+ securitySchemes: {
233
+ type: string;
234
+ patternProperties: {
235
+ "^[a-zA-Z0-9\\.\\-_]+$": {
236
+ oneOf: {
237
+ $ref: string;
238
+ }[];
239
+ };
240
+ };
241
+ };
242
+ links: {
243
+ type: string;
244
+ patternProperties: {
245
+ "^[a-zA-Z0-9\\.\\-_]+$": {
246
+ oneOf: {
247
+ $ref: string;
248
+ }[];
249
+ };
250
+ };
251
+ };
252
+ callbacks: {
253
+ type: string;
254
+ patternProperties: {
255
+ "^[a-zA-Z0-9\\.\\-_]+$": {
256
+ oneOf: {
257
+ $ref: string;
258
+ }[];
259
+ };
260
+ };
261
+ };
262
+ };
263
+ patternProperties: {
264
+ "^x-": {};
265
+ };
266
+ additionalProperties: boolean;
267
+ };
268
+ Schema: {
269
+ type: string;
270
+ properties: {
271
+ title: {
272
+ type: string;
273
+ };
274
+ multipleOf: {
275
+ type: string;
276
+ minimum: number;
277
+ exclusiveMinimum: boolean;
278
+ };
279
+ maximum: {
280
+ type: string;
281
+ };
282
+ exclusiveMaximum: {
283
+ type: string;
284
+ default: boolean;
285
+ };
286
+ minimum: {
287
+ type: string;
288
+ };
289
+ exclusiveMinimum: {
290
+ type: string;
291
+ default: boolean;
292
+ };
293
+ maxLength: {
294
+ type: string;
295
+ minimum: number;
296
+ };
297
+ minLength: {
298
+ type: string;
299
+ minimum: number;
300
+ default: number;
301
+ };
302
+ pattern: {
303
+ type: string;
304
+ format: string;
305
+ };
306
+ maxItems: {
307
+ type: string;
308
+ minimum: number;
309
+ };
310
+ minItems: {
311
+ type: string;
312
+ minimum: number;
313
+ default: number;
314
+ };
315
+ uniqueItems: {
316
+ type: string;
317
+ default: boolean;
318
+ };
319
+ maxProperties: {
320
+ type: string;
321
+ minimum: number;
322
+ };
323
+ minProperties: {
324
+ type: string;
325
+ minimum: number;
326
+ default: number;
327
+ };
328
+ required: {
329
+ type: string;
330
+ items: {
331
+ type: string;
332
+ };
333
+ minItems: number;
334
+ uniqueItems: boolean;
335
+ };
336
+ enum: {
337
+ type: string;
338
+ items: {};
339
+ minItems: number;
340
+ uniqueItems: boolean;
341
+ };
342
+ type: {
343
+ type: string;
344
+ enum: string[];
345
+ };
346
+ not: {
347
+ oneOf: {
348
+ $ref: string;
349
+ }[];
350
+ };
351
+ allOf: {
352
+ type: string;
353
+ items: {
354
+ oneOf: {
355
+ $ref: string;
356
+ }[];
357
+ };
358
+ };
359
+ oneOf: {
360
+ type: string;
361
+ items: {
362
+ oneOf: {
363
+ $ref: string;
364
+ }[];
365
+ };
366
+ };
367
+ anyOf: {
368
+ type: string;
369
+ items: {
370
+ oneOf: {
371
+ $ref: string;
372
+ }[];
373
+ };
374
+ };
375
+ items: {
376
+ oneOf: {
377
+ $ref: string;
378
+ }[];
379
+ };
380
+ properties: {
381
+ type: string;
382
+ additionalProperties: {
383
+ oneOf: {
384
+ $ref: string;
385
+ }[];
386
+ };
387
+ };
388
+ additionalProperties: {
389
+ oneOf: ({
390
+ $ref: string;
391
+ type?: undefined;
392
+ } | {
393
+ type: string;
394
+ $ref?: undefined;
395
+ })[];
396
+ default: boolean;
397
+ };
398
+ description: {
399
+ type: string;
400
+ };
401
+ format: {
402
+ type: string;
403
+ };
404
+ default: {};
405
+ nullable: {
406
+ type: string;
407
+ default: boolean;
408
+ };
409
+ discriminator: {
410
+ $ref: string;
411
+ };
412
+ readOnly: {
413
+ type: string;
414
+ default: boolean;
415
+ };
416
+ writeOnly: {
417
+ type: string;
418
+ default: boolean;
419
+ };
420
+ example: {};
421
+ externalDocs: {
422
+ $ref: string;
423
+ };
424
+ deprecated: {
425
+ type: string;
426
+ default: boolean;
427
+ };
428
+ xml: {
429
+ $ref: string;
430
+ };
431
+ };
432
+ patternProperties: {
433
+ "^x-": {};
434
+ };
435
+ additionalProperties: boolean;
436
+ };
437
+ Discriminator: {
438
+ type: string;
439
+ required: string[];
440
+ properties: {
441
+ propertyName: {
442
+ type: string;
443
+ };
444
+ mapping: {
445
+ type: string;
446
+ additionalProperties: {
447
+ type: string;
448
+ };
449
+ };
450
+ };
451
+ };
452
+ XML: {
453
+ type: string;
454
+ properties: {
455
+ name: {
456
+ type: string;
457
+ };
458
+ namespace: {
459
+ type: string;
460
+ format: string;
461
+ };
462
+ prefix: {
463
+ type: string;
464
+ };
465
+ attribute: {
466
+ type: string;
467
+ default: boolean;
468
+ };
469
+ wrapped: {
470
+ type: string;
471
+ default: boolean;
472
+ };
473
+ };
474
+ patternProperties: {
475
+ "^x-": {};
476
+ };
477
+ additionalProperties: boolean;
478
+ };
479
+ Response: {
480
+ type: string;
481
+ required: string[];
482
+ properties: {
483
+ description: {
484
+ type: string;
485
+ };
486
+ headers: {
487
+ type: string;
488
+ additionalProperties: {
489
+ oneOf: {
490
+ $ref: string;
491
+ }[];
492
+ };
493
+ };
494
+ content: {
495
+ type: string;
496
+ additionalProperties: {
497
+ $ref: string;
498
+ };
499
+ };
500
+ links: {
501
+ type: string;
502
+ additionalProperties: {
503
+ oneOf: {
504
+ $ref: string;
505
+ }[];
506
+ };
507
+ };
508
+ };
509
+ patternProperties: {
510
+ "^x-": {};
511
+ };
512
+ additionalProperties: boolean;
513
+ };
514
+ MediaType: {
515
+ type: string;
516
+ properties: {
517
+ schema: {
518
+ oneOf: {
519
+ $ref: string;
520
+ }[];
521
+ };
522
+ example: {};
523
+ examples: {
524
+ type: string;
525
+ additionalProperties: {
526
+ oneOf: {
527
+ $ref: string;
528
+ }[];
529
+ };
530
+ };
531
+ encoding: {
532
+ type: string;
533
+ additionalProperties: {
534
+ $ref: string;
535
+ };
536
+ };
537
+ };
538
+ patternProperties: {
539
+ "^x-": {};
540
+ };
541
+ additionalProperties: boolean;
542
+ allOf: {
543
+ $ref: string;
544
+ }[];
545
+ };
546
+ Example: {
547
+ type: string;
548
+ properties: {
549
+ summary: {
550
+ type: string;
551
+ };
552
+ description: {
553
+ type: string;
554
+ };
555
+ value: {};
556
+ externalValue: {
557
+ type: string;
558
+ format: string;
559
+ };
560
+ };
561
+ patternProperties: {
562
+ "^x-": {};
563
+ };
564
+ additionalProperties: boolean;
565
+ };
566
+ Header: {
567
+ type: string;
568
+ properties: {
569
+ description: {
570
+ type: string;
571
+ };
572
+ required: {
573
+ type: string;
574
+ default: boolean;
575
+ };
576
+ deprecated: {
577
+ type: string;
578
+ default: boolean;
579
+ };
580
+ allowEmptyValue: {
581
+ type: string;
582
+ default: boolean;
583
+ };
584
+ style: {
585
+ type: string;
586
+ enum: string[];
587
+ default: string;
588
+ };
589
+ explode: {
590
+ type: string;
591
+ };
592
+ allowReserved: {
593
+ type: string;
594
+ default: boolean;
595
+ };
596
+ schema: {
597
+ oneOf: {
598
+ $ref: string;
599
+ }[];
600
+ };
601
+ content: {
602
+ type: string;
603
+ additionalProperties: {
604
+ $ref: string;
605
+ };
606
+ minProperties: number;
607
+ maxProperties: number;
608
+ };
609
+ example: {};
610
+ examples: {
611
+ type: string;
612
+ additionalProperties: {
613
+ oneOf: {
614
+ $ref: string;
615
+ }[];
616
+ };
617
+ };
618
+ };
619
+ patternProperties: {
620
+ "^x-": {};
621
+ };
622
+ additionalProperties: boolean;
623
+ allOf: {
624
+ $ref: string;
625
+ }[];
626
+ };
627
+ Paths: {
628
+ type: string;
629
+ patternProperties: {
630
+ "^\\/": {
631
+ $ref: string;
632
+ };
633
+ "^x-": {};
634
+ };
635
+ additionalProperties: boolean;
636
+ };
637
+ PathItem: {
638
+ type: string;
639
+ properties: {
640
+ $ref: {
641
+ type: string;
642
+ };
643
+ summary: {
644
+ type: string;
645
+ };
646
+ description: {
647
+ type: string;
648
+ };
649
+ servers: {
650
+ type: string;
651
+ items: {
652
+ $ref: string;
653
+ };
654
+ };
655
+ parameters: {
656
+ type: string;
657
+ items: {
658
+ oneOf: {
659
+ $ref: string;
660
+ }[];
661
+ };
662
+ uniqueItems: boolean;
663
+ };
664
+ };
665
+ patternProperties: {
666
+ "^(get|put|post|delete|options|head|patch|trace)$": {
667
+ $ref: string;
668
+ };
669
+ "^x-": {};
670
+ };
671
+ additionalProperties: boolean;
672
+ };
673
+ Operation: {
674
+ type: string;
675
+ required: string[];
676
+ properties: {
677
+ tags: {
678
+ type: string;
679
+ items: {
680
+ type: string;
681
+ };
682
+ };
683
+ summary: {
684
+ type: string;
685
+ };
686
+ description: {
687
+ type: string;
688
+ };
689
+ externalDocs: {
690
+ $ref: string;
691
+ };
692
+ operationId: {
693
+ type: string;
694
+ };
695
+ parameters: {
696
+ type: string;
697
+ items: {
698
+ oneOf: {
699
+ $ref: string;
700
+ }[];
701
+ };
702
+ uniqueItems: boolean;
703
+ };
704
+ requestBody: {
705
+ oneOf: {
706
+ $ref: string;
707
+ }[];
708
+ };
709
+ responses: {
710
+ $ref: string;
711
+ };
712
+ callbacks: {
713
+ type: string;
714
+ additionalProperties: {
715
+ oneOf: {
716
+ $ref: string;
717
+ }[];
718
+ };
719
+ };
720
+ deprecated: {
721
+ type: string;
722
+ default: boolean;
723
+ };
724
+ security: {
725
+ type: string;
726
+ items: {
727
+ $ref: string;
728
+ };
729
+ };
730
+ servers: {
731
+ type: string;
732
+ items: {
733
+ $ref: string;
734
+ };
735
+ };
736
+ };
737
+ patternProperties: {
738
+ "^x-": {};
739
+ };
740
+ additionalProperties: boolean;
741
+ };
742
+ Responses: {
743
+ type: string;
744
+ properties: {
745
+ default: {
746
+ oneOf: {
747
+ $ref: string;
748
+ }[];
749
+ };
750
+ };
751
+ patternProperties: {
752
+ "^[1-5](?:\\d{2}|XX)$": {
753
+ oneOf: {
754
+ $ref: string;
755
+ }[];
756
+ };
757
+ "^x-": {};
758
+ };
759
+ minProperties: number;
760
+ additionalProperties: boolean;
761
+ };
762
+ SecurityRequirement: {
763
+ type: string;
764
+ additionalProperties: {
765
+ type: string;
766
+ items: {
767
+ type: string;
768
+ };
769
+ };
770
+ };
771
+ Tag: {
772
+ type: string;
773
+ required: string[];
774
+ properties: {
775
+ name: {
776
+ type: string;
777
+ };
778
+ description: {
779
+ type: string;
780
+ };
781
+ externalDocs: {
782
+ $ref: string;
783
+ };
784
+ };
785
+ patternProperties: {
786
+ "^x-": {};
787
+ };
788
+ additionalProperties: boolean;
789
+ };
790
+ ExternalDocumentation: {
791
+ type: string;
792
+ required: string[];
793
+ properties: {
794
+ description: {
795
+ type: string;
796
+ };
797
+ url: {
798
+ type: string;
799
+ format: string;
800
+ };
801
+ };
802
+ patternProperties: {
803
+ "^x-": {};
804
+ };
805
+ additionalProperties: boolean;
806
+ };
807
+ ExampleXORExamples: {
808
+ description: string;
809
+ not: {
810
+ required: string[];
811
+ };
812
+ };
813
+ SchemaXORContent: {
814
+ description: string;
815
+ not: {
816
+ required: string[];
817
+ };
818
+ oneOf: ({
819
+ required: string[];
820
+ description?: undefined;
821
+ allOf?: undefined;
822
+ } | {
823
+ required: string[];
824
+ description: string;
825
+ allOf: {
826
+ not: {
827
+ required: string[];
828
+ };
829
+ }[];
830
+ })[];
831
+ };
832
+ Parameter: {
833
+ type: string;
834
+ properties: {
835
+ name: {
836
+ type: string;
837
+ };
838
+ in: {
839
+ type: string;
840
+ };
841
+ description: {
842
+ type: string;
843
+ };
844
+ required: {
845
+ type: string;
846
+ default: boolean;
847
+ };
848
+ deprecated: {
849
+ type: string;
850
+ default: boolean;
851
+ };
852
+ allowEmptyValue: {
853
+ type: string;
854
+ default: boolean;
855
+ };
856
+ style: {
857
+ type: string;
858
+ };
859
+ explode: {
860
+ type: string;
861
+ };
862
+ allowReserved: {
863
+ type: string;
864
+ default: boolean;
865
+ };
866
+ schema: {
867
+ oneOf: {
868
+ $ref: string;
869
+ }[];
870
+ };
871
+ content: {
872
+ type: string;
873
+ additionalProperties: {
874
+ $ref: string;
875
+ };
876
+ minProperties: number;
877
+ maxProperties: number;
878
+ };
879
+ example: {};
880
+ examples: {
881
+ type: string;
882
+ additionalProperties: {
883
+ oneOf: {
884
+ $ref: string;
885
+ }[];
886
+ };
887
+ };
888
+ };
889
+ patternProperties: {
890
+ "^x-": {};
891
+ };
892
+ additionalProperties: boolean;
893
+ required: string[];
894
+ allOf: {
895
+ $ref: string;
896
+ }[];
897
+ };
898
+ ParameterLocation: {
899
+ description: string;
900
+ oneOf: ({
901
+ description: string;
902
+ required: string[];
903
+ properties: {
904
+ in: {
905
+ enum: string[];
906
+ };
907
+ style: {
908
+ enum: string[];
909
+ default: string;
910
+ };
911
+ required: {
912
+ enum: boolean[];
913
+ };
914
+ };
915
+ } | {
916
+ description: string;
917
+ properties: {
918
+ in: {
919
+ enum: string[];
920
+ };
921
+ style: {
922
+ enum: string[];
923
+ default: string;
924
+ };
925
+ required?: undefined;
926
+ };
927
+ required?: undefined;
928
+ })[];
929
+ };
930
+ RequestBody: {
931
+ type: string;
932
+ required: string[];
933
+ properties: {
934
+ description: {
935
+ type: string;
936
+ };
937
+ content: {
938
+ type: string;
939
+ additionalProperties: {
940
+ $ref: string;
941
+ };
942
+ };
943
+ required: {
944
+ type: string;
945
+ default: boolean;
946
+ };
947
+ };
948
+ patternProperties: {
949
+ "^x-": {};
950
+ };
951
+ additionalProperties: boolean;
952
+ };
953
+ SecurityScheme: {
954
+ oneOf: {
955
+ $ref: string;
956
+ }[];
957
+ };
958
+ APIKeySecurityScheme: {
959
+ type: string;
960
+ required: string[];
961
+ properties: {
962
+ type: {
963
+ type: string;
964
+ enum: string[];
965
+ };
966
+ name: {
967
+ type: string;
968
+ };
969
+ in: {
970
+ type: string;
971
+ enum: string[];
972
+ };
973
+ description: {
974
+ type: string;
975
+ };
976
+ };
977
+ patternProperties: {
978
+ "^x-": {};
979
+ };
980
+ additionalProperties: boolean;
981
+ };
982
+ HTTPSecurityScheme: {
983
+ type: string;
984
+ required: string[];
985
+ properties: {
986
+ scheme: {
987
+ type: string;
988
+ };
989
+ bearerFormat: {
990
+ type: string;
991
+ };
992
+ description: {
993
+ type: string;
994
+ };
995
+ type: {
996
+ type: string;
997
+ enum: string[];
998
+ };
999
+ };
1000
+ patternProperties: {
1001
+ "^x-": {};
1002
+ };
1003
+ additionalProperties: boolean;
1004
+ oneOf: ({
1005
+ description: string;
1006
+ properties: {
1007
+ scheme: {
1008
+ type: string;
1009
+ pattern: string;
1010
+ not?: undefined;
1011
+ };
1012
+ };
1013
+ not?: undefined;
1014
+ } | {
1015
+ description: string;
1016
+ not: {
1017
+ required: string[];
1018
+ };
1019
+ properties: {
1020
+ scheme: {
1021
+ not: {
1022
+ type: string;
1023
+ pattern: string;
1024
+ };
1025
+ type?: undefined;
1026
+ pattern?: undefined;
1027
+ };
1028
+ };
1029
+ })[];
1030
+ };
1031
+ OAuth2SecurityScheme: {
1032
+ type: string;
1033
+ required: string[];
1034
+ properties: {
1035
+ type: {
1036
+ type: string;
1037
+ enum: string[];
1038
+ };
1039
+ flows: {
1040
+ $ref: string;
1041
+ };
1042
+ description: {
1043
+ type: string;
1044
+ };
1045
+ };
1046
+ patternProperties: {
1047
+ "^x-": {};
1048
+ };
1049
+ additionalProperties: boolean;
1050
+ };
1051
+ OpenIdConnectSecurityScheme: {
1052
+ type: string;
1053
+ required: string[];
1054
+ properties: {
1055
+ type: {
1056
+ type: string;
1057
+ enum: string[];
1058
+ };
1059
+ openIdConnectUrl: {
1060
+ type: string;
1061
+ format: string;
1062
+ };
1063
+ description: {
1064
+ type: string;
1065
+ };
1066
+ };
1067
+ patternProperties: {
1068
+ "^x-": {};
1069
+ };
1070
+ additionalProperties: boolean;
1071
+ };
1072
+ OAuthFlows: {
1073
+ type: string;
1074
+ properties: {
1075
+ implicit: {
1076
+ $ref: string;
1077
+ };
1078
+ password: {
1079
+ $ref: string;
1080
+ };
1081
+ clientCredentials: {
1082
+ $ref: string;
1083
+ };
1084
+ authorizationCode: {
1085
+ $ref: string;
1086
+ };
1087
+ };
1088
+ patternProperties: {
1089
+ "^x-": {};
1090
+ };
1091
+ additionalProperties: boolean;
1092
+ };
1093
+ ImplicitOAuthFlow: {
1094
+ type: string;
1095
+ required: string[];
1096
+ properties: {
1097
+ authorizationUrl: {
1098
+ type: string;
1099
+ format: string;
1100
+ };
1101
+ refreshUrl: {
1102
+ type: string;
1103
+ format: string;
1104
+ };
1105
+ scopes: {
1106
+ type: string;
1107
+ additionalProperties: {
1108
+ type: string;
1109
+ };
1110
+ };
1111
+ };
1112
+ patternProperties: {
1113
+ "^x-": {};
1114
+ };
1115
+ additionalProperties: boolean;
1116
+ };
1117
+ PasswordOAuthFlow: {
1118
+ type: string;
1119
+ required: string[];
1120
+ properties: {
1121
+ tokenUrl: {
1122
+ type: string;
1123
+ format: string;
1124
+ };
1125
+ refreshUrl: {
1126
+ type: string;
1127
+ format: string;
1128
+ };
1129
+ scopes: {
1130
+ type: string;
1131
+ additionalProperties: {
1132
+ type: string;
1133
+ };
1134
+ };
1135
+ };
1136
+ patternProperties: {
1137
+ "^x-": {};
1138
+ };
1139
+ additionalProperties: boolean;
1140
+ };
1141
+ ClientCredentialsFlow: {
1142
+ type: string;
1143
+ required: string[];
1144
+ properties: {
1145
+ tokenUrl: {
1146
+ type: string;
1147
+ format: string;
1148
+ };
1149
+ refreshUrl: {
1150
+ type: string;
1151
+ format: string;
1152
+ };
1153
+ scopes: {
1154
+ type: string;
1155
+ additionalProperties: {
1156
+ type: string;
1157
+ };
1158
+ };
1159
+ };
1160
+ patternProperties: {
1161
+ "^x-": {};
1162
+ };
1163
+ additionalProperties: boolean;
1164
+ };
1165
+ AuthorizationCodeOAuthFlow: {
1166
+ type: string;
1167
+ required: string[];
1168
+ properties: {
1169
+ authorizationUrl: {
1170
+ type: string;
1171
+ format: string;
1172
+ };
1173
+ tokenUrl: {
1174
+ type: string;
1175
+ format: string;
1176
+ };
1177
+ refreshUrl: {
1178
+ type: string;
1179
+ format: string;
1180
+ };
1181
+ scopes: {
1182
+ type: string;
1183
+ additionalProperties: {
1184
+ type: string;
1185
+ };
1186
+ };
1187
+ };
1188
+ patternProperties: {
1189
+ "^x-": {};
1190
+ };
1191
+ additionalProperties: boolean;
1192
+ };
1193
+ Link: {
1194
+ type: string;
1195
+ properties: {
1196
+ operationId: {
1197
+ type: string;
1198
+ };
1199
+ operationRef: {
1200
+ type: string;
1201
+ format: string;
1202
+ };
1203
+ parameters: {
1204
+ type: string;
1205
+ additionalProperties: {};
1206
+ };
1207
+ requestBody: {};
1208
+ description: {
1209
+ type: string;
1210
+ };
1211
+ server: {
1212
+ $ref: string;
1213
+ };
1214
+ };
1215
+ patternProperties: {
1216
+ "^x-": {};
1217
+ };
1218
+ additionalProperties: boolean;
1219
+ not: {
1220
+ description: string;
1221
+ required: string[];
1222
+ };
1223
+ };
1224
+ Callback: {
1225
+ type: string;
1226
+ additionalProperties: {
1227
+ $ref: string;
1228
+ };
1229
+ patternProperties: {
1230
+ "^x-": {};
1231
+ };
1232
+ };
1233
+ Encoding: {
1234
+ type: string;
1235
+ properties: {
1236
+ contentType: {
1237
+ type: string;
1238
+ };
1239
+ headers: {
1240
+ type: string;
1241
+ additionalProperties: {
1242
+ oneOf: {
1243
+ $ref: string;
1244
+ }[];
1245
+ };
1246
+ };
1247
+ style: {
1248
+ type: string;
1249
+ enum: string[];
1250
+ };
1251
+ explode: {
1252
+ type: string;
1253
+ };
1254
+ allowReserved: {
1255
+ type: string;
1256
+ default: boolean;
1257
+ };
1258
+ };
1259
+ additionalProperties: boolean;
1260
+ };
1261
+ };
1262
+ };
1263
+ export default _default;
1264
+ //# sourceMappingURL=schema.d.ts.map