@redocly/openapi-core 0.0.0-snapshot.1744801622 → 0.0.0-snapshot.1747225307

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 (651) hide show
  1. package/lib/benchmark/benches/lint-with-many-rules.bench.d.ts +2 -1
  2. package/lib/benchmark/benches/lint-with-many-rules.bench.d.ts.map +1 -0
  3. package/lib/benchmark/benches/lint-with-many-rules.bench.js +17 -19
  4. package/lib/benchmark/benches/lint-with-many-rules.bench.js.map +1 -0
  5. package/lib/benchmark/benches/lint-with-nested-rule.bench.d.ts +2 -1
  6. package/lib/benchmark/benches/lint-with-nested-rule.bench.d.ts.map +1 -0
  7. package/lib/benchmark/benches/lint-with-nested-rule.bench.js +15 -19
  8. package/lib/benchmark/benches/lint-with-nested-rule.bench.js.map +1 -0
  9. package/lib/benchmark/benches/lint-with-no-rules.bench.d.ts +2 -1
  10. package/lib/benchmark/benches/lint-with-no-rules.bench.d.ts.map +1 -0
  11. package/lib/benchmark/benches/lint-with-no-rules.bench.js +15 -19
  12. package/lib/benchmark/benches/lint-with-no-rules.bench.js.map +1 -0
  13. package/lib/benchmark/benches/lint-with-top-level-rule-report.bench.d.ts +2 -1
  14. package/lib/benchmark/benches/lint-with-top-level-rule-report.bench.d.ts.map +1 -0
  15. package/lib/benchmark/benches/lint-with-top-level-rule-report.bench.js +15 -19
  16. package/lib/benchmark/benches/lint-with-top-level-rule-report.bench.js.map +1 -0
  17. package/lib/benchmark/benches/lint-with-top-level-rule.bench.d.ts +2 -1
  18. package/lib/benchmark/benches/lint-with-top-level-rule.bench.d.ts.map +1 -0
  19. package/lib/benchmark/benches/lint-with-top-level-rule.bench.js +15 -19
  20. package/lib/benchmark/benches/lint-with-top-level-rule.bench.js.map +1 -0
  21. package/lib/benchmark/benches/recommended-oas3.bench.d.ts +2 -1
  22. package/lib/benchmark/benches/recommended-oas3.bench.d.ts.map +1 -0
  23. package/lib/benchmark/benches/recommended-oas3.bench.js +15 -18
  24. package/lib/benchmark/benches/recommended-oas3.bench.js.map +1 -0
  25. package/lib/benchmark/benches/resolve-with-no-external.bench.d.ts +2 -1
  26. package/lib/benchmark/benches/resolve-with-no-external.bench.d.ts.map +1 -0
  27. package/lib/benchmark/benches/resolve-with-no-external.bench.js +14 -17
  28. package/lib/benchmark/benches/resolve-with-no-external.bench.js.map +1 -0
  29. package/lib/benchmark/utils.d.ts +5 -4
  30. package/lib/benchmark/utils.d.ts.map +1 -0
  31. package/lib/benchmark/utils.js +11 -14
  32. package/lib/benchmark/utils.js.map +1 -0
  33. package/lib/bundle.d.ts +8 -9
  34. package/lib/bundle.d.ts.map +1 -0
  35. package/lib/bundle.js +72 -84
  36. package/lib/bundle.js.map +1 -0
  37. package/lib/config/all.d.ts +2 -1
  38. package/lib/config/all.d.ts.map +1 -0
  39. package/lib/config/all.js +2 -3
  40. package/lib/config/all.js.map +1 -0
  41. package/lib/config/builtIn.d.ts +2 -1
  42. package/lib/config/builtIn.d.ts.map +1 -0
  43. package/lib/config/builtIn.js +44 -49
  44. package/lib/config/builtIn.js.map +1 -0
  45. package/lib/config/config-resolvers.d.ts +6 -5
  46. package/lib/config/config-resolvers.d.ts.map +1 -0
  47. package/lib/config/config-resolvers.js +86 -98
  48. package/lib/config/config-resolvers.js.map +1 -0
  49. package/lib/config/config.d.ts +6 -8
  50. package/lib/config/config.d.ts.map +1 -0
  51. package/lib/config/config.js +63 -92
  52. package/lib/config/config.js.map +1 -0
  53. package/lib/config/index.d.ts +8 -7
  54. package/lib/config/index.d.ts.map +1 -0
  55. package/lib/config/index.js +8 -23
  56. package/lib/config/index.js.map +1 -0
  57. package/lib/config/load.d.ts +5 -8
  58. package/lib/config/load.d.ts.map +1 -0
  59. package/lib/config/load.js +28 -73
  60. package/lib/config/load.js.map +1 -0
  61. package/lib/config/minimal.d.ts +2 -1
  62. package/lib/config/minimal.d.ts.map +1 -0
  63. package/lib/config/minimal.js +2 -3
  64. package/lib/config/minimal.js.map +1 -0
  65. package/lib/config/recommended-strict.d.ts +2 -1
  66. package/lib/config/recommended-strict.d.ts.map +1 -0
  67. package/lib/config/recommended-strict.js +2 -3
  68. package/lib/config/recommended-strict.js.map +1 -0
  69. package/lib/config/recommended.d.ts +2 -1
  70. package/lib/config/recommended.d.ts.map +1 -0
  71. package/lib/config/recommended.js +2 -3
  72. package/lib/config/recommended.js.map +1 -0
  73. package/lib/config/rules.d.ts +4 -3
  74. package/lib/config/rules.d.ts.map +1 -0
  75. package/lib/config/rules.js +4 -6
  76. package/lib/config/rules.js.map +1 -0
  77. package/lib/config/spec.d.ts +2 -1
  78. package/lib/config/spec.d.ts.map +1 -0
  79. package/lib/config/spec.js +2 -3
  80. package/lib/config/spec.js.map +1 -0
  81. package/lib/config/types.d.ts +6 -13
  82. package/lib/config/types.d.ts.map +1 -0
  83. package/lib/config/types.js +2 -2
  84. package/lib/config/types.js.map +1 -0
  85. package/lib/config/utils.d.ts +3 -2
  86. package/lib/config/utils.d.ts.map +1 -0
  87. package/lib/config/utils.js +74 -100
  88. package/lib/config/utils.js.map +1 -0
  89. package/lib/decorators/arazzo/index.d.ts +1 -0
  90. package/lib/decorators/arazzo/index.d.ts.map +1 -0
  91. package/lib/decorators/arazzo/index.js +2 -4
  92. package/lib/decorators/arazzo/index.js.map +1 -0
  93. package/lib/decorators/async2/index.d.ts +1 -0
  94. package/lib/decorators/async2/index.d.ts.map +1 -0
  95. package/lib/decorators/async2/index.js +2 -4
  96. package/lib/decorators/async2/index.js.map +1 -0
  97. package/lib/decorators/async3/index.d.ts +1 -0
  98. package/lib/decorators/async3/index.d.ts.map +1 -0
  99. package/lib/decorators/async3/index.js +2 -4
  100. package/lib/decorators/async3/index.js.map +1 -0
  101. package/lib/decorators/common/filters/filter-helper.d.ts +2 -1
  102. package/lib/decorators/common/filters/filter-helper.d.ts.map +1 -0
  103. package/lib/decorators/common/filters/filter-helper.js +9 -12
  104. package/lib/decorators/common/filters/filter-helper.js.map +1 -0
  105. package/lib/decorators/common/filters/filter-in.d.ts +2 -1
  106. package/lib/decorators/common/filters/filter-in.d.ts.map +1 -0
  107. package/lib/decorators/common/filters/filter-in.js +5 -8
  108. package/lib/decorators/common/filters/filter-in.js.map +1 -0
  109. package/lib/decorators/common/filters/filter-out.d.ts +2 -1
  110. package/lib/decorators/common/filters/filter-out.d.ts.map +1 -0
  111. package/lib/decorators/common/filters/filter-out.js +5 -8
  112. package/lib/decorators/common/filters/filter-out.js.map +1 -0
  113. package/lib/decorators/common/info-description-override.d.ts +2 -1
  114. package/lib/decorators/common/info-description-override.d.ts.map +1 -0
  115. package/lib/decorators/common/info-description-override.js +4 -7
  116. package/lib/decorators/common/info-description-override.js.map +1 -0
  117. package/lib/decorators/common/info-override.d.ts +2 -1
  118. package/lib/decorators/common/info-override.d.ts.map +1 -0
  119. package/lib/decorators/common/info-override.js +2 -5
  120. package/lib/decorators/common/info-override.js.map +1 -0
  121. package/lib/decorators/common/media-type-examples-override.d.ts +2 -1
  122. package/lib/decorators/common/media-type-examples-override.d.ts.map +1 -0
  123. package/lib/decorators/common/media-type-examples-override.js +7 -10
  124. package/lib/decorators/common/media-type-examples-override.js.map +1 -0
  125. package/lib/decorators/common/operation-description-override.d.ts +2 -1
  126. package/lib/decorators/common/operation-description-override.d.ts.map +1 -0
  127. package/lib/decorators/common/operation-description-override.js +4 -7
  128. package/lib/decorators/common/operation-description-override.js.map +1 -0
  129. package/lib/decorators/common/remove-x-internal.d.ts +2 -1
  130. package/lib/decorators/common/remove-x-internal.d.ts.map +1 -0
  131. package/lib/decorators/common/remove-x-internal.js +11 -14
  132. package/lib/decorators/common/remove-x-internal.js.map +1 -0
  133. package/lib/decorators/common/tag-description-override.d.ts +2 -1
  134. package/lib/decorators/common/tag-description-override.d.ts.map +1 -0
  135. package/lib/decorators/common/tag-description-override.js +4 -7
  136. package/lib/decorators/common/tag-description-override.js.map +1 -0
  137. package/lib/decorators/oas2/index.d.ts +2 -2
  138. package/lib/decorators/oas2/index.d.ts.map +1 -0
  139. package/lib/decorators/oas2/index.js +16 -20
  140. package/lib/decorators/oas2/index.js.map +1 -0
  141. package/lib/decorators/oas2/remove-unused-components.d.ts +2 -1
  142. package/lib/decorators/oas2/remove-unused-components.d.ts.map +1 -0
  143. package/lib/decorators/oas2/remove-unused-components.js +4 -7
  144. package/lib/decorators/oas2/remove-unused-components.js.map +1 -0
  145. package/lib/decorators/oas3/index.d.ts +2 -2
  146. package/lib/decorators/oas3/index.d.ts.map +1 -0
  147. package/lib/decorators/oas3/index.js +18 -22
  148. package/lib/decorators/oas3/index.js.map +1 -0
  149. package/lib/decorators/oas3/remove-unused-components.d.ts +2 -1
  150. package/lib/decorators/oas3/remove-unused-components.d.ts.map +1 -0
  151. package/lib/decorators/oas3/remove-unused-components.js +5 -8
  152. package/lib/decorators/oas3/remove-unused-components.js.map +1 -0
  153. package/lib/decorators/overlay1/index.d.ts +1 -0
  154. package/lib/decorators/overlay1/index.d.ts.map +1 -0
  155. package/lib/decorators/overlay1/index.js +2 -4
  156. package/lib/decorators/overlay1/index.js.map +1 -0
  157. package/lib/env.d.ts +1 -0
  158. package/lib/env.d.ts.map +1 -0
  159. package/lib/env.js +3 -5
  160. package/lib/env.js.map +1 -0
  161. package/lib/format/codeframes.d.ts +2 -1
  162. package/lib/format/codeframes.d.ts.map +1 -0
  163. package/lib/format/codeframes.js +15 -19
  164. package/lib/format/codeframes.js.map +1 -0
  165. package/lib/format/format.d.ts +2 -1
  166. package/lib/format/format.d.ts.map +1 -0
  167. package/lib/format/format.js +57 -62
  168. package/lib/format/format.js.map +1 -0
  169. package/lib/index.d.ts +29 -26
  170. package/lib/index.d.ts.map +1 -0
  171. package/lib/index.js +24 -98
  172. package/lib/index.js.map +1 -0
  173. package/lib/js-yaml/index.d.ts +1 -0
  174. package/lib/js-yaml/index.d.ts.map +1 -0
  175. package/lib/js-yaml/index.js +7 -11
  176. package/lib/js-yaml/index.js.map +1 -0
  177. package/lib/lint.d.ts +11 -10
  178. package/lib/lint.d.ts.map +1 -0
  179. package/lib/lint.js +40 -45
  180. package/lib/lint.js.map +1 -0
  181. package/lib/logger.d.ts +2 -1
  182. package/lib/logger.d.ts.map +1 -0
  183. package/lib/logger.js +15 -17
  184. package/lib/logger.js.map +1 -0
  185. package/lib/oas-types.d.ts +4 -3
  186. package/lib/oas-types.d.ts.map +1 -0
  187. package/lib/oas-types.js +27 -32
  188. package/lib/oas-types.js.map +1 -0
  189. package/lib/ref-utils.d.ts +3 -2
  190. package/lib/ref-utils.d.ts.map +1 -0
  191. package/lib/ref-utils.js +18 -33
  192. package/lib/ref-utils.js.map +1 -0
  193. package/lib/resolve.d.ts +3 -2
  194. package/lib/resolve.d.ts.map +1 -0
  195. package/lib/resolve.js +36 -45
  196. package/lib/resolve.js.map +1 -0
  197. package/lib/rules/ajv.d.ts +4 -3
  198. package/lib/rules/ajv.d.ts.map +1 -0
  199. package/lib/rules/ajv.js +7 -10
  200. package/lib/rules/ajv.js.map +1 -0
  201. package/lib/rules/arazzo/criteria-unique.d.ts +2 -1
  202. package/lib/rules/arazzo/criteria-unique.d.ts.map +1 -0
  203. package/lib/rules/arazzo/criteria-unique.js +2 -5
  204. package/lib/rules/arazzo/criteria-unique.js.map +1 -0
  205. package/lib/rules/arazzo/index.d.ts +2 -1
  206. package/lib/rules/arazzo/index.d.ts.map +1 -0
  207. package/lib/rules/arazzo/index.js +33 -35
  208. package/lib/rules/arazzo/index.js.map +1 -0
  209. package/lib/rules/arazzo/parameters-unique.d.ts +2 -1
  210. package/lib/rules/arazzo/parameters-unique.d.ts.map +1 -0
  211. package/lib/rules/arazzo/parameters-unique.js +2 -5
  212. package/lib/rules/arazzo/parameters-unique.js.map +1 -0
  213. package/lib/rules/arazzo/requestBody-replacements-unique.d.ts +2 -1
  214. package/lib/rules/arazzo/requestBody-replacements-unique.d.ts.map +1 -0
  215. package/lib/rules/arazzo/requestBody-replacements-unique.js +2 -5
  216. package/lib/rules/arazzo/requestBody-replacements-unique.js.map +1 -0
  217. package/lib/rules/arazzo/sourceDescription-type.d.ts +2 -1
  218. package/lib/rules/arazzo/sourceDescription-type.d.ts.map +1 -0
  219. package/lib/rules/arazzo/sourceDescription-type.js +2 -5
  220. package/lib/rules/arazzo/sourceDescription-type.js.map +1 -0
  221. package/lib/rules/arazzo/sourceDescriptions-name-unique.d.ts +2 -1
  222. package/lib/rules/arazzo/sourceDescriptions-name-unique.d.ts.map +1 -0
  223. package/lib/rules/arazzo/sourceDescriptions-name-unique.js +2 -5
  224. package/lib/rules/arazzo/sourceDescriptions-name-unique.js.map +1 -0
  225. package/lib/rules/arazzo/sourceDescriptions-not-empty.d.ts +2 -1
  226. package/lib/rules/arazzo/sourceDescriptions-not-empty.d.ts.map +1 -0
  227. package/lib/rules/arazzo/sourceDescriptions-not-empty.js +2 -5
  228. package/lib/rules/arazzo/sourceDescriptions-not-empty.js.map +1 -0
  229. package/lib/rules/arazzo/step-onFailure-unique.d.ts +2 -1
  230. package/lib/rules/arazzo/step-onFailure-unique.d.ts.map +1 -0
  231. package/lib/rules/arazzo/step-onFailure-unique.js +2 -5
  232. package/lib/rules/arazzo/step-onFailure-unique.js.map +1 -0
  233. package/lib/rules/arazzo/step-onSuccess-unique.d.ts +2 -1
  234. package/lib/rules/arazzo/step-onSuccess-unique.d.ts.map +1 -0
  235. package/lib/rules/arazzo/step-onSuccess-unique.js +2 -5
  236. package/lib/rules/arazzo/step-onSuccess-unique.js.map +1 -0
  237. package/lib/rules/arazzo/stepId-unique.d.ts +2 -1
  238. package/lib/rules/arazzo/stepId-unique.d.ts.map +1 -0
  239. package/lib/rules/arazzo/stepId-unique.js +2 -5
  240. package/lib/rules/arazzo/stepId-unique.js.map +1 -0
  241. package/lib/rules/arazzo/workflow-dependsOn.d.ts +2 -1
  242. package/lib/rules/arazzo/workflow-dependsOn.d.ts.map +1 -0
  243. package/lib/rules/arazzo/workflow-dependsOn.js +2 -5
  244. package/lib/rules/arazzo/workflow-dependsOn.js.map +1 -0
  245. package/lib/rules/arazzo/workflowId-unique.d.ts +2 -1
  246. package/lib/rules/arazzo/workflowId-unique.d.ts.map +1 -0
  247. package/lib/rules/arazzo/workflowId-unique.js +2 -5
  248. package/lib/rules/arazzo/workflowId-unique.js.map +1 -0
  249. package/lib/rules/async2/channels-kebab-case.d.ts +2 -1
  250. package/lib/rules/async2/channels-kebab-case.d.ts.map +1 -0
  251. package/lib/rules/async2/channels-kebab-case.js +2 -5
  252. package/lib/rules/async2/channels-kebab-case.js.map +1 -0
  253. package/lib/rules/async2/index.d.ts +2 -1
  254. package/lib/rules/async2/index.d.ts.map +1 -0
  255. package/lib/rules/async2/index.js +21 -26
  256. package/lib/rules/async2/index.js.map +1 -0
  257. package/lib/rules/async2/no-channel-trailing-slash.d.ts +2 -1
  258. package/lib/rules/async2/no-channel-trailing-slash.d.ts.map +1 -0
  259. package/lib/rules/async2/no-channel-trailing-slash.js +2 -5
  260. package/lib/rules/async2/no-channel-trailing-slash.js.map +1 -0
  261. package/lib/rules/async3/channels-kebab-case.d.ts +2 -1
  262. package/lib/rules/async3/channels-kebab-case.d.ts.map +1 -0
  263. package/lib/rules/async3/channels-kebab-case.js +2 -5
  264. package/lib/rules/async3/channels-kebab-case.js.map +1 -0
  265. package/lib/rules/async3/index.d.ts +2 -1
  266. package/lib/rules/async3/index.d.ts.map +1 -0
  267. package/lib/rules/async3/index.js +21 -26
  268. package/lib/rules/async3/index.js.map +1 -0
  269. package/lib/rules/async3/no-channel-trailing-slash.d.ts +2 -1
  270. package/lib/rules/async3/no-channel-trailing-slash.d.ts.map +1 -0
  271. package/lib/rules/async3/no-channel-trailing-slash.js +3 -6
  272. package/lib/rules/async3/no-channel-trailing-slash.js.map +1 -0
  273. package/lib/rules/common/assertions/asserts.d.ts +3 -2
  274. package/lib/rules/common/assertions/asserts.d.ts.map +1 -0
  275. package/lib/rules/common/assertions/asserts.js +35 -38
  276. package/lib/rules/common/assertions/asserts.js.map +1 -0
  277. package/lib/rules/common/assertions/index.d.ts +4 -3
  278. package/lib/rules/common/assertions/index.d.ts.map +1 -0
  279. package/lib/rules/common/assertions/index.js +7 -10
  280. package/lib/rules/common/assertions/index.js.map +1 -0
  281. package/lib/rules/common/assertions/utils.d.ts +5 -4
  282. package/lib/rules/common/assertions/utils.d.ts.map +1 -0
  283. package/lib/rules/common/assertions/utils.js +21 -29
  284. package/lib/rules/common/assertions/utils.js.map +1 -0
  285. package/lib/rules/common/info-contact.d.ts +2 -1
  286. package/lib/rules/common/info-contact.d.ts.map +1 -0
  287. package/lib/rules/common/info-contact.js +4 -7
  288. package/lib/rules/common/info-contact.js.map +1 -0
  289. package/lib/rules/common/info-license-strict.d.ts +2 -1
  290. package/lib/rules/common/info-license-strict.d.ts.map +1 -0
  291. package/lib/rules/common/info-license-strict.js +7 -10
  292. package/lib/rules/common/info-license-strict.js.map +1 -0
  293. package/lib/rules/common/info-license-url.d.ts +2 -1
  294. package/lib/rules/common/info-license-url.d.ts.map +1 -0
  295. package/lib/rules/common/info-license-url.js +4 -7
  296. package/lib/rules/common/info-license-url.js.map +1 -0
  297. package/lib/rules/common/info-license.d.ts +2 -1
  298. package/lib/rules/common/info-license.d.ts.map +1 -0
  299. package/lib/rules/common/info-license.js +4 -7
  300. package/lib/rules/common/info-license.js.map +1 -0
  301. package/lib/rules/common/no-ambiguous-paths.d.ts +2 -1
  302. package/lib/rules/common/no-ambiguous-paths.d.ts.map +1 -0
  303. package/lib/rules/common/no-ambiguous-paths.js +2 -5
  304. package/lib/rules/common/no-ambiguous-paths.js.map +1 -0
  305. package/lib/rules/common/no-enum-type-mismatch.d.ts +2 -1
  306. package/lib/rules/common/no-enum-type-mismatch.d.ts.map +1 -0
  307. package/lib/rules/common/no-enum-type-mismatch.js +6 -9
  308. package/lib/rules/common/no-enum-type-mismatch.js.map +1 -0
  309. package/lib/rules/common/no-http-verbs-in-paths.d.ts +2 -1
  310. package/lib/rules/common/no-http-verbs-in-paths.d.ts.map +1 -0
  311. package/lib/rules/common/no-http-verbs-in-paths.js +5 -8
  312. package/lib/rules/common/no-http-verbs-in-paths.js.map +1 -0
  313. package/lib/rules/common/no-identical-paths.d.ts +2 -1
  314. package/lib/rules/common/no-identical-paths.d.ts.map +1 -0
  315. package/lib/rules/common/no-identical-paths.js +2 -5
  316. package/lib/rules/common/no-identical-paths.js.map +1 -0
  317. package/lib/rules/common/no-invalid-parameter-examples.d.ts +1 -0
  318. package/lib/rules/common/no-invalid-parameter-examples.d.ts.map +1 -0
  319. package/lib/rules/common/no-invalid-parameter-examples.js +6 -9
  320. package/lib/rules/common/no-invalid-parameter-examples.js.map +1 -0
  321. package/lib/rules/common/no-invalid-schema-examples.d.ts +2 -1
  322. package/lib/rules/common/no-invalid-schema-examples.d.ts.map +1 -0
  323. package/lib/rules/common/no-invalid-schema-examples.js +6 -9
  324. package/lib/rules/common/no-invalid-schema-examples.js.map +1 -0
  325. package/lib/rules/common/no-path-trailing-slash.d.ts +2 -1
  326. package/lib/rules/common/no-path-trailing-slash.d.ts.map +1 -0
  327. package/lib/rules/common/no-path-trailing-slash.js +2 -5
  328. package/lib/rules/common/no-path-trailing-slash.js.map +1 -0
  329. package/lib/rules/common/no-required-schema-properties-undefined.d.ts +2 -1
  330. package/lib/rules/common/no-required-schema-properties-undefined.d.ts.map +1 -0
  331. package/lib/rules/common/no-required-schema-properties-undefined.js +4 -7
  332. package/lib/rules/common/no-required-schema-properties-undefined.js.map +1 -0
  333. package/lib/rules/common/no-schema-type-mismatch.d.ts +2 -1
  334. package/lib/rules/common/no-schema-type-mismatch.d.ts.map +1 -0
  335. package/lib/rules/common/no-schema-type-mismatch.js +2 -5
  336. package/lib/rules/common/no-schema-type-mismatch.js.map +1 -0
  337. package/lib/rules/common/operation-2xx-response.d.ts +2 -1
  338. package/lib/rules/common/operation-2xx-response.d.ts.map +1 -0
  339. package/lib/rules/common/operation-2xx-response.js +5 -8
  340. package/lib/rules/common/operation-2xx-response.js.map +1 -0
  341. package/lib/rules/common/operation-4xx-response.d.ts +2 -1
  342. package/lib/rules/common/operation-4xx-response.d.ts.map +1 -0
  343. package/lib/rules/common/operation-4xx-response.js +5 -8
  344. package/lib/rules/common/operation-4xx-response.js.map +1 -0
  345. package/lib/rules/common/operation-description.d.ts +2 -1
  346. package/lib/rules/common/operation-description.d.ts.map +1 -0
  347. package/lib/rules/common/operation-description.js +4 -7
  348. package/lib/rules/common/operation-description.js.map +1 -0
  349. package/lib/rules/common/operation-operationId-unique.d.ts +2 -1
  350. package/lib/rules/common/operation-operationId-unique.d.ts.map +1 -0
  351. package/lib/rules/common/operation-operationId-unique.js +2 -5
  352. package/lib/rules/common/operation-operationId-unique.js.map +1 -0
  353. package/lib/rules/common/operation-operationId-url-safe.d.ts +2 -1
  354. package/lib/rules/common/operation-operationId-url-safe.d.ts.map +1 -0
  355. package/lib/rules/common/operation-operationId-url-safe.js +2 -5
  356. package/lib/rules/common/operation-operationId-url-safe.js.map +1 -0
  357. package/lib/rules/common/operation-operationId.d.ts +2 -1
  358. package/lib/rules/common/operation-operationId.d.ts.map +1 -0
  359. package/lib/rules/common/operation-operationId.js +4 -7
  360. package/lib/rules/common/operation-operationId.js.map +1 -0
  361. package/lib/rules/common/operation-parameters-unique.d.ts +2 -1
  362. package/lib/rules/common/operation-parameters-unique.d.ts.map +1 -0
  363. package/lib/rules/common/operation-parameters-unique.js +2 -5
  364. package/lib/rules/common/operation-parameters-unique.js.map +1 -0
  365. package/lib/rules/common/operation-singular-tag.d.ts +2 -1
  366. package/lib/rules/common/operation-singular-tag.d.ts.map +1 -0
  367. package/lib/rules/common/operation-singular-tag.js +2 -5
  368. package/lib/rules/common/operation-singular-tag.js.map +1 -0
  369. package/lib/rules/common/operation-summary.d.ts +2 -1
  370. package/lib/rules/common/operation-summary.d.ts.map +1 -0
  371. package/lib/rules/common/operation-summary.js +4 -7
  372. package/lib/rules/common/operation-summary.js.map +1 -0
  373. package/lib/rules/common/operation-tag-defined.d.ts +2 -1
  374. package/lib/rules/common/operation-tag-defined.d.ts.map +1 -0
  375. package/lib/rules/common/operation-tag-defined.js +2 -5
  376. package/lib/rules/common/operation-tag-defined.js.map +1 -0
  377. package/lib/rules/common/parameter-description.d.ts +2 -1
  378. package/lib/rules/common/parameter-description.d.ts.map +1 -0
  379. package/lib/rules/common/parameter-description.js +2 -5
  380. package/lib/rules/common/parameter-description.js.map +1 -0
  381. package/lib/rules/common/path-declaration-must-exist.d.ts +2 -1
  382. package/lib/rules/common/path-declaration-must-exist.d.ts.map +1 -0
  383. package/lib/rules/common/path-declaration-must-exist.js +2 -5
  384. package/lib/rules/common/path-declaration-must-exist.js.map +1 -0
  385. package/lib/rules/common/path-excludes-patterns.d.ts +2 -1
  386. package/lib/rules/common/path-excludes-patterns.d.ts.map +1 -0
  387. package/lib/rules/common/path-excludes-patterns.js +2 -5
  388. package/lib/rules/common/path-excludes-patterns.js.map +1 -0
  389. package/lib/rules/common/path-http-verbs-order.d.ts +2 -1
  390. package/lib/rules/common/path-http-verbs-order.d.ts.map +1 -0
  391. package/lib/rules/common/path-http-verbs-order.js +2 -5
  392. package/lib/rules/common/path-http-verbs-order.js.map +1 -0
  393. package/lib/rules/common/path-not-include-query.d.ts +2 -1
  394. package/lib/rules/common/path-not-include-query.d.ts.map +1 -0
  395. package/lib/rules/common/path-not-include-query.js +2 -5
  396. package/lib/rules/common/path-not-include-query.js.map +1 -0
  397. package/lib/rules/common/path-params-defined.d.ts +2 -1
  398. package/lib/rules/common/path-params-defined.d.ts.map +1 -0
  399. package/lib/rules/common/path-params-defined.js +2 -5
  400. package/lib/rules/common/path-params-defined.js.map +1 -0
  401. package/lib/rules/common/path-segment-plural.d.ts +2 -1
  402. package/lib/rules/common/path-segment-plural.d.ts.map +1 -0
  403. package/lib/rules/common/path-segment-plural.js +6 -9
  404. package/lib/rules/common/path-segment-plural.js.map +1 -0
  405. package/lib/rules/common/paths-kebab-case.d.ts +2 -1
  406. package/lib/rules/common/paths-kebab-case.d.ts.map +1 -0
  407. package/lib/rules/common/paths-kebab-case.js +2 -5
  408. package/lib/rules/common/paths-kebab-case.js.map +1 -0
  409. package/lib/rules/common/required-string-property-missing-min-length.d.ts +2 -1
  410. package/lib/rules/common/required-string-property-missing-min-length.d.ts.map +1 -0
  411. package/lib/rules/common/required-string-property-missing-min-length.js +2 -5
  412. package/lib/rules/common/required-string-property-missing-min-length.js.map +1 -0
  413. package/lib/rules/common/response-contains-header.d.ts +2 -1
  414. package/lib/rules/common/response-contains-header.d.ts.map +1 -0
  415. package/lib/rules/common/response-contains-header.js +5 -8
  416. package/lib/rules/common/response-contains-header.js.map +1 -0
  417. package/lib/rules/common/scalar-property-missing-example.d.ts +2 -1
  418. package/lib/rules/common/scalar-property-missing-example.d.ts.map +1 -0
  419. package/lib/rules/common/scalar-property-missing-example.js +4 -7
  420. package/lib/rules/common/scalar-property-missing-example.js.map +1 -0
  421. package/lib/rules/common/security-defined.d.ts +2 -1
  422. package/lib/rules/common/security-defined.d.ts.map +1 -0
  423. package/lib/rules/common/security-defined.js +2 -5
  424. package/lib/rules/common/security-defined.js.map +1 -0
  425. package/lib/rules/common/spec-strict-refs.d.ts +2 -1
  426. package/lib/rules/common/spec-strict-refs.d.ts.map +1 -0
  427. package/lib/rules/common/spec-strict-refs.js +4 -7
  428. package/lib/rules/common/spec-strict-refs.js.map +1 -0
  429. package/lib/rules/common/struct.d.ts +2 -1
  430. package/lib/rules/common/struct.d.ts.map +1 -0
  431. package/lib/rules/common/struct.js +18 -21
  432. package/lib/rules/common/struct.js.map +1 -0
  433. package/lib/rules/common/tag-description.d.ts +2 -1
  434. package/lib/rules/common/tag-description.d.ts.map +1 -0
  435. package/lib/rules/common/tag-description.js +4 -7
  436. package/lib/rules/common/tag-description.js.map +1 -0
  437. package/lib/rules/common/tags-alphabetical.d.ts +2 -1
  438. package/lib/rules/common/tags-alphabetical.d.ts.map +1 -0
  439. package/lib/rules/common/tags-alphabetical.js +2 -5
  440. package/lib/rules/common/tags-alphabetical.js.map +1 -0
  441. package/lib/rules/no-unresolved-refs.d.ts +4 -3
  442. package/lib/rules/no-unresolved-refs.d.ts.map +1 -0
  443. package/lib/rules/no-unresolved-refs.js +5 -9
  444. package/lib/rules/no-unresolved-refs.js.map +1 -0
  445. package/lib/rules/oas2/boolean-parameter-prefixes.d.ts +2 -1
  446. package/lib/rules/oas2/boolean-parameter-prefixes.d.ts.map +1 -0
  447. package/lib/rules/oas2/boolean-parameter-prefixes.js +2 -5
  448. package/lib/rules/oas2/boolean-parameter-prefixes.js.map +1 -0
  449. package/lib/rules/oas2/index.d.ts +2 -1
  450. package/lib/rules/oas2/index.d.ts.map +1 -0
  451. package/lib/rules/oas2/index.js +94 -99
  452. package/lib/rules/oas2/index.js.map +1 -0
  453. package/lib/rules/oas2/request-mime-type.d.ts +2 -1
  454. package/lib/rules/oas2/request-mime-type.d.ts.map +1 -0
  455. package/lib/rules/oas2/request-mime-type.js +5 -8
  456. package/lib/rules/oas2/request-mime-type.js.map +1 -0
  457. package/lib/rules/oas2/response-contains-property.d.ts +2 -1
  458. package/lib/rules/oas2/response-contains-property.d.ts.map +1 -0
  459. package/lib/rules/oas2/response-contains-property.js +5 -8
  460. package/lib/rules/oas2/response-contains-property.js.map +1 -0
  461. package/lib/rules/oas2/response-mime-type.d.ts +2 -1
  462. package/lib/rules/oas2/response-mime-type.d.ts.map +1 -0
  463. package/lib/rules/oas2/response-mime-type.js +5 -8
  464. package/lib/rules/oas2/response-mime-type.js.map +1 -0
  465. package/lib/rules/oas3/array-parameter-serialization.d.ts +2 -1
  466. package/lib/rules/oas3/array-parameter-serialization.d.ts.map +1 -0
  467. package/lib/rules/oas3/array-parameter-serialization.js +4 -7
  468. package/lib/rules/oas3/array-parameter-serialization.js.map +1 -0
  469. package/lib/rules/oas3/boolean-parameter-prefixes.d.ts +2 -1
  470. package/lib/rules/oas3/boolean-parameter-prefixes.d.ts.map +1 -0
  471. package/lib/rules/oas3/boolean-parameter-prefixes.js +2 -5
  472. package/lib/rules/oas3/boolean-parameter-prefixes.js.map +1 -0
  473. package/lib/rules/oas3/component-name-unique.d.ts +2 -1
  474. package/lib/rules/oas3/component-name-unique.d.ts.map +1 -0
  475. package/lib/rules/oas3/component-name-unique.js +2 -5
  476. package/lib/rules/oas3/component-name-unique.js.map +1 -0
  477. package/lib/rules/oas3/index.d.ts +2 -1
  478. package/lib/rules/oas3/index.d.ts.map +1 -0
  479. package/lib/rules/oas3/index.js +118 -123
  480. package/lib/rules/oas3/index.js.map +1 -0
  481. package/lib/rules/oas3/no-empty-servers.d.ts +2 -1
  482. package/lib/rules/oas3/no-empty-servers.d.ts.map +1 -0
  483. package/lib/rules/oas3/no-empty-servers.js +2 -5
  484. package/lib/rules/oas3/no-empty-servers.js.map +1 -0
  485. package/lib/rules/oas3/no-example-value-and-externalValue.d.ts +2 -1
  486. package/lib/rules/oas3/no-example-value-and-externalValue.d.ts.map +1 -0
  487. package/lib/rules/oas3/no-example-value-and-externalValue.js +2 -5
  488. package/lib/rules/oas3/no-example-value-and-externalValue.js.map +1 -0
  489. package/lib/rules/oas3/no-invalid-media-type-examples.d.ts +2 -1
  490. package/lib/rules/oas3/no-invalid-media-type-examples.d.ts.map +1 -0
  491. package/lib/rules/oas3/no-invalid-media-type-examples.js +7 -10
  492. package/lib/rules/oas3/no-invalid-media-type-examples.js.map +1 -0
  493. package/lib/rules/oas3/no-server-example.com.d.ts +2 -1
  494. package/lib/rules/oas3/no-server-example.com.d.ts.map +1 -0
  495. package/lib/rules/oas3/no-server-example.com.js +2 -5
  496. package/lib/rules/oas3/no-server-example.com.js.map +1 -0
  497. package/lib/rules/oas3/no-server-trailing-slash.d.ts +2 -1
  498. package/lib/rules/oas3/no-server-trailing-slash.d.ts.map +1 -0
  499. package/lib/rules/oas3/no-server-trailing-slash.js +2 -5
  500. package/lib/rules/oas3/no-server-trailing-slash.js.map +1 -0
  501. package/lib/rules/oas3/no-server-variables-empty-enum.d.ts +2 -1
  502. package/lib/rules/oas3/no-server-variables-empty-enum.d.ts.map +1 -0
  503. package/lib/rules/oas3/no-server-variables-empty-enum.js +2 -5
  504. package/lib/rules/oas3/no-server-variables-empty-enum.js.map +1 -0
  505. package/lib/rules/oas3/no-undefined-server-variable.d.ts +2 -1
  506. package/lib/rules/oas3/no-undefined-server-variable.d.ts.map +1 -0
  507. package/lib/rules/oas3/no-undefined-server-variable.js +2 -5
  508. package/lib/rules/oas3/no-undefined-server-variable.js.map +1 -0
  509. package/lib/rules/oas3/no-unused-components.d.ts +2 -1
  510. package/lib/rules/oas3/no-unused-components.d.ts.map +1 -0
  511. package/lib/rules/oas3/no-unused-components.js +2 -5
  512. package/lib/rules/oas3/no-unused-components.js.map +1 -0
  513. package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.d.ts +2 -1
  514. package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.d.ts.map +1 -0
  515. package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +6 -9
  516. package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js.map +1 -0
  517. package/lib/rules/oas3/request-mime-type.d.ts +2 -1
  518. package/lib/rules/oas3/request-mime-type.d.ts.map +1 -0
  519. package/lib/rules/oas3/request-mime-type.js +6 -9
  520. package/lib/rules/oas3/request-mime-type.js.map +1 -0
  521. package/lib/rules/oas3/response-contains-property.d.ts +2 -1
  522. package/lib/rules/oas3/response-contains-property.d.ts.map +1 -0
  523. package/lib/rules/oas3/response-contains-property.js +5 -8
  524. package/lib/rules/oas3/response-contains-property.js.map +1 -0
  525. package/lib/rules/oas3/response-mime-type.d.ts +2 -1
  526. package/lib/rules/oas3/response-mime-type.d.ts.map +1 -0
  527. package/lib/rules/oas3/response-mime-type.js +6 -9
  528. package/lib/rules/oas3/response-mime-type.js.map +1 -0
  529. package/lib/rules/oas3/spec-components-invalid-map-name.d.ts +2 -1
  530. package/lib/rules/oas3/spec-components-invalid-map-name.d.ts.map +1 -0
  531. package/lib/rules/oas3/spec-components-invalid-map-name.js +2 -5
  532. package/lib/rules/oas3/spec-components-invalid-map-name.js.map +1 -0
  533. package/lib/rules/other/stats.d.ts +4 -3
  534. package/lib/rules/other/stats.d.ts.map +1 -0
  535. package/lib/rules/other/stats.js +2 -5
  536. package/lib/rules/other/stats.js.map +1 -0
  537. package/lib/rules/overlay1/index.d.ts +2 -1
  538. package/lib/rules/overlay1/index.d.ts.map +1 -0
  539. package/lib/rules/overlay1/index.js +9 -11
  540. package/lib/rules/overlay1/index.js.map +1 -0
  541. package/lib/rules/respect/no-criteria-xpath.d.ts +2 -1
  542. package/lib/rules/respect/no-criteria-xpath.d.ts.map +1 -0
  543. package/lib/rules/respect/no-criteria-xpath.js +2 -5
  544. package/lib/rules/respect/no-criteria-xpath.js.map +1 -0
  545. package/lib/rules/respect/respect-supported-versions.d.ts +2 -1
  546. package/lib/rules/respect/respect-supported-versions.d.ts.map +1 -0
  547. package/lib/rules/respect/respect-supported-versions.js +7 -10
  548. package/lib/rules/respect/respect-supported-versions.js.map +1 -0
  549. package/lib/rules/utils.d.ts +4 -3
  550. package/lib/rules/utils.d.ts.map +1 -0
  551. package/lib/rules/utils.js +23 -36
  552. package/lib/rules/utils.js.map +1 -0
  553. package/lib/types/arazzo.d.ts +2 -1
  554. package/lib/types/arazzo.d.ts.map +1 -0
  555. package/lib/types/arazzo.js +21 -23
  556. package/lib/types/arazzo.js.map +1 -0
  557. package/lib/types/asyncapi2.d.ts +2 -1
  558. package/lib/types/asyncapi2.d.ts.map +1 -0
  559. package/lib/types/asyncapi2.js +54 -56
  560. package/lib/types/asyncapi2.js.map +1 -0
  561. package/lib/types/asyncapi3.d.ts +2 -1
  562. package/lib/types/asyncapi3.d.ts.map +1 -0
  563. package/lib/types/asyncapi3.js +41 -43
  564. package/lib/types/asyncapi3.js.map +1 -0
  565. package/lib/types/index.d.ts +1 -0
  566. package/lib/types/index.d.ts.map +1 -0
  567. package/lib/types/index.js +7 -13
  568. package/lib/types/index.js.map +1 -0
  569. package/lib/types/json-schema-adapter.d.ts +2 -1
  570. package/lib/types/json-schema-adapter.d.ts.map +1 -0
  571. package/lib/types/json-schema-adapter.js +15 -17
  572. package/lib/types/json-schema-adapter.js.map +1 -0
  573. package/lib/types/oas2.d.ts +3 -2
  574. package/lib/types/oas2.d.ts.map +1 -0
  575. package/lib/types/oas2.js +17 -19
  576. package/lib/types/oas2.js.map +1 -0
  577. package/lib/types/oas3.d.ts +3 -2
  578. package/lib/types/oas3.d.ts.map +1 -0
  579. package/lib/types/oas3.js +39 -41
  580. package/lib/types/oas3.js.map +1 -0
  581. package/lib/types/oas3_1.d.ts +3 -2
  582. package/lib/types/oas3_1.d.ts.map +1 -0
  583. package/lib/types/oas3_1.js +18 -20
  584. package/lib/types/oas3_1.js.map +1 -0
  585. package/lib/types/overlay.d.ts +2 -1
  586. package/lib/types/overlay.d.ts.map +1 -0
  587. package/lib/types/overlay.js +4 -6
  588. package/lib/types/overlay.js.map +1 -0
  589. package/lib/types/redocly-yaml.d.ts +4 -3
  590. package/lib/types/redocly-yaml.d.ts.map +1 -0
  591. package/lib/types/redocly-yaml.js +31 -57
  592. package/lib/types/redocly-yaml.js.map +1 -0
  593. package/lib/typings/arazzo.d.ts +1 -0
  594. package/lib/typings/arazzo.d.ts.map +1 -0
  595. package/lib/typings/arazzo.js +3 -5
  596. package/lib/typings/arazzo.js.map +1 -0
  597. package/lib/typings/asyncapi.d.ts +1 -0
  598. package/lib/typings/asyncapi.d.ts.map +1 -0
  599. package/lib/typings/asyncapi.js +2 -2
  600. package/lib/typings/asyncapi.js.map +1 -0
  601. package/lib/typings/asyncapi3.d.ts +1 -0
  602. package/lib/typings/asyncapi3.d.ts.map +1 -0
  603. package/lib/typings/asyncapi3.js +2 -2
  604. package/lib/typings/asyncapi3.js.map +1 -0
  605. package/lib/typings/common.d.ts +1 -0
  606. package/lib/typings/common.d.ts.map +1 -0
  607. package/lib/typings/common.js +2 -2
  608. package/lib/typings/common.js.map +1 -0
  609. package/lib/typings/openapi.d.ts +1 -0
  610. package/lib/typings/openapi.d.ts.map +1 -0
  611. package/lib/typings/openapi.js +2 -2
  612. package/lib/typings/openapi.js.map +1 -0
  613. package/lib/typings/overlay.d.ts +1 -0
  614. package/lib/typings/overlay.d.ts.map +1 -0
  615. package/lib/typings/overlay.js +2 -4
  616. package/lib/typings/overlay.js.map +1 -0
  617. package/lib/typings/swagger.d.ts +2 -1
  618. package/lib/typings/swagger.d.ts.map +1 -0
  619. package/lib/typings/swagger.js +2 -2
  620. package/lib/typings/swagger.js.map +1 -0
  621. package/lib/utils/error.d.ts +3 -0
  622. package/lib/utils/error.d.ts.map +1 -0
  623. package/lib/utils/error.js +3 -0
  624. package/lib/utils/error.js.map +1 -0
  625. package/lib/utils.d.ts +4 -5
  626. package/lib/utils.d.ts.map +1 -0
  627. package/lib/utils.js +52 -99
  628. package/lib/utils.js.map +1 -0
  629. package/lib/visitors.d.ts +11 -10
  630. package/lib/visitors.d.ts.map +1 -0
  631. package/lib/visitors.js +4 -6
  632. package/lib/visitors.js.map +1 -0
  633. package/lib/walk.d.ts +9 -8
  634. package/lib/walk.d.ts.map +1 -0
  635. package/lib/walk.js +23 -25
  636. package/lib/walk.js.map +1 -0
  637. package/package.json +31 -10
  638. package/lib/decorators/common/registry-dependencies.d.ts +0 -2
  639. package/lib/decorators/common/registry-dependencies.js +0 -24
  640. package/lib/output.d.ts +0 -3
  641. package/lib/output.js +0 -9
  642. package/lib/redocly/domains.d.ts +0 -14
  643. package/lib/redocly/domains.js +0 -41
  644. package/lib/redocly/index.d.ts +0 -30
  645. package/lib/redocly/index.js +0 -131
  646. package/lib/redocly/redocly-client-types.d.ts +0 -8
  647. package/lib/redocly/redocly-client-types.js +0 -2
  648. package/lib/redocly/registry-api-types.d.ts +0 -29
  649. package/lib/redocly/registry-api-types.js +0 -2
  650. package/lib/redocly/registry-api.d.ts +0 -17
  651. package/lib/redocly/registry-api.js +0 -100
