@swagger-api/apidom-ns-openapi-3-1 0.68.1

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 (283) hide show
  1. package/CHANGELOG.md +398 -0
  2. package/LICENSES/Apache-2.0.txt +202 -0
  3. package/LICENSES/MIT.txt +9 -0
  4. package/NOTICE +57 -0
  5. package/README.md +468 -0
  6. package/cjs/elements/Callback.cjs +8 -0
  7. package/cjs/elements/Components.cjs +15 -0
  8. package/cjs/elements/Contact.cjs +8 -0
  9. package/cjs/elements/Discriminator.cjs +8 -0
  10. package/cjs/elements/Encoding.cjs +8 -0
  11. package/cjs/elements/Example.cjs +8 -0
  12. package/cjs/elements/ExternalDocumentation.cjs +8 -0
  13. package/cjs/elements/Header.cjs +15 -0
  14. package/cjs/elements/Info.cjs +21 -0
  15. package/cjs/elements/JsonSchemaDialect.cjs +14 -0
  16. package/cjs/elements/License.cjs +15 -0
  17. package/cjs/elements/Link.cjs +8 -0
  18. package/cjs/elements/MediaType.cjs +15 -0
  19. package/cjs/elements/OAuthFlow.cjs +8 -0
  20. package/cjs/elements/OAuthFlows.cjs +8 -0
  21. package/cjs/elements/OpenApi3-1.cjs +75 -0
  22. package/cjs/elements/Openapi.cjs +8 -0
  23. package/cjs/elements/Operation.cjs +15 -0
  24. package/cjs/elements/Parameter.cjs +15 -0
  25. package/cjs/elements/PathItem.cjs +57 -0
  26. package/cjs/elements/Paths.cjs +8 -0
  27. package/cjs/elements/Reference.cjs +26 -0
  28. package/cjs/elements/RequestBody.cjs +8 -0
  29. package/cjs/elements/Response.cjs +8 -0
  30. package/cjs/elements/Responses.cjs +8 -0
  31. package/cjs/elements/Schema.cjs +473 -0
  32. package/cjs/elements/SecurityRequirement.cjs +8 -0
  33. package/cjs/elements/SecurityScheme.cjs +8 -0
  34. package/cjs/elements/Server.cjs +8 -0
  35. package/cjs/elements/ServerVariable.cjs +8 -0
  36. package/cjs/elements/Tag.cjs +8 -0
  37. package/cjs/elements/Xml.cjs +8 -0
  38. package/cjs/elements/nces/ComponentsPathItems.cjs +14 -0
  39. package/cjs/elements/nces/Webhooks.cjs +14 -0
  40. package/cjs/index.cjs +151 -0
  41. package/cjs/media-types.cjs +24 -0
  42. package/cjs/namespace.cjs +80 -0
  43. package/cjs/predicates.cjs +271 -0
  44. package/cjs/refractor/index.cjs +48 -0
  45. package/cjs/refractor/plugins/normalize-header-examples.cjs +77 -0
  46. package/cjs/refractor/plugins/normalize-operation-ids.cjs +140 -0
  47. package/cjs/refractor/plugins/normalize-parameter-examples.cjs +77 -0
  48. package/cjs/refractor/plugins/normalize-parameters.cjs +77 -0
  49. package/cjs/refractor/plugins/normalize-security-requirements.cjs +53 -0
  50. package/cjs/refractor/plugins/normalize-servers.cjs +83 -0
  51. package/cjs/refractor/plugins/replace-empty-element.cjs +672 -0
  52. package/cjs/refractor/predicates.cjs +11 -0
  53. package/cjs/refractor/registration.cjs +102 -0
  54. package/cjs/refractor/specification.cjs +557 -0
  55. package/cjs/refractor/toolbox.cjs +26 -0
  56. package/cjs/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.cjs +21 -0
  57. package/cjs/refractor/visitors/open-api-3-1/WebhooksVisitor.cjs +39 -0
  58. package/cjs/refractor/visitors/open-api-3-1/callback/index.cjs +44 -0
  59. package/cjs/refractor/visitors/open-api-3-1/components/PathItemsVisitor.cjs +32 -0
  60. package/cjs/refractor/visitors/open-api-3-1/components/SchemasVisitor.cjs +18 -0
  61. package/cjs/refractor/visitors/open-api-3-1/components/index.cjs +26 -0
  62. package/cjs/refractor/visitors/open-api-3-1/contact/index.cjs +26 -0
  63. package/cjs/refractor/visitors/open-api-3-1/distriminator/index.cjs +29 -0
  64. package/cjs/refractor/visitors/open-api-3-1/encoding/index.cjs +26 -0
  65. package/cjs/refractor/visitors/open-api-3-1/example/index.cjs +26 -0
  66. package/cjs/refractor/visitors/open-api-3-1/external-documentation/index.cjs +26 -0
  67. package/cjs/refractor/visitors/open-api-3-1/header/index.cjs +26 -0
  68. package/cjs/refractor/visitors/open-api-3-1/index.cjs +30 -0
  69. package/cjs/refractor/visitors/open-api-3-1/info/SummaryVisitor.cjs +8 -0
  70. package/cjs/refractor/visitors/open-api-3-1/info/index.cjs +26 -0
  71. package/cjs/refractor/visitors/open-api-3-1/license/IdentifierVisitor.cjs +8 -0
  72. package/cjs/refractor/visitors/open-api-3-1/license/index.cjs +26 -0
  73. package/cjs/refractor/visitors/open-api-3-1/link/index.cjs +26 -0
  74. package/cjs/refractor/visitors/open-api-3-1/media-type/index.cjs +26 -0
  75. package/cjs/refractor/visitors/open-api-3-1/oauth-flow/index.cjs +26 -0
  76. package/cjs/refractor/visitors/open-api-3-1/oauth-flows/index.cjs +26 -0
  77. package/cjs/refractor/visitors/open-api-3-1/operation/index.cjs +26 -0
  78. package/cjs/refractor/visitors/open-api-3-1/parameter/index.cjs +26 -0
  79. package/cjs/refractor/visitors/open-api-3-1/path-item/index.cjs +26 -0
  80. package/cjs/refractor/visitors/open-api-3-1/paths/index.cjs +26 -0
  81. package/cjs/refractor/visitors/open-api-3-1/reference/DescriptionVisitor.cjs +8 -0
  82. package/cjs/refractor/visitors/open-api-3-1/reference/SummaryVisitor.cjs +8 -0
  83. package/cjs/refractor/visitors/open-api-3-1/reference/index.cjs +26 -0
  84. package/cjs/refractor/visitors/open-api-3-1/request-body/index.cjs +26 -0
  85. package/cjs/refractor/visitors/open-api-3-1/response/index.cjs +26 -0
  86. package/cjs/refractor/visitors/open-api-3-1/responses/index.cjs +26 -0
  87. package/cjs/refractor/visitors/open-api-3-1/schema/$anchorVisitor.cjs +8 -0
  88. package/cjs/refractor/visitors/open-api-3-1/schema/$commentVisitor.cjs +8 -0
  89. package/cjs/refractor/visitors/open-api-3-1/schema/$defsVisitor.cjs +21 -0
  90. package/cjs/refractor/visitors/open-api-3-1/schema/$dynamicAnchorVisitor.cjs +8 -0
  91. package/cjs/refractor/visitors/open-api-3-1/schema/$dynamicRefVisitor.cjs +8 -0
  92. package/cjs/refractor/visitors/open-api-3-1/schema/$idVisitor.cjs +8 -0
  93. package/cjs/refractor/visitors/open-api-3-1/schema/$refVisitor.cjs +19 -0
  94. package/cjs/refractor/visitors/open-api-3-1/schema/$schemaVisitor.cjs +8 -0
  95. package/cjs/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.cjs +19 -0
  96. package/cjs/refractor/visitors/open-api-3-1/schema/AllOfVisitor.cjs +32 -0
  97. package/cjs/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.cjs +32 -0
  98. package/cjs/refractor/visitors/open-api-3-1/schema/ConstVisitor.cjs +8 -0
  99. package/cjs/refractor/visitors/open-api-3-1/schema/ContentEncodingVisitor.cjs +8 -0
  100. package/cjs/refractor/visitors/open-api-3-1/schema/ContentMediaTypeVisitor.cjs +8 -0
  101. package/cjs/refractor/visitors/open-api-3-1/schema/DefaultVisitor.cjs +8 -0
  102. package/cjs/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.cjs +19 -0
  103. package/cjs/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.cjs +21 -0
  104. package/cjs/refractor/visitors/open-api-3-1/schema/DeprecatedVisitor.cjs +8 -0
  105. package/cjs/refractor/visitors/open-api-3-1/schema/DescriptionVisitor.cjs +8 -0
  106. package/cjs/refractor/visitors/open-api-3-1/schema/EnumVisitor.cjs +19 -0
  107. package/cjs/refractor/visitors/open-api-3-1/schema/ExampleVisitor.cjs +8 -0
  108. package/cjs/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.cjs +19 -0
  109. package/cjs/refractor/visitors/open-api-3-1/schema/ExclusiveMaximumVisitor.cjs +8 -0
  110. package/cjs/refractor/visitors/open-api-3-1/schema/ExclusiveMinimumVisitor.cjs +8 -0
  111. package/cjs/refractor/visitors/open-api-3-1/schema/FormatVisitor.cjs +8 -0
  112. package/cjs/refractor/visitors/open-api-3-1/schema/MaxContainsVisitor.cjs +8 -0
  113. package/cjs/refractor/visitors/open-api-3-1/schema/MaxItemsVisitor.cjs +8 -0
  114. package/cjs/refractor/visitors/open-api-3-1/schema/MaxLengthVisitor.cjs +8 -0
  115. package/cjs/refractor/visitors/open-api-3-1/schema/MaxPropertiesVisitor.cjs +8 -0
  116. package/cjs/refractor/visitors/open-api-3-1/schema/MaximumVisitor.cjs +8 -0
  117. package/cjs/refractor/visitors/open-api-3-1/schema/MinContainsVisitor.cjs +8 -0
  118. package/cjs/refractor/visitors/open-api-3-1/schema/MinItemsVisitor.cjs +8 -0
  119. package/cjs/refractor/visitors/open-api-3-1/schema/MinLengthVisitor.cjs +8 -0
  120. package/cjs/refractor/visitors/open-api-3-1/schema/MinPropertiesVisitor.cjs +8 -0
  121. package/cjs/refractor/visitors/open-api-3-1/schema/MinimumVisitor.cjs +8 -0
  122. package/cjs/refractor/visitors/open-api-3-1/schema/MultipleOfVisitor.cjs +8 -0
  123. package/cjs/refractor/visitors/open-api-3-1/schema/OneOfVisitor.cjs +32 -0
  124. package/cjs/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.cjs +20 -0
  125. package/cjs/refractor/visitors/open-api-3-1/schema/PatternProperties.cjs +21 -0
  126. package/cjs/refractor/visitors/open-api-3-1/schema/PatternVisitor.cjs +8 -0
  127. package/cjs/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.cjs +32 -0
  128. package/cjs/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.cjs +22 -0
  129. package/cjs/refractor/visitors/open-api-3-1/schema/ReadOnlyVisitor.cjs +8 -0
  130. package/cjs/refractor/visitors/open-api-3-1/schema/RequiredVisitor.cjs +19 -0
  131. package/cjs/refractor/visitors/open-api-3-1/schema/TitleVisitor.cjs +8 -0
  132. package/cjs/refractor/visitors/open-api-3-1/schema/TypeVisitor.cjs +24 -0
  133. package/cjs/refractor/visitors/open-api-3-1/schema/UniqueItemsVisitor.cjs +8 -0
  134. package/cjs/refractor/visitors/open-api-3-1/schema/WriteOnlyVisitor.cjs +8 -0
  135. package/cjs/refractor/visitors/open-api-3-1/schema/index.cjs +100 -0
  136. package/cjs/refractor/visitors/open-api-3-1/security-requirement/index.cjs +26 -0
  137. package/cjs/refractor/visitors/open-api-3-1/security-scheme/index.cjs +26 -0
  138. package/cjs/refractor/visitors/open-api-3-1/server/index.cjs +26 -0
  139. package/cjs/refractor/visitors/open-api-3-1/server-variable/index.cjs +26 -0
  140. package/cjs/refractor/visitors/open-api-3-1/tag/index.cjs +26 -0
  141. package/cjs/refractor/visitors/open-api-3-1/xml/index.cjs +26 -0
  142. package/cjs/traversal/visitor.cjs +55 -0
  143. package/dist/apidom-ns-openapi-3-1.browser.js +46188 -0
  144. package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -0
  145. package/es/elements/Callback.js +3 -0
  146. package/es/elements/Components.js +10 -0
  147. package/es/elements/Contact.js +3 -0
  148. package/es/elements/Discriminator.js +3 -0
  149. package/es/elements/Encoding.js +3 -0
  150. package/es/elements/Example.js +3 -0
  151. package/es/elements/ExternalDocumentation.js +3 -0
  152. package/es/elements/Header.js +10 -0
  153. package/es/elements/Info.js +16 -0
  154. package/es/elements/JsonSchemaDialect.js +10 -0
  155. package/es/elements/License.js +10 -0
  156. package/es/elements/Link.js +3 -0
  157. package/es/elements/MediaType.js +10 -0
  158. package/es/elements/OAuthFlow.js +3 -0
  159. package/es/elements/OAuthFlows.js +3 -0
  160. package/es/elements/OpenApi3-1.js +70 -0
  161. package/es/elements/Openapi.js +3 -0
  162. package/es/elements/Operation.js +10 -0
  163. package/es/elements/Parameter.js +10 -0
  164. package/es/elements/PathItem.js +52 -0
  165. package/es/elements/Paths.js +3 -0
  166. package/es/elements/Reference.js +21 -0
  167. package/es/elements/RequestBody.js +3 -0
  168. package/es/elements/Response.js +3 -0
  169. package/es/elements/Responses.js +3 -0
  170. package/es/elements/Schema.js +468 -0
  171. package/es/elements/SecurityRequirement.js +3 -0
  172. package/es/elements/SecurityScheme.js +3 -0
  173. package/es/elements/Server.js +3 -0
  174. package/es/elements/ServerVariable.js +3 -0
  175. package/es/elements/Tag.js +3 -0
  176. package/es/elements/Xml.js +3 -0
  177. package/es/elements/nces/ComponentsPathItems.js +10 -0
  178. package/es/elements/nces/Webhooks.js +10 -0
  179. package/es/index.js +19 -0
  180. package/es/media-types.js +18 -0
  181. package/es/namespace.js +73 -0
  182. package/es/predicates.js +237 -0
  183. package/es/refractor/index.js +43 -0
  184. package/es/refractor/plugins/normalize-header-examples.js +73 -0
  185. package/es/refractor/plugins/normalize-operation-ids.js +136 -0
  186. package/es/refractor/plugins/normalize-parameter-examples.js +73 -0
  187. package/es/refractor/plugins/normalize-parameters.js +73 -0
  188. package/es/refractor/plugins/normalize-security-requirements.js +49 -0
  189. package/es/refractor/plugins/normalize-servers.js +79 -0
  190. package/es/refractor/plugins/replace-empty-element.js +664 -0
  191. package/es/refractor/predicates.js +7 -0
  192. package/es/refractor/registration.js +66 -0
  193. package/es/refractor/specification.js +551 -0
  194. package/es/refractor/toolbox.js +20 -0
  195. package/es/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.js +15 -0
  196. package/es/refractor/visitors/open-api-3-1/WebhooksVisitor.js +33 -0
  197. package/es/refractor/visitors/open-api-3-1/callback/index.js +38 -0
  198. package/es/refractor/visitors/open-api-3-1/components/PathItemsVisitor.js +26 -0
  199. package/es/refractor/visitors/open-api-3-1/components/SchemasVisitor.js +12 -0
  200. package/es/refractor/visitors/open-api-3-1/components/index.js +20 -0
  201. package/es/refractor/visitors/open-api-3-1/contact/index.js +20 -0
  202. package/es/refractor/visitors/open-api-3-1/distriminator/index.js +23 -0
  203. package/es/refractor/visitors/open-api-3-1/encoding/index.js +20 -0
  204. package/es/refractor/visitors/open-api-3-1/example/index.js +20 -0
  205. package/es/refractor/visitors/open-api-3-1/external-documentation/index.js +20 -0
  206. package/es/refractor/visitors/open-api-3-1/header/index.js +20 -0
  207. package/es/refractor/visitors/open-api-3-1/index.js +23 -0
  208. package/es/refractor/visitors/open-api-3-1/info/SummaryVisitor.js +3 -0
  209. package/es/refractor/visitors/open-api-3-1/info/index.js +20 -0
  210. package/es/refractor/visitors/open-api-3-1/license/IdentifierVisitor.js +3 -0
  211. package/es/refractor/visitors/open-api-3-1/license/index.js +20 -0
  212. package/es/refractor/visitors/open-api-3-1/link/index.js +20 -0
  213. package/es/refractor/visitors/open-api-3-1/media-type/index.js +20 -0
  214. package/es/refractor/visitors/open-api-3-1/oauth-flow/index.js +20 -0
  215. package/es/refractor/visitors/open-api-3-1/oauth-flows/index.js +20 -0
  216. package/es/refractor/visitors/open-api-3-1/operation/index.js +20 -0
  217. package/es/refractor/visitors/open-api-3-1/parameter/index.js +20 -0
  218. package/es/refractor/visitors/open-api-3-1/path-item/index.js +20 -0
  219. package/es/refractor/visitors/open-api-3-1/paths/index.js +20 -0
  220. package/es/refractor/visitors/open-api-3-1/reference/DescriptionVisitor.js +3 -0
  221. package/es/refractor/visitors/open-api-3-1/reference/SummaryVisitor.js +3 -0
  222. package/es/refractor/visitors/open-api-3-1/reference/index.js +20 -0
  223. package/es/refractor/visitors/open-api-3-1/request-body/index.js +20 -0
  224. package/es/refractor/visitors/open-api-3-1/response/index.js +20 -0
  225. package/es/refractor/visitors/open-api-3-1/responses/index.js +20 -0
  226. package/es/refractor/visitors/open-api-3-1/schema/$anchorVisitor.js +3 -0
  227. package/es/refractor/visitors/open-api-3-1/schema/$commentVisitor.js +3 -0
  228. package/es/refractor/visitors/open-api-3-1/schema/$defsVisitor.js +15 -0
  229. package/es/refractor/visitors/open-api-3-1/schema/$dynamicAnchorVisitor.js +3 -0
  230. package/es/refractor/visitors/open-api-3-1/schema/$dynamicRefVisitor.js +3 -0
  231. package/es/refractor/visitors/open-api-3-1/schema/$idVisitor.js +3 -0
  232. package/es/refractor/visitors/open-api-3-1/schema/$refVisitor.js +13 -0
  233. package/es/refractor/visitors/open-api-3-1/schema/$schemaVisitor.js +3 -0
  234. package/es/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.js +13 -0
  235. package/es/refractor/visitors/open-api-3-1/schema/AllOfVisitor.js +26 -0
  236. package/es/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.js +26 -0
  237. package/es/refractor/visitors/open-api-3-1/schema/ConstVisitor.js +3 -0
  238. package/es/refractor/visitors/open-api-3-1/schema/ContentEncodingVisitor.js +3 -0
  239. package/es/refractor/visitors/open-api-3-1/schema/ContentMediaTypeVisitor.js +3 -0
  240. package/es/refractor/visitors/open-api-3-1/schema/DefaultVisitor.js +3 -0
  241. package/es/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.js +13 -0
  242. package/es/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.js +15 -0
  243. package/es/refractor/visitors/open-api-3-1/schema/DeprecatedVisitor.js +3 -0
  244. package/es/refractor/visitors/open-api-3-1/schema/DescriptionVisitor.js +3 -0
  245. package/es/refractor/visitors/open-api-3-1/schema/EnumVisitor.js +13 -0
  246. package/es/refractor/visitors/open-api-3-1/schema/ExampleVisitor.js +3 -0
  247. package/es/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.js +13 -0
  248. package/es/refractor/visitors/open-api-3-1/schema/ExclusiveMaximumVisitor.js +3 -0
  249. package/es/refractor/visitors/open-api-3-1/schema/ExclusiveMinimumVisitor.js +3 -0
  250. package/es/refractor/visitors/open-api-3-1/schema/FormatVisitor.js +3 -0
  251. package/es/refractor/visitors/open-api-3-1/schema/MaxContainsVisitor.js +3 -0
  252. package/es/refractor/visitors/open-api-3-1/schema/MaxItemsVisitor.js +3 -0
  253. package/es/refractor/visitors/open-api-3-1/schema/MaxLengthVisitor.js +3 -0
  254. package/es/refractor/visitors/open-api-3-1/schema/MaxPropertiesVisitor.js +3 -0
  255. package/es/refractor/visitors/open-api-3-1/schema/MaximumVisitor.js +3 -0
  256. package/es/refractor/visitors/open-api-3-1/schema/MinContainsVisitor.js +3 -0
  257. package/es/refractor/visitors/open-api-3-1/schema/MinItemsVisitor.js +3 -0
  258. package/es/refractor/visitors/open-api-3-1/schema/MinLengthVisitor.js +3 -0
  259. package/es/refractor/visitors/open-api-3-1/schema/MinPropertiesVisitor.js +3 -0
  260. package/es/refractor/visitors/open-api-3-1/schema/MinimumVisitor.js +3 -0
  261. package/es/refractor/visitors/open-api-3-1/schema/MultipleOfVisitor.js +3 -0
  262. package/es/refractor/visitors/open-api-3-1/schema/OneOfVisitor.js +26 -0
  263. package/es/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.js +14 -0
  264. package/es/refractor/visitors/open-api-3-1/schema/PatternProperties.js +15 -0
  265. package/es/refractor/visitors/open-api-3-1/schema/PatternVisitor.js +3 -0
  266. package/es/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.js +26 -0
  267. package/es/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.js +16 -0
  268. package/es/refractor/visitors/open-api-3-1/schema/ReadOnlyVisitor.js +3 -0
  269. package/es/refractor/visitors/open-api-3-1/schema/RequiredVisitor.js +13 -0
  270. package/es/refractor/visitors/open-api-3-1/schema/TitleVisitor.js +3 -0
  271. package/es/refractor/visitors/open-api-3-1/schema/TypeVisitor.js +18 -0
  272. package/es/refractor/visitors/open-api-3-1/schema/UniqueItemsVisitor.js +3 -0
  273. package/es/refractor/visitors/open-api-3-1/schema/WriteOnlyVisitor.js +3 -0
  274. package/es/refractor/visitors/open-api-3-1/schema/index.js +94 -0
  275. package/es/refractor/visitors/open-api-3-1/security-requirement/index.js +20 -0
  276. package/es/refractor/visitors/open-api-3-1/security-scheme/index.js +20 -0
  277. package/es/refractor/visitors/open-api-3-1/server/index.js +20 -0
  278. package/es/refractor/visitors/open-api-3-1/server-variable/index.js +20 -0
  279. package/es/refractor/visitors/open-api-3-1/tag/index.js +20 -0
  280. package/es/refractor/visitors/open-api-3-1/xml/index.js +20 -0
  281. package/es/traversal/visitor.js +53 -0
  282. package/package.json +66 -0
  283. package/types/dist.d.ts +701 -0
