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