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