@@ -0,0 +1,473 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomCore = require("@swagger-api/apidom-core");
6
+ class Schema extends _apidomCore.ObjectElement {
7
+ constructor(content, meta, attributes) {
8
+ super(content, meta, attributes);
9
+ this.element = 'schema';
10
+ }
11
+
12
+ /**
13
+ * Core vocabulary
14
+ *
15
+ * URI: https://json-schema.org/draft/2020-12/vocab/core
16
+ */
17
+
18
+ get $schema() {
19
+ return this.get('$schema');
20
+ }
21
+ set $schema($schema) {
22
+ this.set('$schema', $schema);
23
+ }
24
+ get $vocabulary() {
25
+ return this.get('$vocabulary');
26
+ }
27
+ set $vocabulary($vocabulary) {
28
+ this.set('$vocabulary', $vocabulary);
29
+ }
30
+ get $id() {
31
+ return this.get('$id');
32
+ }
33
+ set $id($id) {
34
+ this.set('$id', $id);
35
+ }
36
+ get $anchor() {
37
+ return this.get('$anchor');
38
+ }
39
+ set $anchor($anchor) {
40
+ this.set('$anchor', $anchor);
41
+ }
42
+ get $dynamicAnchor() {
43
+ return this.get('$dynamicAnchor');
44
+ }
45
+ set $dynamicAnchor($dynamicAnchor) {
46
+ this.set('$dynamicAnchor', $dynamicAnchor);
47
+ }
48
+ get $dynamicRef() {
49
+ return this.get('$dynamicRef');
50
+ }
51
+ set $dynamicRef($dynamicRef) {
52
+ this.set('$dynamicRef', $dynamicRef);
53
+ }
54
+ get $ref() {
55
+ return this.get('$ref');
56
+ }
57
+ set $ref($ref) {
58
+ this.set('$ref', $ref);
59
+ }
60
+ get $defs() {
61
+ return this.get('$defs');
62
+ }
63
+ set $defs($defs) {
64
+ this.set('$defs', $defs);
65
+ }
66
+ get $comment() {
67
+ return this.get('$comment');
68
+ }
69
+ set $comment($comment) {
70
+ this.set('$comment', $comment);
71
+ }
72
+
73
+ /**
74
+ * Applicator vocabulary
75
+ *
76
+ * URI: https://json-schema.org/draft/2020-12/vocab/applicator
77
+ */
78
+
79
+ get allOf() {
80
+ return this.get('allOf');
81
+ }
82
+ set allOf(allOf) {
83
+ this.set('allOf', allOf);
84
+ }
85
+ get anyOf() {
86
+ return this.get('anyOf');
87
+ }
88
+ set anyOf(anyOf) {
89
+ this.set('anyOf', anyOf);
90
+ }
91
+ get oneOf() {
92
+ return this.get('oneOf');
93
+ }
94
+ set oneOf(oneOf) {
95
+ this.set('oneOf', oneOf);
96
+ }
97
+ get not() {
98
+ return this.get('not');
99
+ }
100
+ set not(not) {
101
+ this.set('not', not);
102
+ }
103
+ get if() {
104
+ return this.get('if');
105
+ }
106
+ set if(ifSchema) {
107
+ this.set('if', ifSchema);
108
+ }
109
+ get then() {
110
+ return this.get('then');
111
+ }
112
+ set then(thenSchema) {
113
+ this.set('then', thenSchema);
114
+ }
115
+ get else() {
116
+ return this.get('else');
117
+ }
118
+ set else(elseSchema) {
119
+ this.set('else', elseSchema);
120
+ }
121
+ get dependentSchemas() {
122
+ return this.get('dependentSchemas');
123
+ }
124
+ set dependentSchemas(dependentSchemas) {
125
+ this.set('dependentSchemas', dependentSchemas);
126
+ }
127
+ get prefixItems() {
128
+ return this.get('prefixItems');
129
+ }
130
+ set prefixItems(prefixItems) {
131
+ this.set('prefixItems', prefixItems);
132
+ }
133
+ get items() {
134
+ return this.get('items');
135
+ }
136
+ set items(items) {
137
+ this.set('items', items);
138
+ }
139
+ get containsProp() {
140
+ return this.get('contains');
141
+ }
142
+ set containsProp(containsProp) {
143
+ this.set('contains', containsProp);
144
+ }
145
+ get properties() {
146
+ return this.get('properties');
147
+ }
148
+ set properties(properties) {
149
+ this.set('properties', properties);
150
+ }
151
+ get patternProperties() {
152
+ return this.get('patternProperties');
153
+ }
154
+ set patternProperties(patternProperties) {
155
+ this.set('patternProperties', patternProperties);
156
+ }
157
+ get additionalProperties() {
158
+ return this.get('additionalProperties');
159
+ }
160
+ set additionalProperties(additionalProperties) {
161
+ this.set('additionalProperties', additionalProperties);
162
+ }
163
+ get propertyNames() {
164
+ return this.get('propertyNames');
165
+ }
166
+ set propertyNames(propertyNames) {
167
+ this.set('propertyNames', propertyNames);
168
+ }
169
+
170
+ /**
171
+ * Unevaluated Locations vocabulary
172
+ *
173
+ * URI: https://json-schema.org/draft/2020-12/vocab/unevaluated
174
+ */
175
+
176
+ get unevaluatedItems() {
177
+ return this.get('unevaluatedItems');
178
+ }
179
+ set unevaluatedItems(unevaluatedItems) {
180
+ this.set('unevaluatedItems', unevaluatedItems);
181
+ }
182
+ get unevaluatedProperties() {
183
+ return this.get('unevaluatedProperties');
184
+ }
185
+ set unevaluatedProperties(unevaluatedProperties) {
186
+ this.set('unevaluatedProperties', unevaluatedProperties);
187
+ }
188
+
189
+ /**
190
+ * Validation vocabulary
191
+ *
192
+ * URI: https://json-schema.org/draft/2020-12/vocab/validation
193
+ */
194
+
195
+ /**
196
+ * Validation Keywords for Any Instance Type
197
+ *
198
+ * URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.1
199
+ */
200
+
201
+ get type() {
202
+ return this.get('type');
203
+ }
204
+ set type(type) {
205
+ this.set('type', type);
206
+ }
207
+ get enum() {
208
+ return this.get('enum');
209
+ }
210
+ set enum(enumVal) {
211
+ this.set('enum', enumVal);
212
+ }
213
+ get const() {
214
+ return this.get('const');
215
+ }
216
+ set const(constVal) {
217
+ this.set('const', constVal);
218
+ }
219
+
220
+ /**
221
+ * Validation Keywords for Numeric Instances (number and integer)
222
+ *
223
+ * URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#numeric
224
+ */
225
+
226
+ get multipleOf() {
227
+ return this.get('multipleOf');
228
+ }
229
+ set multipleOf(multipleOf) {
230
+ this.set('multipleOf', multipleOf);
231
+ }
232
+ get maximum() {
233
+ return this.get('maximum');
234
+ }
235
+ set maximum(maximum) {
236
+ this.set('maximum', maximum);
237
+ }
238
+ get exclusiveMaximum() {
239
+ return this.get('exclusiveMaximum');
240
+ }
241
+ set exclusiveMaximum(exclusiveMaximum) {
242
+ this.set('exclusiveMaximum', exclusiveMaximum);
243
+ }
244
+ get minimum() {
245
+ return this.get('minimum');
246
+ }
247
+ set minimum(minimum) {
248
+ this.set('minimum', minimum);
249
+ }
250
+ get exclusiveMinimum() {
251
+ return this.get('exclusiveMinimum');
252
+ }
253
+ set exclusiveMinimum(exclusiveMinimum) {
254
+ this.set('exclusiveMinimum', exclusiveMinimum);
255
+ }
256
+
257
+ /**
258
+ * Validation Keywords for Strings
259
+ *
260
+ * URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#string
261
+ */
262
+
263
+ get maxLength() {
264
+ return this.get('maxLength');
265
+ }
266
+ set maxLength(maxLength) {
267
+ this.set('maxLength', maxLength);
268
+ }
269
+ get minLength() {
270
+ return this.get('minLength');
271
+ }
272
+ set minLength(minLength) {
273
+ this.set('minLength', minLength);
274
+ }
275
+ get pattern() {
276
+ return this.get('pattern');
277
+ }
278
+ set pattern(pattern) {
279
+ this.set('pattern', pattern);
280
+ }
281
+
282
+ /**
283
+ * Validation Keywords for Arrays
284
+ *
285
+ * URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.4
286
+ */
287
+
288
+ get maxItems() {
289
+ return this.get('maxItems');
290
+ }
291
+ set maxItems(maxItems) {
292
+ this.set('maxItems', maxItems);
293
+ }
294
+ get minItems() {
295
+ return this.get('minItems');
296
+ }
297
+ set minItems(minItems) {
298
+ this.set('minItems', minItems);
299
+ }
300
+ get uniqueItems() {
301
+ return this.get('uniqueItems');
302
+ }
303
+ set uniqueItems(uniqueItems) {
304
+ this.set('uniqueItems', uniqueItems);
305
+ }
306
+ get maxContains() {
307
+ return this.get('maxContains');
308
+ }
309
+ set maxContains(maxContains) {
310
+ this.set('maxContains', maxContains);
311
+ }
312
+ get minContains() {
313
+ return this.get('minContains');
314
+ }
315
+ set minContains(minContains) {
316
+ this.set('minContains', minContains);
317
+ }
318
+
319
+ /**
320
+ * Validation Keywords for Objects
321
+ *
322
+ * URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.5
323
+ */
324
+
325
+ get maxProperties() {
326
+ return this.get('maxProperties');
327
+ }
328
+ set maxProperties(maxProperties) {
329
+ this.set('maxProperties', maxProperties);
330
+ }
331
+ get minProperties() {
332
+ return this.get('minProperties');
333
+ }
334
+ set minProperties(minProperties) {
335
+ this.set('minProperties', minProperties);
336
+ }
337
+ get required() {
338
+ return this.get('required');
339
+ }
340
+ set required(required) {
341
+ this.set('required', required);
342
+ }
343
+ get dependentRequired() {
344
+ return this.get('dependentRequired');
345
+ }
346
+ set dependentRequired(dependentRequired) {
347
+ this.set('dependentRequired', dependentRequired);
348
+ }
349
+
350
+ /**
351
+ * Vocabulary for Basic Meta-Data Annotations
352
+ *
353
+ * URI: https://json-schema.org/draft/2020-12/vocab/meta-data
354
+ */
355
+
356
+ get title() {
357
+ return this.get('title');
358
+ }
359
+ set title(title) {
360
+ this.set('title', title);
361
+ }
362
+ get description() {
363
+ return this.get('description');
364
+ }
365
+ set description(description) {
366
+ this.set('description', description);
367
+ }
368
+ get default() {
369
+ return this.get('default');
370
+ }
371
+ set default(defaultVal) {
372
+ this.set('default', defaultVal);
373
+ }
374
+ get deprecated() {
375
+ return this.get('deprecated');
376
+ }
377
+ set deprecated(deprecated) {
378
+ this.set('deprecated', deprecated);
379
+ }
380
+ get readOnly() {
381
+ return this.get('readOnly');
382
+ }
383
+ set readOnly(readOnly) {
384
+ this.set('readOnly', readOnly);
385
+ }
386
+ get writeOnly() {
387
+ return this.get('writeOnly');
388
+ }
389
+ set writeOnly(writeOnly) {
390
+ this.set('writeOnly', writeOnly);
391
+ }
392
+ get examples() {
393
+ return this.get('examples');
394
+ }
395
+ set examples(examples) {
396
+ this.set('examples', examples);
397
+ }
398
+
399
+ /**
400
+ * Vocabularies for Semantic Content With "format"
401
+ *
402
+ * URI: https://json-schema.org/draft/2020-12/vocab/format-annotation
403
+ */
404
+
405
+ get format() {
406
+ return this.get('format');
407
+ }
408
+ set format(format) {
409
+ this.set('format', format);
410
+ }
411
+
412
+ /**
413
+ * Vocabulary for the Contents of String-Encoded Data
414
+ *
415
+ * URI: https://json-schema.org/draft/2020-12/vocab/content
416
+ */
417
+
418
+ get contentEncoding() {
419
+ return this.get('contentEncoding');
420
+ }
421
+ set contentEncoding(contentEncoding) {
422
+ this.set('contentEncoding', contentEncoding);
423
+ }
424
+ get contentMediaType() {
425
+ return this.get('contentMediaType');
426
+ }
427
+ set contentMediaType(contentMediaType) {
428
+ this.set('contentMediaType', contentMediaType);
429
+ }
430
+ get contentSchema() {
431
+ return this.get('contentSchema');
432
+ }
433
+ set contentSchema(contentSchema) {
434
+ this.set('contentSchema', contentSchema);
435
+ }
436
+
437
+ /**
438
+ * OAS base vocabulary
439
+ *
440
+ * URI: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#baseVocabulary
441
+ */
442
+
443
+ get discriminator() {
444
+ return this.get('discriminator');
445
+ }
446
+ set discriminator(discriminator) {
447
+ this.set('discriminator', discriminator);
448
+ }
449
+ get xml() {
450
+ return this.get('xml');
451
+ }
452
+ set xml(xml) {
453
+ this.set('xml', xml);
454
+ }
455
+ get externalDocs() {
456
+ return this.get('externalDocs');
457
+ }
458
+ set externalDocs(externalDocs) {
459
+ this.set('externalDocs', externalDocs);
460
+ }
461
+
462
+ /**
463
+ * @deprecated The example property has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.
464
+ */
465
+ get example() {
466
+ return this.get('example');
467
+ }
468
+ set example(example) {
469
+ this.set('example', example);
470
+ }
471
+ }
472
+ var _default = Schema;
473
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6
+ class SecurityRequirement extends _apidomNsOpenapi.SecurityRequirementElement {}
7
+ var _default = SecurityRequirement;
8
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6
+ class SecurityScheme extends _apidomNsOpenapi.SecuritySchemeElement {}
7
+ var _default = SecurityScheme;
8
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6
+ class Server extends _apidomNsOpenapi.ServerElement {}
7
+ var _default = Server;
8
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6
+ class ServerVariable extends _apidomNsOpenapi.ServerVariableElement {}
7
+ var _default = ServerVariable;
8
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6
+ class Tag extends _apidomNsOpenapi.TagElement {}
7
+ var _default = Tag;
8
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6
+ class Xml extends _apidomNsOpenapi.XmlElement {}
7
+ var _default = Xml;
8
+ exports.default = _default;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomCore = require("@swagger-api/apidom-core");
6
+ class ComponentsPathItems extends _apidomCore.ObjectElement {
7
+ static primaryClass = 'components-path-items';
8
+ constructor(content, meta, attributes) {
9
+ super(content, meta, attributes);
10
+ this.classes.push(ComponentsPathItems.primaryClass);
11
+ }
12
+ }
13
+ var _default = ComponentsPathItems;
14
+ exports.default = _default;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _apidomCore = require("@swagger-api/apidom-core");
6
+ class Webhooks extends _apidomCore.ObjectElement {
7
+ static primaryClass = 'webhooks';
8
+ constructor(content, meta, attributes) {
9
+ super(content, meta, attributes);
10
+ this.classes.push(Webhooks.primaryClass);
11
+ }
12
+ }
13
+ var _default = Webhooks;
14
+ exports.default = _default;