@@ -1,100 +1,95 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.preprocessors = exports.rules = void 0;
4
- const struct_1 = require("../common/struct");
5
- const no_invalid_schema_examples_1 = require("../common/no-invalid-schema-examples");
6
- const no_invalid_parameter_examples_1 = require("../common/no-invalid-parameter-examples");
7
- const info_contact_1 = require("../common/info-contact");
8
- const info_license_1 = require("../common/info-license");
9
- const info_license_url_1 = require("../common/info-license-url");
10
- const info_license_strict_1 = require("../common/info-license-strict");
11
- const boolean_parameter_prefixes_1 = require("./boolean-parameter-prefixes");
12
- const tag_description_1 = require("../common/tag-description");
13
- const tags_alphabetical_1 = require("../common/tags-alphabetical");
14
- const paths_kebab_case_1 = require("../common/paths-kebab-case");
15
- const no_enum_type_mismatch_1 = require("../common/no-enum-type-mismatch");
16
- const no_path_trailing_slash_1 = require("../common/no-path-trailing-slash");
17
- const operation_2xx_response_1 = require("../common/operation-2xx-response");
18
- const operation_4xx_response_1 = require("../common/operation-4xx-response");
19
- const assertions_1 = require("../common/assertions");
20
- const operation_operationId_unique_1 = require("../common/operation-operationId-unique");
21
- const operation_parameters_unique_1 = require("../common/operation-parameters-unique");
22
- const path_params_defined_1 = require("../common/path-params-defined");
23
- const operation_tag_defined_1 = require("../common/operation-tag-defined");
24
- const path_declaration_must_exist_1 = require("../common/path-declaration-must-exist");
25
- const operation_operationId_url_safe_1 = require("../common/operation-operationId-url-safe");
26
- const operation_description_1 = require("../common/operation-description");
27
- const path_not_include_query_1 = require("../common/path-not-include-query");
28
- const parameter_description_1 = require("../common/parameter-description");
29
- const operation_singular_tag_1 = require("../common/operation-singular-tag");
30
- const security_defined_1 = require("../common/security-defined");
31
- const no_unresolved_refs_1 = require("../no-unresolved-refs");
32
- const path_http_verbs_order_1 = require("../common/path-http-verbs-order");
33
- const no_identical_paths_1 = require("../common/no-identical-paths");
34
- const operation_operationId_1 = require("../common/operation-operationId");
35
- const operation_summary_1 = require("../common/operation-summary");
36
- const no_ambiguous_paths_1 = require("../common/no-ambiguous-paths");
37
- const no_http_verbs_in_paths_1 = require("../common/no-http-verbs-in-paths");
38
- const path_excludes_patterns_1 = require("../common/path-excludes-patterns");
39
- const request_mime_type_1 = require("./request-mime-type");
40
- const response_mime_type_1 = require("./response-mime-type");
41
- const path_segment_plural_1 = require("../common/path-segment-plural");
42
- const response_contains_header_1 = require("../common/response-contains-header");
43
- const response_contains_property_1 = require("./response-contains-property");
44
- const scalar_property_missing_example_1 = require("../common/scalar-property-missing-example");
45
- const required_string_property_missing_min_length_1 = require("../common/required-string-property-missing-min-length");
46
- const spec_strict_refs_1 = require("../common/spec-strict-refs");
47
- const no_required_schema_properties_undefined_1 = require("../common/no-required-schema-properties-undefined");
48
- const no_schema_type_mismatch_1 = require("../common/no-schema-type-mismatch");
49
- exports.rules = {
50
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
51
- //@ts-ignore TODO: This is depricated property `spec` and should be removed in the future
52
- spec: struct_1.Struct,
53
- struct: struct_1.Struct,
54
- 'no-invalid-schema-examples': no_invalid_schema_examples_1.NoInvalidSchemaExamples,
55
- 'no-invalid-parameter-examples': no_invalid_parameter_examples_1.NoInvalidParameterExamples,
56
- 'info-contact': info_contact_1.InfoContact,
57
- 'info-license': info_license_1.InfoLicense,
58
- 'info-license-url': info_license_url_1.InfoLicenseUrl,
59
- 'info-license-strict': info_license_strict_1.InfoLicenseStrict,
60
- 'tag-description': tag_description_1.TagDescription,
61
- 'tags-alphabetical': tags_alphabetical_1.TagsAlphabetical,
62
- 'paths-kebab-case': paths_kebab_case_1.PathsKebabCase,
63
- 'no-enum-type-mismatch': no_enum_type_mismatch_1.NoEnumTypeMismatch,
64
- 'boolean-parameter-prefixes': boolean_parameter_prefixes_1.BooleanParameterPrefixes,
65
- 'no-path-trailing-slash': no_path_trailing_slash_1.NoPathTrailingSlash,
66
- 'operation-2xx-response': operation_2xx_response_1.Operation2xxResponse,
67
- 'operation-4xx-response': operation_4xx_response_1.Operation4xxResponse,
68
- assertions: assertions_1.Assertions,
69
- 'operation-operationId-unique': operation_operationId_unique_1.OperationIdUnique,
70
- 'operation-parameters-unique': operation_parameters_unique_1.OperationParametersUnique,
71
- 'path-parameters-defined': path_params_defined_1.PathParamsDefined,
72
- 'operation-tag-defined': operation_tag_defined_1.OperationTagDefined,
73
- 'path-declaration-must-exist': path_declaration_must_exist_1.PathDeclarationMustExist,
74
- 'operation-operationId-url-safe': operation_operationId_url_safe_1.OperationIdUrlSafe,
75
- 'operation-operationId': operation_operationId_1.OperationOperationId,
76
- 'operation-summary': operation_summary_1.OperationSummary,
77
- 'operation-description': operation_description_1.OperationDescription,
78
- 'path-not-include-query': path_not_include_query_1.PathNotIncludeQuery,
79
- 'path-params-defined': path_params_defined_1.PathParamsDefined,
80
- 'parameter-description': parameter_description_1.ParameterDescription,
81
- 'operation-singular-tag': operation_singular_tag_1.OperationSingularTag,
82
- 'security-defined': security_defined_1.SecurityDefined,
83
- 'no-unresolved-refs': no_unresolved_refs_1.NoUnresolvedRefs,
84
- 'no-identical-paths': no_identical_paths_1.NoIdenticalPaths,
85
- 'no-ambiguous-paths': no_ambiguous_paths_1.NoAmbiguousPaths,
86
- 'path-http-verbs-order': path_http_verbs_order_1.PathHttpVerbsOrder,
87
- 'no-http-verbs-in-paths': no_http_verbs_in_paths_1.NoHttpVerbsInPaths,
88
- 'path-excludes-patterns': path_excludes_patterns_1.PathExcludesPatterns,
89
- 'request-mime-type': request_mime_type_1.RequestMimeType,
90
- 'response-mime-type': response_mime_type_1.ResponseMimeType,
91
- 'path-segment-plural': path_segment_plural_1.PathSegmentPlural,
92
- 'response-contains-header': response_contains_header_1.ResponseContainsHeader,
93
- 'response-contains-property': response_contains_property_1.ResponseContainsProperty,
94
- 'scalar-property-missing-example': scalar_property_missing_example_1.ScalarPropertyMissingExample,
95
- 'required-string-property-missing-min-length': required_string_property_missing_min_length_1.RequiredStringPropertyMissingMinLength,
96
- 'spec-strict-refs': spec_strict_refs_1.SpecStrictRefs,
97
- 'no-required-schema-properties-undefined': no_required_schema_properties_undefined_1.NoRequiredSchemaPropertiesUndefined,
98
- 'no-schema-type-mismatch': no_schema_type_mismatch_1.NoSchemaTypeMismatch,
1
+ import { Struct } from '../common/struct.js';
2
+ import { NoInvalidSchemaExamples } from '../common/no-invalid-schema-examples.js';
3
+ import { NoInvalidParameterExamples } from '../common/no-invalid-parameter-examples.js';
4
+ import { InfoContact } from '../common/info-contact.js';
5
+ import { InfoLicense } from '../common/info-license.js';
6
+ import { InfoLicenseUrl } from '../common/info-license-url.js';
7
+ import { InfoLicenseStrict } from '../common/info-license-strict.js';
8
+ import { BooleanParameterPrefixes } from './boolean-parameter-prefixes.js';
9
+ import { TagDescription } from '../common/tag-description.js';
10
+ import { TagsAlphabetical } from '../common/tags-alphabetical.js';
11
+ import { PathsKebabCase } from '../common/paths-kebab-case.js';
12
+ import { NoEnumTypeMismatch } from '../common/no-enum-type-mismatch.js';
13
+ import { NoPathTrailingSlash } from '../common/no-path-trailing-slash.js';
14
+ import { Operation2xxResponse } from '../common/operation-2xx-response.js';
15
+ import { Operation4xxResponse } from '../common/operation-4xx-response.js';
16
+ import { Assertions } from '../common/assertions/index.js';
17
+ import { OperationIdUnique } from '../common/operation-operationId-unique.js';
18
+ import { OperationParametersUnique } from '../common/operation-parameters-unique.js';
19
+ import { PathParamsDefined } from '../common/path-params-defined.js';
20
+ import { OperationTagDefined } from '../common/operation-tag-defined.js';
21
+ import { PathDeclarationMustExist } from '../common/path-declaration-must-exist.js';
22
+ import { OperationIdUrlSafe } from '../common/operation-operationId-url-safe.js';
23
+ import { OperationDescription } from '../common/operation-description.js';
24
+ import { PathNotIncludeQuery } from '../common/path-not-include-query.js';
25
+ import { ParameterDescription } from '../common/parameter-description.js';
26
+ import { OperationSingularTag } from '../common/operation-singular-tag.js';
27
+ import { SecurityDefined } from '../common/security-defined.js';
28
+ import { NoUnresolvedRefs } from '../no-unresolved-refs.js';
29
+ import { PathHttpVerbsOrder } from '../common/path-http-verbs-order.js';
30
+ import { NoIdenticalPaths } from '../common/no-identical-paths.js';
31
+ import { OperationOperationId } from '../common/operation-operationId.js';
32
+ import { OperationSummary } from '../common/operation-summary.js';
33
+ import { NoAmbiguousPaths } from '../common/no-ambiguous-paths.js';
34
+ import { NoHttpVerbsInPaths } from '../common/no-http-verbs-in-paths.js';
35
+ import { PathExcludesPatterns } from '../common/path-excludes-patterns.js';
36
+ import { RequestMimeType } from './request-mime-type.js';
37
+ import { ResponseMimeType } from './response-mime-type.js';
38
+ import { PathSegmentPlural } from '../common/path-segment-plural.js';
39
+ import { ResponseContainsHeader } from '../common/response-contains-header.js';
40
+ import { ResponseContainsProperty } from './response-contains-property.js';
41
+ import { ScalarPropertyMissingExample } from '../common/scalar-property-missing-example.js';
42
+ import { RequiredStringPropertyMissingMinLength } from '../common/required-string-property-missing-min-length.js';
43
+ import { SpecStrictRefs } from '../common/spec-strict-refs.js';
44
+ import { NoRequiredSchemaPropertiesUndefined } from '../common/no-required-schema-properties-undefined.js';
45
+ import { NoSchemaTypeMismatch } from '../common/no-schema-type-mismatch.js';
46
+ export const rules = {
47
+ struct: Struct,
48
+ 'no-invalid-schema-examples': NoInvalidSchemaExamples,
49
+ 'no-invalid-parameter-examples': NoInvalidParameterExamples,
50
+ 'info-contact': InfoContact,
51
+ 'info-license': InfoLicense,
52
+ 'info-license-url': InfoLicenseUrl,
53
+ 'info-license-strict': InfoLicenseStrict,
54
+ 'tag-description': TagDescription,
55
+ 'tags-alphabetical': TagsAlphabetical,
56
+ 'paths-kebab-case': PathsKebabCase,
57
+ 'no-enum-type-mismatch': NoEnumTypeMismatch,
58
+ 'boolean-parameter-prefixes': BooleanParameterPrefixes,
59
+ 'no-path-trailing-slash': NoPathTrailingSlash,
60
+ 'operation-2xx-response': Operation2xxResponse,
61
+ 'operation-4xx-response': Operation4xxResponse,
62
+ assertions: Assertions,
63
+ 'operation-operationId-unique': OperationIdUnique,
64
+ 'operation-parameters-unique': OperationParametersUnique,
65
+ 'path-parameters-defined': PathParamsDefined,
66
+ 'operation-tag-defined': OperationTagDefined,
67
+ 'path-declaration-must-exist': PathDeclarationMustExist,
68
+ 'operation-operationId-url-safe': OperationIdUrlSafe,
69
+ 'operation-operationId': OperationOperationId,
70
+ 'operation-summary': OperationSummary,
71
+ 'operation-description': OperationDescription,
72
+ 'path-not-include-query': PathNotIncludeQuery,
73
+ 'path-params-defined': PathParamsDefined,
74
+ 'parameter-description': ParameterDescription,
75
+ 'operation-singular-tag': OperationSingularTag,
76
+ 'security-defined': SecurityDefined,
77
+ 'no-unresolved-refs': NoUnresolvedRefs,
78
+ 'no-identical-paths': NoIdenticalPaths,
79
+ 'no-ambiguous-paths': NoAmbiguousPaths,
80
+ 'path-http-verbs-order': PathHttpVerbsOrder,
81
+ 'no-http-verbs-in-paths': NoHttpVerbsInPaths,
82
+ 'path-excludes-patterns': PathExcludesPatterns,
83
+ 'request-mime-type': RequestMimeType,
84
+ 'response-mime-type': ResponseMimeType,
85
+ 'path-segment-plural': PathSegmentPlural,
86
+ 'response-contains-header': ResponseContainsHeader,
87
+ 'response-contains-property': ResponseContainsProperty,
88
+ 'scalar-property-missing-example': ScalarPropertyMissingExample,
89
+ 'required-string-property-missing-min-length': RequiredStringPropertyMissingMinLength,
90
+ 'spec-strict-refs': SpecStrictRefs,
91
+ 'no-required-schema-properties-undefined': NoRequiredSchemaPropertiesUndefined,
92
+ 'no-schema-type-mismatch': NoSchemaTypeMismatch,
99
93
  };
100
- exports.preprocessors = {};
94
+ export const preprocessors = {};
95
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/oas2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE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AE,wBAAoC;IAClE,wBAAwB,EAAE,mBAA+B;IACzD,wBAAwB,EAAE,oBAAgC;IAC1D,wBAAwB,EAAE,oBAAgC;IAC1D,UAAU,EAAE,UAAsB;IAClC,8BAA8B,EAAE,iBAA6B;IAC7D,6BAA6B,EAAE,yBAAqC;IACpE,yBAAyB,EAAE,iBAA6B;IACxD,uBAAuB,EAAE,mBAA+B;IACxD,6BAA6B,EAAE,wBAAoC;IACnE,gCAAgC,EAAE,kBAA8B;IAChE,uBAAuB,EAAE,oBAAgC;IACzD,mBAAmB,EAAE,gBAA4B;IACjD,uBAAuB,EAAE,oBAAgC;IACzD,wBAAwB,EAAE,mBAA+B;IACzD,qBAAqB,EAAE,iBAA6B;IACpD,uBAAuB,EAAE,oBAAgC;IACzD,wBAAwB,EAAE,oBAAgC;IAC1D,kBAAkB,EAAE,eAA2B;IAC/C,oBAAoB,EAAE,gBAA4B;IAClD,oBAAoB,EAAE,gBAA4B;IAClD,oBAAoB,EAAE,gBAA4B;IAClD,uBAAuB,EAAE,kBAA8B;IACvD,wBAAwB,EAAE,kBAA8B;IACxD,wBAAwB,EAAE,oBAAgC;IAC1D,mBAAmB,EAAE,eAA2B;IAChD,oBAAoB,EAAE,gBAA4B;IAClD,qBAAqB,EAAE,iBAA6B;IACpD,0BAA0B,EAAE,sBAAkC;IAC9D,4BAA4B,EAAE,wBAAoC;IAClE,iCAAiC,EAAE,4BAAwC;IAC3E,6CAA6C,EAAE,sCAAkD;IACjG,kBAAkB,EAAE,cAA0B;IAC9C,yCAAyC,EAAE,mCAA+C;IAC1F,yBAAyB,EAAE,oBAAgC;CAC5D,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,EAAE,CAAC"}
@@ -1,2 +1,3 @@
1
- import type { Oas2Rule } from '../../visitors';
1
+ import type { Oas2Rule } from '../../visitors.js';
2
2
  export declare const RequestMimeType: Oas2Rule;
3
+ //# sourceMappingURL=request-mime-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-mime-type.d.ts","sourceRoot":"","sources":["../../../src/rules/oas2/request-mime-type.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,eAAO,MAAM,eAAe,EAAE,QAW7B,CAAC"}
@@ -1,17 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RequestMimeType = void 0;
4
- const utils_1 = require("../../utils");
5
- const RequestMimeType = ({ allowedValues }) => {
1
+ import { validateMimeType } from '../../utils.js';
2
+ export const RequestMimeType = ({ allowedValues }) => {
6
3
  return {
7
4
  Root(root, ctx) {
8
- (0, utils_1.validateMimeType)({ type: 'consumes', value: root }, ctx, allowedValues);
5
+ validateMimeType({ type: 'consumes', value: root }, ctx, allowedValues);
9
6
  },
10
7
  Operation: {
11
8
  leave(operation, ctx) {
12
- (0, utils_1.validateMimeType)({ type: 'consumes', value: operation }, ctx, allowedValues);
9
+ validateMimeType({ type: 'consumes', value: operation }, ctx, allowedValues);
13
10
  },
14
11
  },
15
12
  };
16
13
  };
17
- exports.RequestMimeType = RequestMimeType;
14
+ //# sourceMappingURL=request-mime-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-mime-type.js","sourceRoot":"","sources":["../../../src/rules/oas2/request-mime-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,MAAM,CAAC,MAAM,eAAe,GAAa,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE;IAC7D,OAAO;QACL,IAAI,CAAC,IAAI,EAAE,GAAgB;YACzB,gBAAgB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,aAAa,CAAC,CAAC;QAC1E,CAAC;QACD,SAAS,EAAE;YACT,KAAK,CAAC,SAAS,EAAE,GAAgB;gBAC/B,gBAAgB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,GAAG,EAAE,aAAa,CAAC,CAAC;YAC/E,CAAC;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
- import type { Oas2Rule } from '../../visitors';
1
+ import type { Oas2Rule } from '../../visitors.js';
2
2
  export declare const ResponseContainsProperty: Oas2Rule;
3
+ //# sourceMappingURL=response-contains-property.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response-contains-property.d.ts","sourceRoot":"","sources":["../../../src/rules/oas2/response-contains-property.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,eAAO,MAAM,wBAAwB,EAAE,QA+BtC,CAAC"}
@@ -1,8 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseContainsProperty = void 0;
4
- const utils_1 = require("../../utils");
5
- const ResponseContainsProperty = (options) => {
1
+ import { getMatchingStatusCodeRange } from '../../utils.js';
2
+ export const ResponseContainsProperty = (options) => {
6
3
  const names = options.names || {};
7
4
  let key;
8
5
  return {
@@ -18,8 +15,8 @@ const ResponseContainsProperty = (options) => {
18
15
  if (schema.type !== 'object')
19
16
  return;
20
17
  const expectedProperties = names[key] ||
21
- names[(0, utils_1.getMatchingStatusCodeRange)(key)] ||
22
- names[(0, utils_1.getMatchingStatusCodeRange)(key).toLowerCase()] ||
18
+ names[getMatchingStatusCodeRange(key)] ||
19
+ names[getMatchingStatusCodeRange(key).toLowerCase()] ||
23
20
  [];
24
21
  for (const expectedProperty of expectedProperties) {
25
22
  if (!schema.properties?.[expectedProperty]) {
@@ -34,4 +31,4 @@ const ResponseContainsProperty = (options) => {
34
31
  },
35
32
  };
36
33
  };
37
- exports.ResponseContainsProperty = ResponseContainsProperty;
34
+ //# sourceMappingURL=response-contains-property.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response-contains-property.js","sourceR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type { Oas2Rule } from '../../visitors';
1
+ import type { Oas2Rule } from '../../visitors.js';
2
2
  export declare const ResponseMimeType: Oas2Rule;
3
+ //# sourceMappingURL=response-mime-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response-mime-type.d.ts","sourceRoot":"","sources":["../../../src/rules/oas2/response-mime-type.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,eAAO,MAAM,gBAAgB,EAAE,QAW9B,CAAC"}
@@ -1,17 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseMimeType = void 0;
4
- const utils_1 = require("../../utils");
5
- const ResponseMimeType = ({ allowedValues }) => {
1
+ import { validateMimeType } from '../../utils.js';
2
+ export const ResponseMimeType = ({ allowedValues }) => {
6
3
  return {
7
4
  Root(root, ctx) {
8
- (0, utils_1.validateMimeType)({ type: 'produces', value: root }, ctx, allowedValues);
5
+ validateMimeType({ type: 'produces', value: root }, ctx, allowedValues);
9
6
  },
10
7
  Operation: {
11
8
  leave(operation, ctx) {
12
- (0, utils_1.validateMimeType)({ type: 'produces', value: operation }, ctx, allowedValues);
9
+ validateMimeType({ type: 'produces', value: operation }, ctx, allowedValues);
13
10
  },
14
11
  },
15
12
  };
16
13
  };
17
- exports.ResponseMimeType = ResponseMimeType;
14
+ //# sourceMappingURL=response-mime-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response-mime-type.js","sourceRoot":"","sources":["../../../src/rules/oas2/response-mime-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,MAAM,CAAC,MAAM,gBAAgB,GAAa,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE;IAC9D,OAAO;QACL,IAAI,CAAC,IAAI,EAAE,GAAgB;YACzB,gBAAgB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,aAAa,CAAC,CAAC;QAC1E,CAAC;QACD,SAAS,EAAE;YACT,KAAK,CAAC,SAAS,EAAE,GAAgB;gBAC/B,gBAAgB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,GAAG,EAAE,aAAa,CAAC,CAAC;YAC/E,CAAC;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import type { Oas3Rule } from '../../visitors';
1
+ import type { Oas3Rule } from '../../visitors.js';
2
2
  export type ArrayParameterSerializationOptions = {
3
3
  in?: string[];
4
4
  };
5
5
  export declare const ArrayParameterSerialization: Oas3Rule;
6
+ //# sourceMappingURL=array-parameter-serialization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-parameter-serialization.d.ts","sourceRoot":"","sources":["../../../src/rules/oas3/array-parameter-serialization.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAe,MAAM,mBAAmB,CAAC;AAG/D,MAAM,MAAM,kCAAkC,GAAG;IAC/C,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,QAyBzC,CAAC"}
@@ -1,15 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ArrayParameterSerialization = void 0;
4
- const ref_utils_1 = require("../../ref-utils");
5
- const ArrayParameterSerialization = (options) => {
1
+ import { isRef } from '../../ref-utils.js';
2
+ export const ArrayParameterSerialization = (options) => {
6
3
  return {
7
4
  Parameter: {
8
5
  leave(node, ctx) {
9
6
  if (!node.schema) {
10
7
  return;
11
8
  }
12
- const schema = ((0, ref_utils_1.isRef)(node.schema) ? ctx.resolve(node.schema).node : node.schema);
9
+ const schema = (isRef(node.schema) ? ctx.resolve(node.schema).node : node.schema);
13
10
  if (schema &&
14
11
  shouldReportMissingStyleAndExplode(node, schema, options)) {
15
12
  ctx.report({
@@ -21,9 +18,9 @@ const ArrayParameterSerialization = (options) => {
21
18
  },
22
19
  };
23
20
  };
24
- exports.ArrayParameterSerialization = ArrayParameterSerialization;
25
21
  function shouldReportMissingStyleAndExplode(node, schema, options) {
26
22
  return ((schema.type === 'array' || schema.items || schema.prefixItems) &&
27
23
  (node.style === undefined || node.explode === undefined) &&
28
24
  (!options.in || (node.in && options.in?.includes(node.in))));
29
25
  }
26
+ //# sourceMappingURL=array-parameter-serialization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-parameter-serialization.js","sourceRoot":"","sources":["../../../src/rules/oas3/array-parameter-serialization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAS3C,MAAM,CAAC,MAAM,2BAA2B,GAAa,CACnD,OAA2C,EAC9B,EAAE;IACf,OAAO;QACL,SAAS,EAAE;YACT,KAAK,CAAC,IAAI,EAAE,GAAG;gBACb,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;oBACjB,OAAO;gBACT,CAAC;gBACD,MAAM,MAAM,GAAG,CACb,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CACjD,CAAC;gBAElB,IACE,MAAM;oBACN,kCAAkC,CAAC,IAAmC,EAAE,MAAM,EAAE,OAAO,CAAC,EACxF,CAAC;oBACD,GAAG,CAAC,MAAM,CAAC;wBACT,OAAO,EAAE,eAAe,IAAI,CAAC,IAAI,kDAAkD;wBACnF,QAAQ,EAAE,GAAG,CAAC,QAAQ;qBACvB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,kCAAkC,CACzC,IAAiC,EACjC,MAAoB,EACpB,OAA2C;IAE3C,OAAO,CACL,CAAC,MAAM,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,WAAW,CAAC;QAC/D,CAAC,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC;QACxD,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,OAAO,CAAC,EAAE,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAC5D,CAAC;AACJ,CAAC"}
@@ -1,5 +1,6 @@
1
- import type { Oas3Rule } from '../../visitors';
1
+ import type { Oas3Rule } from '../../visitors.js';
2
2
  export type BooleanParameterPrefixesOptions = {
3
3
  prefixes?: string[];
4
4
  };
5
5
  export declare const BooleanParameterPrefixes: Oas3Rule;
6
+ //# sourceMappingURL=boolean-parameter-prefixes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boolean-parameter-prefixes.d.ts","sourceRoot":"","sources":["../../../src/rules/oas3/boolean-parameter-prefixes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,QAqBtC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BooleanParameterPrefixes = void 0;
4
- const BooleanParameterPrefixes = (options) => {
1
+ export const BooleanParameterPrefixes = (options) => {
5
2
  const prefixes = options.prefixes || ['is', 'has'];
6
3
  const regexp = new RegExp(`^(${prefixes.join('|')})[A-Z-_]`);
7
4
  const wrappedPrefixes = prefixes.map((p) => `\`${p}\``);
@@ -21,4 +18,4 @@ const BooleanParameterPrefixes = (options) => {
21
18
  },
22
19
  };
23
20
  };
24
- exports.BooleanParameterPrefixes = BooleanParameterPrefixes;
21
+ //# sourceMappingURL=boolean-parameter-prefixes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boolean-parameter-prefixes.js","sourceRoot":"","sources":["../../../src/rules/oas3/boolean-parameter-prefixes.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,wBAAwB,GAAa,CAAC,OAAwC,EAAE,EAAE;IAC7F,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7D,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,cAAc,GAClB,eAAe,CAAC,MAAM,KAAK,CAAC;QAC1B,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;QACpB,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,eAAe,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE9F,OAAO;QACL,SAAS,EAAE;YACT,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,OAAO;gBACjD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;oBACtE,MAAM,CAAC;wBACL,OAAO,EAAE,uBAAuB,OAAO,CAAC,SAAS,CAAC,IAAI,kBAAkB,cAAc,UAAU;wBAChG,QAAQ,EAAE,eAAe,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;qBACpD,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
- import type { Oas2Rule, Oas3Rule } from '../../visitors';
1
+ import type { Oas2Rule, Oas3Rule } from '../../visitors.js';
2
2
  export declare const ComponentNameUnique: Oas3Rule | Oas2Rule;
3
+ //# sourceMappingURL=component-name-unique.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-name-unique.d.ts","sourceRoot":"","sources":["../../../src/rules/oas3/component-name-unique.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAe,MAAM,mBAAmB,CAAC;AA0BzE,eAAO,MAAM,mBAAmB,EAAE,QAAQ,GAAG,QAwH5C,CAAC"}
@@ -1,6 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentNameUnique = void 0;
4
1
  const TYPE_NAME_SCHEMA = 'Schema';
5
2
  const TYPE_NAME_PARAMETER = 'Parameter';
6
3
  const TYPE_NAME_RESPONSE = 'Response';
@@ -11,7 +8,7 @@ const TYPE_NAME_TO_OPTION_COMPONENT_NAME = {
11
8
  [TYPE_NAME_RESPONSE]: 'responses',
12
9
  [TYPE_NAME_REQUEST_BODY]: 'requestBodies',
13
10
  };
14
- const ComponentNameUnique = (options) => {
11
+ export const ComponentNameUnique = (options) => {
15
12
  const components = new Map();
16
13
  const typeNames = [];
17
14
  if (options.schemas !== 'off') {
@@ -120,7 +117,6 @@ const ComponentNameUnique = (options) => {
120
117
  addFoundComponent(typeName, componentName, location);
121
118
  }
122
119
  };
123
- exports.ComponentNameUnique = ComponentNameUnique;
124
120
  function getOptionComponentNameForTypeName(typeName) {
125
121
  return TYPE_NAME_TO_OPTION_COMPONENT_NAME[typeName] ?? null;
126
122
  }
@@ -131,3 +127,4 @@ function getComponentFromKey(key) {
131
127
  const [typeName, componentName] = key.split('/');
132
128
  return { typeName, componentName };
133
129
  }
130
+ //# sourceMappingURL=component-name-unique.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-name-unique.js","sourceRoot":"","sources":["../../../src/rules/oas3/component-name-unique.ts"],"names":[],"mappings":"AAcA,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,mBAAmB,GAAG,WAAW,CAAC;AACxC,MAAM,kBAAkB,GAAG,UAAU,CAAC;AACtC,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAE7C,MAAM,kCAAkC,GAA8B;IACpE,CAAC,gBAAgB,CAAC,EAAE,SAAS;IAC7B,CAAC,mBAAmB,CAAC,EAAE,YAAY;IACnC,CAAC,kBAAkB,CAAC,EAAE,WAAW;IACjC,CAAC,sBAAsB,CAAC,EAAE,eAAe;CAC1C,CAAC;AAIF,MAAM,CAAC,MAAM,mBAAmB,GAAwB,CAAC,OAAO,EAAE,EAAE;IAClE,MAAM,UAAU,GAAG,IAAI,GAAG,EAA8B,CAAC;IAEzD,MAAM,SAAS,GAAa,EAAE,CAAC;IAC/B,IAAI,OAAO,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;QAC9B,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACnC,CAAC;IACD,IAAI,OAAO,CAAC,UAAU,KAAK,KAAK,EAAE,CAAC;QACjC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACtC,CAAC;IACD,IAAI,OAAO,CAAC,SAAS,KAAK,KAAK,EAAE,CAAC;QAChC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACrC,CAAC;IACD,IAAI,OAAO,CAAC,aAAa,KAAK,KAAK,EAAE,CAAC;QACpC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IACzC,CAAC;IAED,MAAM,IAAI,GAAgB;QACxB,GAAG,EAAE;YACH,KAAK,CAAC,GAAW,EAAE,EAAE,IAAI,EAAE,OAAO,EAAe;gBAC/C,MAAM,QAAQ,GAAG,IAA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;AAEF,SAAS,iCAAiC,CAAC,QAAgB;IACzD,OAAO,kCAAkC,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC;AAC9D,CAAC;AAED,SAAS,kBAAkB,CAAC,QAAgB,EAAE,aAAqB;IACjE,OAAO,GAAG,QAAQ,IAAI,aAAa,EAAE,CAAC;AACxC,CAAC;AAED,SAAS,mBAAmB,CAAC,GAAW;IACtC,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;AACrC,CAAC"}
@@ -1,3 +1,4 @@
1
- import type { Oas3RuleSet } from '../../oas-types';
1
+ import type { Oas3RuleSet } from '../../oas-types.js';
2
2
  export declare const rules: Oas3RuleSet<'built-in'>;
3
3
  export declare const preprocessors: {};
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/oas3/index.ts"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,UAAU,CA2DzC,CAAC;AAEF,eAAO,MAAM,aAAa,IAAK,CAAC"}