@speclynx/apidom-ns-openapi-3-0 1.12.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 (356) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/LICENSE +202 -0
  3. package/LICENSES/AFL-3.0.txt +182 -0
  4. package/LICENSES/Apache-2.0.txt +202 -0
  5. package/LICENSES/BSD-3-Clause.txt +26 -0
  6. package/LICENSES/MIT.txt +9 -0
  7. package/NOTICE +65 -0
  8. package/README.md +221 -0
  9. package/dist/apidom-ns-openapi-3-0.browser.js +25840 -0
  10. package/dist/apidom-ns-openapi-3-0.browser.min.js +1 -0
  11. package/package.json +65 -0
  12. package/src/elements/Callback.cjs +15 -0
  13. package/src/elements/Callback.mjs +12 -0
  14. package/src/elements/Components.cjs +69 -0
  15. package/src/elements/Components.mjs +66 -0
  16. package/src/elements/Contact.cjs +33 -0
  17. package/src/elements/Contact.mjs +30 -0
  18. package/src/elements/Discriminator.cjs +27 -0
  19. package/src/elements/Discriminator.mjs +24 -0
  20. package/src/elements/Encoding.cjs +45 -0
  21. package/src/elements/Encoding.mjs +42 -0
  22. package/src/elements/Example.cjs +39 -0
  23. package/src/elements/Example.mjs +36 -0
  24. package/src/elements/ExternalDocumentation.cjs +27 -0
  25. package/src/elements/ExternalDocumentation.mjs +24 -0
  26. package/src/elements/Header.cjs +90 -0
  27. package/src/elements/Header.mjs +86 -0
  28. package/src/elements/Info.cjs +52 -0
  29. package/src/elements/Info.mjs +48 -0
  30. package/src/elements/License.cjs +27 -0
  31. package/src/elements/License.mjs +24 -0
  32. package/src/elements/Link.cjs +63 -0
  33. package/src/elements/Link.mjs +59 -0
  34. package/src/elements/MediaType.cjs +39 -0
  35. package/src/elements/MediaType.mjs +35 -0
  36. package/src/elements/OAuthFlow.cjs +39 -0
  37. package/src/elements/OAuthFlow.mjs +36 -0
  38. package/src/elements/OAuthFlows.cjs +39 -0
  39. package/src/elements/OAuthFlows.mjs +35 -0
  40. package/src/elements/OpenApi3-0.cjs +65 -0
  41. package/src/elements/OpenApi3-0.mjs +61 -0
  42. package/src/elements/Openapi.cjs +17 -0
  43. package/src/elements/Openapi.mjs +14 -0
  44. package/src/elements/Operation.cjs +90 -0
  45. package/src/elements/Operation.mjs +86 -0
  46. package/src/elements/Parameter.cjs +102 -0
  47. package/src/elements/Parameter.mjs +98 -0
  48. package/src/elements/PathItem.cjs +93 -0
  49. package/src/elements/PathItem.mjs +89 -0
  50. package/src/elements/Paths.cjs +15 -0
  51. package/src/elements/Paths.mjs +12 -0
  52. package/src/elements/Reference.cjs +22 -0
  53. package/src/elements/Reference.mjs +19 -0
  54. package/src/elements/RequestBody.cjs +36 -0
  55. package/src/elements/RequestBody.mjs +33 -0
  56. package/src/elements/Response.cjs +39 -0
  57. package/src/elements/Response.mjs +36 -0
  58. package/src/elements/Responses.cjs +21 -0
  59. package/src/elements/Responses.mjs +17 -0
  60. package/src/elements/Schema.cjs +170 -0
  61. package/src/elements/Schema.mjs +166 -0
  62. package/src/elements/SecurityRequirement.cjs +15 -0
  63. package/src/elements/SecurityRequirement.mjs +12 -0
  64. package/src/elements/SecurityScheme.cjs +63 -0
  65. package/src/elements/SecurityScheme.mjs +59 -0
  66. package/src/elements/Server.cjs +33 -0
  67. package/src/elements/Server.mjs +30 -0
  68. package/src/elements/ServerVariable.cjs +33 -0
  69. package/src/elements/ServerVariable.mjs +30 -0
  70. package/src/elements/Tag.cjs +33 -0
  71. package/src/elements/Tag.mjs +29 -0
  72. package/src/elements/Xml.cjs +45 -0
  73. package/src/elements/Xml.mjs +42 -0
  74. package/src/elements/nces/ComponentsCallbacks.cjs +16 -0
  75. package/src/elements/nces/ComponentsCallbacks.mjs +13 -0
  76. package/src/elements/nces/ComponentsExamples.cjs +17 -0
  77. package/src/elements/nces/ComponentsExamples.mjs +14 -0
  78. package/src/elements/nces/ComponentsHeaders.cjs +16 -0
  79. package/src/elements/nces/ComponentsHeaders.mjs +13 -0
  80. package/src/elements/nces/ComponentsLinks.cjs +16 -0
  81. package/src/elements/nces/ComponentsLinks.mjs +13 -0
  82. package/src/elements/nces/ComponentsParameters.cjs +17 -0
  83. package/src/elements/nces/ComponentsParameters.mjs +14 -0
  84. package/src/elements/nces/ComponentsRequestBodies.cjs +16 -0
  85. package/src/elements/nces/ComponentsRequestBodies.mjs +13 -0
  86. package/src/elements/nces/ComponentsResponses.cjs +16 -0
  87. package/src/elements/nces/ComponentsResponses.mjs +13 -0
  88. package/src/elements/nces/ComponentsSchemas.cjs +16 -0
  89. package/src/elements/nces/ComponentsSchemas.mjs +13 -0
  90. package/src/elements/nces/ComponentsSecuritySchemes.cjs +16 -0
  91. package/src/elements/nces/ComponentsSecuritySchemes.mjs +13 -0
  92. package/src/elements/nces/DiscriminatorMapping.cjs +16 -0
  93. package/src/elements/nces/DiscriminatorMapping.mjs +13 -0
  94. package/src/elements/nces/EncodingHeaders.cjs +16 -0
  95. package/src/elements/nces/EncodingHeaders.mjs +13 -0
  96. package/src/elements/nces/HeaderContent.cjs +17 -0
  97. package/src/elements/nces/HeaderContent.mjs +14 -0
  98. package/src/elements/nces/HeaderExamples.cjs +17 -0
  99. package/src/elements/nces/HeaderExamples.mjs +14 -0
  100. package/src/elements/nces/LinkParameters.cjs +16 -0
  101. package/src/elements/nces/LinkParameters.mjs +13 -0
  102. package/src/elements/nces/MediaTypeEncoding.cjs +16 -0
  103. package/src/elements/nces/MediaTypeEncoding.mjs +13 -0
  104. package/src/elements/nces/MediaTypeExamples.cjs +17 -0
  105. package/src/elements/nces/MediaTypeExamples.mjs +14 -0
  106. package/src/elements/nces/OAuthFlowScopes.cjs +16 -0
  107. package/src/elements/nces/OAuthFlowScopes.mjs +13 -0
  108. package/src/elements/nces/OperationCallbacks.cjs +16 -0
  109. package/src/elements/nces/OperationCallbacks.mjs +13 -0
  110. package/src/elements/nces/OperationParameters.cjs +17 -0
  111. package/src/elements/nces/OperationParameters.mjs +14 -0
  112. package/src/elements/nces/OperationSecurity.cjs +17 -0
  113. package/src/elements/nces/OperationSecurity.mjs +14 -0
  114. package/src/elements/nces/OperationServers.cjs +17 -0
  115. package/src/elements/nces/OperationServers.mjs +14 -0
  116. package/src/elements/nces/OperationTags.cjs +16 -0
  117. package/src/elements/nces/OperationTags.mjs +13 -0
  118. package/src/elements/nces/ParameterContent.cjs +17 -0
  119. package/src/elements/nces/ParameterContent.mjs +14 -0
  120. package/src/elements/nces/ParameterExamples.cjs +17 -0
  121. package/src/elements/nces/ParameterExamples.mjs +14 -0
  122. package/src/elements/nces/PathItemParameters.cjs +17 -0
  123. package/src/elements/nces/PathItemParameters.mjs +14 -0
  124. package/src/elements/nces/PathItemServers.cjs +17 -0
  125. package/src/elements/nces/PathItemServers.mjs +14 -0
  126. package/src/elements/nces/RequestBodyContent.cjs +17 -0
  127. package/src/elements/nces/RequestBodyContent.mjs +14 -0
  128. package/src/elements/nces/ResponseContent.cjs +17 -0
  129. package/src/elements/nces/ResponseContent.mjs +14 -0
  130. package/src/elements/nces/ResponseHeaders.cjs +16 -0
  131. package/src/elements/nces/ResponseHeaders.mjs +13 -0
  132. package/src/elements/nces/ResponseLinks.cjs +16 -0
  133. package/src/elements/nces/ResponseLinks.mjs +13 -0
  134. package/src/elements/nces/Security.cjs +16 -0
  135. package/src/elements/nces/Security.mjs +13 -0
  136. package/src/elements/nces/ServerVariables.cjs +16 -0
  137. package/src/elements/nces/ServerVariables.mjs +13 -0
  138. package/src/elements/nces/Servers.cjs +16 -0
  139. package/src/elements/nces/Servers.mjs +13 -0
  140. package/src/elements/nces/Tags.cjs +16 -0
  141. package/src/elements/nces/Tags.mjs +13 -0
  142. package/src/index.cjs +185 -0
  143. package/src/index.mjs +54 -0
  144. package/src/media-types.cjs +34 -0
  145. package/src/media-types.mjs +30 -0
  146. package/src/namespace.cjs +80 -0
  147. package/src/namespace.mjs +74 -0
  148. package/src/predicates.cjs +330 -0
  149. package/src/predicates.mjs +322 -0
  150. package/src/refractor/index.cjs +52 -0
  151. package/src/refractor/index.mjs +46 -0
  152. package/src/refractor/plugins/replace-empty-element.cjs +627 -0
  153. package/src/refractor/plugins/replace-empty-element.mjs +619 -0
  154. package/src/refractor/predicates.cjs +36 -0
  155. package/src/refractor/predicates.mjs +31 -0
  156. package/src/refractor/registration.cjs +99 -0
  157. package/src/refractor/registration.mjs +64 -0
  158. package/src/refractor/specification.cjs +644 -0
  159. package/src/refractor/specification.mjs +639 -0
  160. package/src/refractor/toolbox.cjs +38 -0
  161. package/src/refractor/toolbox.mjs +30 -0
  162. package/src/refractor/visitors/FallbackVisitor.cjs +24 -0
  163. package/src/refractor/visitors/FallbackVisitor.mjs +18 -0
  164. package/src/refractor/visitors/SpecificationExtensionVisitor.cjs +18 -0
  165. package/src/refractor/visitors/SpecificationExtensionVisitor.mjs +13 -0
  166. package/src/refractor/visitors/SpecificationVisitor.cjs +84 -0
  167. package/src/refractor/visitors/SpecificationVisitor.mjs +78 -0
  168. package/src/refractor/visitors/Visitor.cjs +31 -0
  169. package/src/refractor/visitors/Visitor.mjs +28 -0
  170. package/src/refractor/visitors/generics/AlternatingVisitor.cjs +42 -0
  171. package/src/refractor/visitors/generics/AlternatingVisitor.mjs +35 -0
  172. package/src/refractor/visitors/generics/FixedFieldsVisitor.cjs +67 -0
  173. package/src/refractor/visitors/generics/FixedFieldsVisitor.mjs +60 -0
  174. package/src/refractor/visitors/generics/MapVisitor.cjs +21 -0
  175. package/src/refractor/visitors/generics/MapVisitor.mjs +15 -0
  176. package/src/refractor/visitors/generics/MixedFieldsVisitor.cjs +60 -0
  177. package/src/refractor/visitors/generics/MixedFieldsVisitor.mjs +54 -0
  178. package/src/refractor/visitors/generics/PatternedFieldsVisitor.cjs +67 -0
  179. package/src/refractor/visitors/generics/PatternedFieldsVisitor.mjs +61 -0
  180. package/src/refractor/visitors/open-api-3-0/ContentVisitor.cjs +26 -0
  181. package/src/refractor/visitors/open-api-3-0/ContentVisitor.mjs +20 -0
  182. package/src/refractor/visitors/open-api-3-0/ExamplesVisitor.cjs +37 -0
  183. package/src/refractor/visitors/open-api-3-0/ExamplesVisitor.mjs +31 -0
  184. package/src/refractor/visitors/open-api-3-0/OpenapiVisitor.cjs +26 -0
  185. package/src/refractor/visitors/open-api-3-0/OpenapiVisitor.mjs +20 -0
  186. package/src/refractor/visitors/open-api-3-0/ParametersVisitor.cjs +38 -0
  187. package/src/refractor/visitors/open-api-3-0/ParametersVisitor.mjs +32 -0
  188. package/src/refractor/visitors/open-api-3-0/SecurityVisitor.cjs +36 -0
  189. package/src/refractor/visitors/open-api-3-0/SecurityVisitor.mjs +30 -0
  190. package/src/refractor/visitors/open-api-3-0/ServersVisitor.cjs +34 -0
  191. package/src/refractor/visitors/open-api-3-0/ServersVisitor.mjs +28 -0
  192. package/src/refractor/visitors/open-api-3-0/TagsVisitor.cjs +34 -0
  193. package/src/refractor/visitors/open-api-3-0/TagsVisitor.mjs +28 -0
  194. package/src/refractor/visitors/open-api-3-0/callback/index.cjs +41 -0
  195. package/src/refractor/visitors/open-api-3-0/callback/index.mjs +35 -0
  196. package/src/refractor/visitors/open-api-3-0/components/CallbacksVisitor.cjs +35 -0
  197. package/src/refractor/visitors/open-api-3-0/components/CallbacksVisitor.mjs +29 -0
  198. package/src/refractor/visitors/open-api-3-0/components/ExamplesVisitor.cjs +36 -0
  199. package/src/refractor/visitors/open-api-3-0/components/ExamplesVisitor.mjs +30 -0
  200. package/src/refractor/visitors/open-api-3-0/components/HeadersVisitor.cjs +43 -0
  201. package/src/refractor/visitors/open-api-3-0/components/HeadersVisitor.mjs +37 -0
  202. package/src/refractor/visitors/open-api-3-0/components/LinksVisitor.cjs +35 -0
  203. package/src/refractor/visitors/open-api-3-0/components/LinksVisitor.mjs +29 -0
  204. package/src/refractor/visitors/open-api-3-0/components/ParametersVisitor.cjs +36 -0
  205. package/src/refractor/visitors/open-api-3-0/components/ParametersVisitor.mjs +30 -0
  206. package/src/refractor/visitors/open-api-3-0/components/RequestBodiesVisitor.cjs +35 -0
  207. package/src/refractor/visitors/open-api-3-0/components/RequestBodiesVisitor.mjs +29 -0
  208. package/src/refractor/visitors/open-api-3-0/components/ResponsesVisitor.cjs +43 -0
  209. package/src/refractor/visitors/open-api-3-0/components/ResponsesVisitor.mjs +37 -0
  210. package/src/refractor/visitors/open-api-3-0/components/SchemasVisitor.cjs +36 -0
  211. package/src/refractor/visitors/open-api-3-0/components/SchemasVisitor.mjs +30 -0
  212. package/src/refractor/visitors/open-api-3-0/components/SecuritySchemesVisitor.cjs +35 -0
  213. package/src/refractor/visitors/open-api-3-0/components/SecuritySchemesVisitor.mjs +29 -0
  214. package/src/refractor/visitors/open-api-3-0/components/index.cjs +26 -0
  215. package/src/refractor/visitors/open-api-3-0/components/index.mjs +20 -0
  216. package/src/refractor/visitors/open-api-3-0/contact/index.cjs +26 -0
  217. package/src/refractor/visitors/open-api-3-0/contact/index.mjs +20 -0
  218. package/src/refractor/visitors/open-api-3-0/distriminator/MappingVisitor.cjs +25 -0
  219. package/src/refractor/visitors/open-api-3-0/distriminator/MappingVisitor.mjs +19 -0
  220. package/src/refractor/visitors/open-api-3-0/distriminator/index.cjs +26 -0
  221. package/src/refractor/visitors/open-api-3-0/distriminator/index.mjs +20 -0
  222. package/src/refractor/visitors/open-api-3-0/encoding/HeadersVisitor.cjs +44 -0
  223. package/src/refractor/visitors/open-api-3-0/encoding/HeadersVisitor.mjs +38 -0
  224. package/src/refractor/visitors/open-api-3-0/encoding/index.cjs +41 -0
  225. package/src/refractor/visitors/open-api-3-0/encoding/index.mjs +35 -0
  226. package/src/refractor/visitors/open-api-3-0/example/ExternalValueVisitor.cjs +17 -0
  227. package/src/refractor/visitors/open-api-3-0/example/ExternalValueVisitor.mjs +12 -0
  228. package/src/refractor/visitors/open-api-3-0/example/index.cjs +36 -0
  229. package/src/refractor/visitors/open-api-3-0/example/index.mjs +30 -0
  230. package/src/refractor/visitors/open-api-3-0/external-documentation/index.cjs +26 -0
  231. package/src/refractor/visitors/open-api-3-0/external-documentation/index.mjs +20 -0
  232. package/src/refractor/visitors/open-api-3-0/header/ContentVisitor.cjs +17 -0
  233. package/src/refractor/visitors/open-api-3-0/header/ContentVisitor.mjs +12 -0
  234. package/src/refractor/visitors/open-api-3-0/header/ExamplesVisitor.cjs +17 -0
  235. package/src/refractor/visitors/open-api-3-0/header/ExamplesVisitor.mjs +12 -0
  236. package/src/refractor/visitors/open-api-3-0/header/SchemaVisitor.cjs +38 -0
  237. package/src/refractor/visitors/open-api-3-0/header/SchemaVisitor.mjs +32 -0
  238. package/src/refractor/visitors/open-api-3-0/header/index.cjs +26 -0
  239. package/src/refractor/visitors/open-api-3-0/header/index.mjs +20 -0
  240. package/src/refractor/visitors/open-api-3-0/index.cjs +30 -0
  241. package/src/refractor/visitors/open-api-3-0/index.mjs +24 -0
  242. package/src/refractor/visitors/open-api-3-0/info/VersionVisitor.cjs +18 -0
  243. package/src/refractor/visitors/open-api-3-0/info/VersionVisitor.mjs +13 -0
  244. package/src/refractor/visitors/open-api-3-0/info/index.cjs +26 -0
  245. package/src/refractor/visitors/open-api-3-0/info/index.mjs +20 -0
  246. package/src/refractor/visitors/open-api-3-0/license/index.cjs +26 -0
  247. package/src/refractor/visitors/open-api-3-0/license/index.mjs +20 -0
  248. package/src/refractor/visitors/open-api-3-0/link/OperationIdVisitor.cjs +17 -0
  249. package/src/refractor/visitors/open-api-3-0/link/OperationIdVisitor.mjs +12 -0
  250. package/src/refractor/visitors/open-api-3-0/link/OperationRefVisitor.cjs +17 -0
  251. package/src/refractor/visitors/open-api-3-0/link/OperationRefVisitor.mjs +12 -0
  252. package/src/refractor/visitors/open-api-3-0/link/ParametersVisitor.cjs +25 -0
  253. package/src/refractor/visitors/open-api-3-0/link/ParametersVisitor.mjs +19 -0
  254. package/src/refractor/visitors/open-api-3-0/link/index.cjs +36 -0
  255. package/src/refractor/visitors/open-api-3-0/link/index.mjs +30 -0
  256. package/src/refractor/visitors/open-api-3-0/media-type/EncodingVisitor.cjs +25 -0
  257. package/src/refractor/visitors/open-api-3-0/media-type/EncodingVisitor.mjs +19 -0
  258. package/src/refractor/visitors/open-api-3-0/media-type/ExamplesVisitor.cjs +17 -0
  259. package/src/refractor/visitors/open-api-3-0/media-type/ExamplesVisitor.mjs +12 -0
  260. package/src/refractor/visitors/open-api-3-0/media-type/SchemaVisitor.cjs +38 -0
  261. package/src/refractor/visitors/open-api-3-0/media-type/SchemaVisitor.mjs +32 -0
  262. package/src/refractor/visitors/open-api-3-0/media-type/index.cjs +26 -0
  263. package/src/refractor/visitors/open-api-3-0/media-type/index.mjs +20 -0
  264. package/src/refractor/visitors/open-api-3-0/oauth-flow/ScopesVisitor.cjs +25 -0
  265. package/src/refractor/visitors/open-api-3-0/oauth-flow/ScopesVisitor.mjs +19 -0
  266. package/src/refractor/visitors/open-api-3-0/oauth-flow/index.cjs +26 -0
  267. package/src/refractor/visitors/open-api-3-0/oauth-flow/index.mjs +20 -0
  268. package/src/refractor/visitors/open-api-3-0/oauth-flows/index.cjs +26 -0
  269. package/src/refractor/visitors/open-api-3-0/oauth-flows/index.mjs +20 -0
  270. package/src/refractor/visitors/open-api-3-0/operation/CallbacksVisitor.cjs +36 -0
  271. package/src/refractor/visitors/open-api-3-0/operation/CallbacksVisitor.mjs +30 -0
  272. package/src/refractor/visitors/open-api-3-0/operation/ParametersVisitor.cjs +17 -0
  273. package/src/refractor/visitors/open-api-3-0/operation/ParametersVisitor.mjs +12 -0
  274. package/src/refractor/visitors/open-api-3-0/operation/RequestBodyVisitor.cjs +36 -0
  275. package/src/refractor/visitors/open-api-3-0/operation/RequestBodyVisitor.mjs +30 -0
  276. package/src/refractor/visitors/open-api-3-0/operation/SecurityVisitor.cjs +33 -0
  277. package/src/refractor/visitors/open-api-3-0/operation/SecurityVisitor.mjs +27 -0
  278. package/src/refractor/visitors/open-api-3-0/operation/ServersVisitor.cjs +17 -0
  279. package/src/refractor/visitors/open-api-3-0/operation/ServersVisitor.mjs +12 -0
  280. package/src/refractor/visitors/open-api-3-0/operation/TagsVisitor.cjs +26 -0
  281. package/src/refractor/visitors/open-api-3-0/operation/TagsVisitor.mjs +20 -0
  282. package/src/refractor/visitors/open-api-3-0/operation/index.cjs +25 -0
  283. package/src/refractor/visitors/open-api-3-0/operation/index.mjs +19 -0
  284. package/src/refractor/visitors/open-api-3-0/parameter/ContentVisitor.cjs +17 -0
  285. package/src/refractor/visitors/open-api-3-0/parameter/ContentVisitor.mjs +12 -0
  286. package/src/refractor/visitors/open-api-3-0/parameter/ExamplesVisitor.cjs +17 -0
  287. package/src/refractor/visitors/open-api-3-0/parameter/ExamplesVisitor.mjs +12 -0
  288. package/src/refractor/visitors/open-api-3-0/parameter/SchemaVisitor.cjs +38 -0
  289. package/src/refractor/visitors/open-api-3-0/parameter/SchemaVisitor.mjs +32 -0
  290. package/src/refractor/visitors/open-api-3-0/parameter/index.cjs +41 -0
  291. package/src/refractor/visitors/open-api-3-0/parameter/index.mjs +35 -0
  292. package/src/refractor/visitors/open-api-3-0/path-item/$RefVisitor.cjs +17 -0
  293. package/src/refractor/visitors/open-api-3-0/path-item/$RefVisitor.mjs +12 -0
  294. package/src/refractor/visitors/open-api-3-0/path-item/ParametersVisitor.cjs +17 -0
  295. package/src/refractor/visitors/open-api-3-0/path-item/ParametersVisitor.mjs +12 -0
  296. package/src/refractor/visitors/open-api-3-0/path-item/ServersVisitor.cjs +17 -0
  297. package/src/refractor/visitors/open-api-3-0/path-item/ServersVisitor.mjs +12 -0
  298. package/src/refractor/visitors/open-api-3-0/path-item/index.cjs +45 -0
  299. package/src/refractor/visitors/open-api-3-0/path-item/index.mjs +39 -0
  300. package/src/refractor/visitors/open-api-3-0/paths/index.cjs +42 -0
  301. package/src/refractor/visitors/open-api-3-0/paths/index.mjs +36 -0
  302. package/src/refractor/visitors/open-api-3-0/reference/$RefVisitor.cjs +17 -0
  303. package/src/refractor/visitors/open-api-3-0/reference/$RefVisitor.mjs +12 -0
  304. package/src/refractor/visitors/open-api-3-0/reference/index.cjs +36 -0
  305. package/src/refractor/visitors/open-api-3-0/reference/index.mjs +30 -0
  306. package/src/refractor/visitors/open-api-3-0/request-body/ContentVisitor.cjs +17 -0
  307. package/src/refractor/visitors/open-api-3-0/request-body/ContentVisitor.mjs +12 -0
  308. package/src/refractor/visitors/open-api-3-0/request-body/index.cjs +40 -0
  309. package/src/refractor/visitors/open-api-3-0/request-body/index.mjs +34 -0
  310. package/src/refractor/visitors/open-api-3-0/response/ContentVisitor.cjs +17 -0
  311. package/src/refractor/visitors/open-api-3-0/response/ContentVisitor.mjs +12 -0
  312. package/src/refractor/visitors/open-api-3-0/response/HeadersVisitor.cjs +44 -0
  313. package/src/refractor/visitors/open-api-3-0/response/HeadersVisitor.mjs +38 -0
  314. package/src/refractor/visitors/open-api-3-0/response/LinksVisitor.cjs +35 -0
  315. package/src/refractor/visitors/open-api-3-0/response/LinksVisitor.mjs +29 -0
  316. package/src/refractor/visitors/open-api-3-0/response/index.cjs +49 -0
  317. package/src/refractor/visitors/open-api-3-0/response/index.mjs +43 -0
  318. package/src/refractor/visitors/open-api-3-0/responses/DefaultVisitor.cjs +42 -0
  319. package/src/refractor/visitors/open-api-3-0/responses/DefaultVisitor.mjs +36 -0
  320. package/src/refractor/visitors/open-api-3-0/responses/index.cjs +49 -0
  321. package/src/refractor/visitors/open-api-3-0/responses/index.mjs +43 -0
  322. package/src/refractor/visitors/open-api-3-0/schema/AllOfVisitor.cjs +26 -0
  323. package/src/refractor/visitors/open-api-3-0/schema/AllOfVisitor.mjs +22 -0
  324. package/src/refractor/visitors/open-api-3-0/schema/AnyOfVisitor.cjs +26 -0
  325. package/src/refractor/visitors/open-api-3-0/schema/AnyOfVisitor.mjs +22 -0
  326. package/src/refractor/visitors/open-api-3-0/schema/ItemsVisitor.cjs +28 -0
  327. package/src/refractor/visitors/open-api-3-0/schema/ItemsVisitor.mjs +24 -0
  328. package/src/refractor/visitors/open-api-3-0/schema/OneOfVisitor.cjs +26 -0
  329. package/src/refractor/visitors/open-api-3-0/schema/OneOfVisitor.mjs +22 -0
  330. package/src/refractor/visitors/open-api-3-0/schema/PropertiesVisitor.cjs +26 -0
  331. package/src/refractor/visitors/open-api-3-0/schema/PropertiesVisitor.mjs +22 -0
  332. package/src/refractor/visitors/open-api-3-0/schema/SchemaOrReferenceVisitor.cjs +25 -0
  333. package/src/refractor/visitors/open-api-3-0/schema/SchemaOrReferenceVisitor.mjs +21 -0
  334. package/src/refractor/visitors/open-api-3-0/schema/TypeVisitor.cjs +20 -0
  335. package/src/refractor/visitors/open-api-3-0/schema/TypeVisitor.mjs +16 -0
  336. package/src/refractor/visitors/open-api-3-0/schema/index.cjs +26 -0
  337. package/src/refractor/visitors/open-api-3-0/schema/index.mjs +20 -0
  338. package/src/refractor/visitors/open-api-3-0/security-requirement/index.cjs +25 -0
  339. package/src/refractor/visitors/open-api-3-0/security-requirement/index.mjs +19 -0
  340. package/src/refractor/visitors/open-api-3-0/security-scheme/index.cjs +26 -0
  341. package/src/refractor/visitors/open-api-3-0/security-scheme/index.mjs +20 -0
  342. package/src/refractor/visitors/open-api-3-0/server/UrlVisitor.cjs +17 -0
  343. package/src/refractor/visitors/open-api-3-0/server/UrlVisitor.mjs +12 -0
  344. package/src/refractor/visitors/open-api-3-0/server/VariablesVisitor.cjs +25 -0
  345. package/src/refractor/visitors/open-api-3-0/server/VariablesVisitor.mjs +19 -0
  346. package/src/refractor/visitors/open-api-3-0/server/index.cjs +26 -0
  347. package/src/refractor/visitors/open-api-3-0/server/index.mjs +20 -0
  348. package/src/refractor/visitors/open-api-3-0/server-variable/index.cjs +26 -0
  349. package/src/refractor/visitors/open-api-3-0/server-variable/index.mjs +20 -0
  350. package/src/refractor/visitors/open-api-3-0/tag/index.cjs +26 -0
  351. package/src/refractor/visitors/open-api-3-0/tag/index.mjs +20 -0
  352. package/src/refractor/visitors/open-api-3-0/xml/index.cjs +26 -0
  353. package/src/refractor/visitors/open-api-3-0/xml/index.mjs +20 -0
  354. package/src/traversal/visitor.cjs +57 -0
  355. package/src/traversal/visitor.mjs +54 -0
  356. package/types/apidom-ns-openapi-3-0.d.ts +3383 -0
@@ -0,0 +1,3383 @@
1
+ import { AllOfVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
2
+ import { AnyOfVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
3
+ import { ArrayElement } from '@speclynx/apidom-core';
4
+ import { Attributes } from '@speclynx/apidom-core';
5
+ import { BooleanElement } from '@speclynx/apidom-core';
6
+ import { Class } from 'ts-mixer/dist/types/types.js';
7
+ import { Element as Element_2 } from '@speclynx/apidom-core';
8
+ import { ElementPredicate } from '@speclynx/apidom-core';
9
+ import { EnumVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
10
+ import { hasElementSourceMap } from '@speclynx/apidom-core';
11
+ import { includesClasses } from '@speclynx/apidom-core';
12
+ import { isArrayElement } from '@speclynx/apidom-core';
13
+ import { isBooleanElement } from '@speclynx/apidom-core';
14
+ import { isElement } from '@speclynx/apidom-core';
15
+ import { isLinkElement as isLinkPrimitiveElement } from '@speclynx/apidom-core';
16
+ import { isMemberElement } from '@speclynx/apidom-core';
17
+ import { isNullElement } from '@speclynx/apidom-core';
18
+ import { isNumberElement } from '@speclynx/apidom-core';
19
+ import { isObjectElement } from '@speclynx/apidom-core';
20
+ import { isRefElement } from '@speclynx/apidom-core';
21
+ import { isStringElement } from '@speclynx/apidom-core';
22
+ import { ItemsVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
23
+ import { JSONReferenceElement } from '@speclynx/apidom-ns-json-schema-draft-4';
24
+ import { JSONSchemaElement } from '@speclynx/apidom-ns-json-schema-draft-4';
25
+ import { MediaElement } from '@speclynx/apidom-ns-json-schema-draft-4';
26
+ import { MediaTypes } from '@speclynx/apidom-core';
27
+ import { MemberElement } from '@speclynx/apidom-core';
28
+ import { Meta } from '@speclynx/apidom-core';
29
+ import { Namespace } from 'minim';
30
+ import { Namespace as Namespace_2 } from '@speclynx/apidom-core';
31
+ import { NamespacePluginOptions } from '@speclynx/apidom-core';
32
+ import { ObjectElement } from '@speclynx/apidom-core';
33
+ import { ObjectElement as ObjectElement_2 } from 'minim';
34
+ import { OneOfVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
35
+ import { PropertiesVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
36
+ import { RequiredVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
37
+ import { AllOfVisitorOptions as SchemaAllOfVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
38
+ import { AnyOfVisitorOptions as SchemaAnyOfVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
39
+ import { ItemsVisitorOptions as SchemaItemsVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
40
+ import { OneOfVisitorOptions as SchemaOneOfVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
41
+ import { SchemaOrReferenceVisitor as SchemaOrReferenceVisitor_2 } from '@speclynx/apidom-ns-json-schema-draft-4';
42
+ import { SchemaOrReferenceVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
43
+ import { PropertiesVisitorOptions as SchemaPropertiesVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
44
+ import { TypeVisitorOptions as SchemaTypeVisitorOptions } from '@speclynx/apidom-ns-json-schema-draft-4';
45
+ import { StringElement } from '@speclynx/apidom-core';
46
+ import { TypeVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
47
+
48
+ /**
49
+ * @public
50
+ */
51
+ export declare class AlternatingVisitor extends SpecificationVisitor {
52
+ protected alternator: Alternator[];
53
+ constructor({ alternator, ...rest }: AlternatingVisitorOptions);
54
+ enter(element: Element_2): {};
55
+ }
56
+
57
+ /**
58
+ * @public
59
+ */
60
+ export declare interface AlternatingVisitorOptions extends SpecificationVisitorOptions {
61
+ readonly alternator: Alternator[];
62
+ }
63
+
64
+ /**
65
+ * @public
66
+ */
67
+ export declare type Alternator = {
68
+ predicate: (element: unknown) => boolean;
69
+ specPath: string[];
70
+ };
71
+
72
+ /**
73
+ * @public
74
+ */
75
+ export declare class CallbackElement extends ObjectElement {
76
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
77
+ }
78
+
79
+ declare const CallbacksVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
80
+
81
+ declare const CallbacksVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
82
+
83
+ /**
84
+ * @public
85
+ */
86
+ export declare class CallbackVisitor extends CallbackVisitor_base {
87
+ readonly element: CallbackElement;
88
+ protected readonly specPath: SpecPath;
89
+ protected readonly canSupportSpecificationExtensions: true;
90
+ constructor(options: CallbackVisitorOptions);
91
+ ObjectElement(objectElement: ObjectElement): {};
92
+ }
93
+
94
+ declare const CallbackVisitor_base: Class<any[], PatternedFieldsVisitor & FallbackVisitor, typeof PatternedFieldsVisitor & typeof FallbackVisitor>;
95
+
96
+ /**
97
+ * @public
98
+ */
99
+ export declare interface CallbackVisitorOptions extends PatternedFieldsVisitorOptions, VisitorOptions {
100
+ }
101
+
102
+ /**
103
+ * @public
104
+ */
105
+ export declare class ComponentsCallbacksElement extends ObjectElement {
106
+ static primaryClass: string;
107
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
108
+ }
109
+
110
+ /**
111
+ * @public
112
+ */
113
+ export declare class ComponentsCallbacksVisitor extends CallbacksVisitor_base {
114
+ readonly element: ComponentsCallbacksElement;
115
+ protected readonly specPath: SpecPath<[
116
+ 'document',
117
+ 'objects',
118
+ 'Reference'
119
+ ] | ['document', 'objects', 'Callback']>;
120
+ constructor(options: ComponentsCallbacksVisitorOptions);
121
+ ObjectElement(objectElement: ObjectElement): {};
122
+ }
123
+
124
+ /**
125
+ * @public
126
+ */
127
+ export declare interface ComponentsCallbacksVisitorOptions extends MapVisitorOptions, VisitorOptions {
128
+ }
129
+
130
+ /**
131
+ * @public
132
+ */
133
+ export declare class ComponentsElement extends ObjectElement {
134
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
135
+ get schemas(): ObjectElement | undefined;
136
+ set schemas(schemas: ObjectElement | undefined);
137
+ get responses(): ObjectElement | undefined;
138
+ set responses(responses: ObjectElement | undefined);
139
+ get parameters(): ObjectElement | undefined;
140
+ set parameters(parameters: ObjectElement | undefined);
141
+ get examples(): ObjectElement | undefined;
142
+ set examples(examples: ObjectElement | undefined);
143
+ get requestBodies(): ObjectElement | undefined;
144
+ set requestBodies(requestBodies: ObjectElement | undefined);
145
+ get headers(): ObjectElement | undefined;
146
+ set headers(headers: ObjectElement | undefined);
147
+ get securitySchemes(): ObjectElement | undefined;
148
+ set securitySchemes(securitySchemes: ObjectElement | undefined);
149
+ get links(): ObjectElement | undefined;
150
+ set links(links: ObjectElement | undefined);
151
+ get callbacks(): ObjectElement | undefined;
152
+ set callbacks(callbacks: ObjectElement | undefined);
153
+ }
154
+
155
+ /**
156
+ * @public
157
+ */
158
+ export declare class ComponentsExamplesElement extends ObjectElement {
159
+ static primaryClass: string;
160
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
161
+ }
162
+
163
+ /**
164
+ * @public
165
+ */
166
+ export declare class ComponentsExamplesVisitor extends ExamplesVisitor_base {
167
+ readonly element: ComponentsExamplesElement;
168
+ protected readonly specPath: SpecPath<[
169
+ 'document',
170
+ 'objects',
171
+ 'Reference'
172
+ ] | ['document', 'objects', 'Example']>;
173
+ constructor(options: ComponentsExamplesVisitorOptions);
174
+ ObjectElement(objectElement: ObjectElement): {};
175
+ }
176
+
177
+ /**
178
+ * @public
179
+ */
180
+ export declare interface ComponentsExamplesVisitorOptions extends MapVisitorOptions, VisitorOptions {
181
+ }
182
+
183
+ /**
184
+ * @public
185
+ */
186
+ export declare class ComponentsHeadersElement extends ObjectElement {
187
+ static primaryClass: string;
188
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
189
+ }
190
+
191
+ /**
192
+ * @public
193
+ */
194
+ export declare class ComponentsHeadersVisitor extends HeadersVisitor_base {
195
+ readonly element: ComponentsHeadersElement;
196
+ protected readonly specPath: SpecPath<[
197
+ 'document',
198
+ 'objects',
199
+ 'Reference'
200
+ ] | ['document', 'objects', 'Header']>;
201
+ constructor(options: ComponentsHeadersVisitorOptions);
202
+ ObjectElement(objectElement: ObjectElement): {};
203
+ }
204
+
205
+ /**
206
+ * @public
207
+ */
208
+ export declare interface ComponentsHeadersVisitorOptions extends MapVisitorOptions, VisitorOptions {
209
+ }
210
+
211
+ /**
212
+ * @public
213
+ */
214
+ export declare class ComponentsLinksElement extends ObjectElement {
215
+ static primaryClass: string;
216
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
217
+ }
218
+
219
+ /**
220
+ * @public
221
+ */
222
+ export declare class ComponentsLinksVisitor extends LinksVisitor_base {
223
+ readonly element: ComponentsLinksElement;
224
+ protected readonly specPath: SpecPath<[
225
+ 'document',
226
+ 'objects',
227
+ 'Reference'
228
+ ] | ['document', 'objects', 'Link']>;
229
+ constructor(options: ComponentsLinksVisitorOptions);
230
+ ObjectElement(objectElement: ObjectElement): {};
231
+ }
232
+
233
+ /**
234
+ * @public
235
+ */
236
+ export declare interface ComponentsLinksVisitorOptions extends MapVisitorOptions, VisitorOptions {
237
+ }
238
+
239
+ /**
240
+ * @public
241
+ */
242
+ export declare class ComponentsParametersElement extends ObjectElement {
243
+ static primaryClass: string;
244
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
245
+ }
246
+
247
+ /**
248
+ * @public
249
+ */
250
+ export declare class ComponentsParametersVisitor extends ParametersVisitor_base {
251
+ readonly element: ComponentsParametersElement;
252
+ protected readonly specPath: SpecPath<[
253
+ 'document',
254
+ 'objects',
255
+ 'Reference'
256
+ ] | ['document', 'objects', 'Parameter']>;
257
+ constructor(options: ComponentsParametersVisitorOptions);
258
+ ObjectElement(objectElement: ObjectElement): {};
259
+ }
260
+
261
+ /**
262
+ * @public
263
+ */
264
+ export declare interface ComponentsParametersVisitorOptions extends MapVisitorOptions, VisitorOptions {
265
+ }
266
+
267
+ /**
268
+ * @public
269
+ */
270
+ export declare class ComponentsRequestBodiesElement extends ObjectElement {
271
+ static primaryClass: string;
272
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
273
+ }
274
+
275
+ /**
276
+ * @public
277
+ */
278
+ export declare class ComponentsRequestBodiesVisitor extends RequestBodiesVisitor_base {
279
+ readonly element: ComponentsRequestBodiesElement;
280
+ protected readonly specPath: SpecPath<[
281
+ 'document',
282
+ 'objects',
283
+ 'Reference'
284
+ ] | ['document', 'objects', 'RequestBody']>;
285
+ constructor(options: ComponentsRequestBodiesVisitorOptions);
286
+ ObjectElement(objectElement: ObjectElement): {};
287
+ }
288
+
289
+ /**
290
+ * @public
291
+ */
292
+ export declare interface ComponentsRequestBodiesVisitorOptions extends MapVisitorOptions, VisitorOptions {
293
+ }
294
+
295
+ /**
296
+ * @public
297
+ */
298
+ export declare class ComponentsResponsesElement extends ObjectElement {
299
+ static primaryClass: string;
300
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
301
+ }
302
+
303
+ /**
304
+ * @public
305
+ */
306
+ export declare class ComponentsResponsesVisitor extends ResponsesVisitor_base {
307
+ readonly element: ComponentsResponsesElement;
308
+ protected readonly specPath: SpecPath<[
309
+ 'document',
310
+ 'objects',
311
+ 'Reference'
312
+ ] | ['document', 'objects', 'Response']>;
313
+ constructor(options: ComponentsResponsesVisitorOptions);
314
+ ObjectElement(objectElement: ObjectElement): {};
315
+ }
316
+
317
+ /**
318
+ * @public
319
+ */
320
+ export declare interface ComponentsResponsesVisitorOptions extends MapVisitorOptions, VisitorOptions {
321
+ }
322
+
323
+ /**
324
+ * @public
325
+ */
326
+ export declare class ComponentsSchemasElement extends ObjectElement {
327
+ static primaryClass: string;
328
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
329
+ }
330
+
331
+ /**
332
+ * @public
333
+ */
334
+ export declare class ComponentsSchemasVisitor extends SchemasVisitor_base {
335
+ readonly element: ComponentsSchemasElement;
336
+ protected readonly specPath: SpecPath<[
337
+ 'document',
338
+ 'objects',
339
+ 'Reference'
340
+ ] | ['document', 'objects', 'Schema']>;
341
+ constructor(options: ComponentsSchemasVisitorOptions);
342
+ ObjectElement(objectElement: ObjectElement): {};
343
+ }
344
+
345
+ /**
346
+ * @public
347
+ */
348
+ export declare interface ComponentsSchemasVisitorOptions extends MapVisitorOptions, VisitorOptions {
349
+ }
350
+
351
+ /**
352
+ * @public
353
+ */
354
+ export declare class ComponentsSecuritySchemesElement extends ObjectElement {
355
+ static primaryClass: string;
356
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
357
+ }
358
+
359
+ /**
360
+ * @public
361
+ */
362
+ export declare class ComponentsSecuritySchemesVisitor extends SecuritySchemesVisitor_base {
363
+ readonly element: ComponentsSecuritySchemesElement;
364
+ protected readonly specPath: SpecPath<[
365
+ 'document',
366
+ 'objects',
367
+ 'Reference'
368
+ ] | ['document', 'objects', 'SecurityScheme']>;
369
+ constructor(options: ComponentsSecuritySchemesVisitorOptions);
370
+ ObjectElement(objectElement: ObjectElement): {};
371
+ }
372
+
373
+ /**
374
+ * @public
375
+ */
376
+ export declare interface ComponentsSecuritySchemesVisitorOptions extends MapVisitorOptions, VisitorOptions {
377
+ }
378
+
379
+ /**
380
+ * @public
381
+ */
382
+ export declare class ComponentsVisitor extends ComponentsVisitor_base {
383
+ readonly element: ComponentsElement;
384
+ protected readonly specPath: SpecPath<['document', 'objects', 'Components']>;
385
+ protected readonly canSupportSpecificationExtensions: true;
386
+ constructor(options: ComponentsVisitorOptions);
387
+ }
388
+
389
+ declare const ComponentsVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
390
+
391
+ /**
392
+ * @public
393
+ */
394
+ export declare interface ComponentsVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
395
+ }
396
+
397
+ /**
398
+ * @public
399
+ */
400
+ export declare class ContactElement extends ObjectElement {
401
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
402
+ get name(): StringElement | undefined;
403
+ set name(name: StringElement | undefined);
404
+ get url(): StringElement | undefined;
405
+ set url(url: StringElement | undefined);
406
+ get email(): StringElement | undefined;
407
+ set email(email: StringElement | undefined);
408
+ }
409
+
410
+ /**
411
+ * @public
412
+ */
413
+ export declare class ContactVisitor extends ContactVisitor_base {
414
+ readonly element: ContactElement;
415
+ protected readonly specPath: SpecPath<['document', 'objects', 'Contact']>;
416
+ protected readonly canSupportSpecificationExtensions: true;
417
+ constructor(options: ContactVisitorOptions);
418
+ }
419
+
420
+ declare const ContactVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
421
+
422
+ /**
423
+ * @public
424
+ */
425
+ export declare interface ContactVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
426
+ }
427
+
428
+ /**
429
+ * @public
430
+ */
431
+ export declare class ContentVisitor extends ContentVisitor_base {
432
+ readonly element: ObjectElement;
433
+ protected readonly specPath: SpecPath<['document', 'objects', 'MediaType']>;
434
+ constructor(options: ContentVisitorOptions);
435
+ }
436
+
437
+ declare const ContentVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
438
+
439
+ /**
440
+ * @public
441
+ */
442
+ declare interface ContentVisitorOptions extends MapVisitorOptions, VisitorOptions {
443
+ }
444
+ export { ContentVisitorOptions }
445
+ export { ContentVisitorOptions as HeaderContentVisitorOptions }
446
+ export { ContentVisitorOptions as ParameterContentVisitorOptions }
447
+ export { ContentVisitorOptions as RequestBodyContentVisitorOptions }
448
+ export { ContentVisitorOptions as ResponseContentVisitorOptions }
449
+
450
+ /**
451
+ * @public
452
+ */
453
+ export declare const createRefractor: (specPath: string[]) => (value: unknown, options?: {}) => Element_2;
454
+
455
+ /**
456
+ * @public
457
+ */
458
+ export declare const createToolbox: () => {
459
+ predicates: ToolboxPredicates;
460
+ namespace: Namespace_2;
461
+ };
462
+
463
+ declare const DefaultVisitor_base: Class<any[], AlternatingVisitor & FallbackVisitor, typeof AlternatingVisitor & typeof FallbackVisitor>;
464
+
465
+ /**
466
+ * @public
467
+ */
468
+ export declare class DiscriminatorElement extends ObjectElement {
469
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
470
+ get propertyName(): StringElement | undefined;
471
+ set propertyName(propertyName: StringElement | undefined);
472
+ get mapping(): ObjectElement | undefined;
473
+ set mapping(mapping: ObjectElement | undefined);
474
+ }
475
+
476
+ /**
477
+ * @public
478
+ */
479
+ export declare class DiscriminatorMappingElement extends ObjectElement {
480
+ static primaryClass: string;
481
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
482
+ }
483
+
484
+ /**
485
+ * @public
486
+ */
487
+ export declare class DiscriminatorMappingVisitor extends MappingVisitor_base {
488
+ readonly element: DiscriminatorMappingElement;
489
+ protected readonly specPath: SpecPath<['value']>;
490
+ constructor(options: DiscriminatorMappingVisitorOptions);
491
+ }
492
+
493
+ /**
494
+ * @public
495
+ */
496
+ export declare interface DiscriminatorMappingVisitorOptions extends MapVisitorOptions, VisitorOptions {
497
+ }
498
+
499
+ /**
500
+ * @public
501
+ */
502
+ export declare class DiscriminatorVisitor extends DiscriminatorVisitor_base {
503
+ readonly element: DiscriminatorElement;
504
+ protected readonly specPath: SpecPath<['document', 'objects', 'Discriminator']>;
505
+ protected canSupportSpecificationExtensions: boolean;
506
+ constructor(options: DiscriminatorVisitorOptions);
507
+ }
508
+
509
+ declare const DiscriminatorVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
510
+
511
+ /**
512
+ * @public
513
+ */
514
+ export declare interface DiscriminatorVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
515
+ }
516
+
517
+ /**
518
+ * @public
519
+ */
520
+ export declare class EncodingElement extends ObjectElement {
521
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
522
+ get contentType(): StringElement | undefined;
523
+ set contentType(contentType: StringElement | undefined);
524
+ get headers(): ObjectElement | undefined;
525
+ set headers(headers: ObjectElement | undefined);
526
+ get style(): StringElement | undefined;
527
+ set style(style: StringElement | undefined);
528
+ get explode(): BooleanElement | undefined;
529
+ set explode(explode: BooleanElement | undefined);
530
+ get allowedReserved(): BooleanElement | undefined;
531
+ set allowedReserved(allowedReserved: BooleanElement | undefined);
532
+ }
533
+
534
+ /**
535
+ * @public
536
+ */
537
+ export declare class EncodingHeadersElement extends ObjectElement {
538
+ static primaryClass: string;
539
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
540
+ }
541
+
542
+ /**
543
+ * @public
544
+ */
545
+ export declare class EncodingHeadersVisitor extends HeadersVisitor_base_2 {
546
+ readonly element: EncodingHeadersElement;
547
+ protected readonly specPath: SpecPath<[
548
+ 'document',
549
+ 'objects',
550
+ 'Reference'
551
+ ] | ['document', 'objects', 'Header']>;
552
+ constructor(options: EncodingHeadersVisitorOptions);
553
+ ObjectElement(objectElement: ObjectElement): {};
554
+ }
555
+
556
+ /**
557
+ * @public
558
+ */
559
+ export declare interface EncodingHeadersVisitorOptions extends MapVisitorOptions, VisitorOptions {
560
+ }
561
+
562
+ /**
563
+ * @public
564
+ */
565
+ export declare class EncodingVisitor extends EncodingVisitor_base_2 {
566
+ readonly element: EncodingElement;
567
+ protected readonly specPath: SpecPath<['document', 'objects', 'Encoding']>;
568
+ protected readonly canSupportSpecificationExtensions: true;
569
+ constructor(options: EncodingVisitorOptions);
570
+ ObjectElement(objectElement: ObjectElement): {};
571
+ }
572
+
573
+ declare const EncodingVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
574
+
575
+ declare const EncodingVisitor_base_2: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
576
+
577
+ /**
578
+ * @public
579
+ */
580
+ export declare interface EncodingVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
581
+ }
582
+
583
+ /**
584
+ * @public
585
+ */
586
+ export declare class ExampleElement extends ObjectElement {
587
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
588
+ get summary(): StringElement | undefined;
589
+ set summary(summary: StringElement | undefined);
590
+ get description(): StringElement | undefined;
591
+ set description(description: StringElement | undefined);
592
+ get value(): Element_2 | undefined;
593
+ set value(value: Element_2 | undefined);
594
+ get externalValue(): StringElement | undefined;
595
+ set externalValue(externalValue: StringElement | undefined);
596
+ }
597
+
598
+ /**
599
+ * @public
600
+ */
601
+ export declare class ExampleExternalValueVisitor extends FallbackVisitor {
602
+ readonly element: StringElement;
603
+ StringElement(stringElement: StringElement): {};
604
+ }
605
+
606
+ /**
607
+ * @public
608
+ */
609
+ export declare class ExamplesVisitor extends ExamplesVisitor_base_2 {
610
+ readonly element: ObjectElement;
611
+ protected readonly specPath: SpecPath<[
612
+ 'document',
613
+ 'objects',
614
+ 'Reference'
615
+ ] | ['document', 'objects', 'Example']>;
616
+ protected readonly canSupportSpecificationExtensions: true;
617
+ constructor(options: ExamplesVisitorOptions);
618
+ ObjectElement(objectElement: ObjectElement): {};
619
+ }
620
+
621
+ declare const ExamplesVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
622
+
623
+ declare const ExamplesVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
624
+
625
+ /**
626
+ * @public
627
+ */
628
+ declare interface ExamplesVisitorOptions extends MapVisitorOptions, VisitorOptions {
629
+ }
630
+ export { ExamplesVisitorOptions }
631
+ export { ExamplesVisitorOptions as HeaderExamplesVisitorOptions }
632
+ export { ExamplesVisitorOptions as MediaTypeExamplesVisitorOptions }
633
+ export { ExamplesVisitorOptions as ParameterExamplesVisitorOptions }
634
+
635
+ /**
636
+ * @public
637
+ */
638
+ export declare class ExampleVisitor extends ExampleVisitor_base {
639
+ readonly element: ExampleElement;
640
+ protected readonly specPath: SpecPath<['document', 'objects', 'Example']>;
641
+ protected readonly canSupportSpecificationExtensions: true;
642
+ constructor(options: ExampleVisitorOptions);
643
+ ObjectElement(objectElement: ObjectElement): {};
644
+ }
645
+
646
+ declare const ExampleVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
647
+
648
+ /**
649
+ * @public
650
+ */
651
+ export declare interface ExampleVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
652
+ }
653
+
654
+ /**
655
+ * @public
656
+ */
657
+ export declare class ExternalDocumentationElement extends ObjectElement {
658
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
659
+ get description(): StringElement | undefined;
660
+ set description(description: StringElement | undefined);
661
+ get url(): StringElement | undefined;
662
+ set url(url: StringElement | undefined);
663
+ }
664
+
665
+ /**
666
+ * @public
667
+ */
668
+ export declare class ExternalDocumentationVisitor extends ExternalDocumentationVisitor_base {
669
+ readonly element: ExternalDocumentationElement;
670
+ protected readonly specPath: SpecPath<['document', 'objects', 'ExternalDocumentation']>;
671
+ protected readonly canSupportSpecificationExtensions: true;
672
+ constructor(options: ExternalDocumentationVisitorOptions);
673
+ }
674
+
675
+ declare const ExternalDocumentationVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
676
+
677
+ /**
678
+ * @public
679
+ */
680
+ export declare interface ExternalDocumentationVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
681
+ }
682
+
683
+ /**
684
+ * @public
685
+ */
686
+ export declare class FallbackVisitor extends Visitor {
687
+ enter(element: Element_2): {};
688
+ }
689
+
690
+ /**
691
+ * @public
692
+ */
693
+ export declare class FixedFieldsVisitor extends SpecificationVisitor {
694
+ protected specPath: SpecPath;
695
+ protected ignoredFields: string[];
696
+ protected canSupportSpecificationExtensions: boolean;
697
+ protected specificationExtensionPredicate: (element: MemberElement) => boolean;
698
+ constructor({ specPath, ignoredFields, canSupportSpecificationExtensions, specificationExtensionPredicate, ...rest }: FixedFieldsVisitorOptions);
699
+ ObjectElement(objectElement: ObjectElement): {};
700
+ }
701
+
702
+ /**
703
+ * @public
704
+ */
705
+ export declare interface FixedFieldsVisitorOptions extends SpecificationVisitorOptions {
706
+ readonly specPath: SpecPath;
707
+ readonly ignoredFields?: string[];
708
+ readonly canSupportSpecificationExtensions?: boolean;
709
+ readonly specificationExtensionPredicate?: typeof isOpenApiExtension;
710
+ }
711
+
712
+ /**
713
+ * @public
714
+ */
715
+ export declare type Format = 'generic' | 'json' | 'yaml';
716
+
717
+ /**
718
+ * @public
719
+ */
720
+ export declare const getNodeType: <T extends Element_2>(element: T) => string | undefined;
721
+
722
+ /**
723
+ * @public
724
+ */
725
+ export declare class HeaderContentElement extends ObjectElement {
726
+ static primaryClass: string;
727
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
728
+ }
729
+
730
+ /**
731
+ * @public
732
+ */
733
+ export declare class HeaderContentVisitor extends ContentVisitor {
734
+ readonly element: HeaderContentElement;
735
+ constructor(options: ContentVisitorOptions);
736
+ }
737
+
738
+ /**
739
+ * @public
740
+ */
741
+ export declare class HeaderElement extends ObjectElement {
742
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
743
+ get required(): BooleanElement;
744
+ set required(required: BooleanElement | undefined);
745
+ get deprecated(): BooleanElement | undefined;
746
+ set deprecated(deprecated: BooleanElement | undefined);
747
+ get allowEmptyValue(): BooleanElement | undefined;
748
+ set allowEmptyValue(allowEmptyValue: BooleanElement | undefined);
749
+ get style(): StringElement | undefined;
750
+ set style(style: StringElement | undefined);
751
+ get explode(): BooleanElement | undefined;
752
+ set explode(explode: BooleanElement | undefined);
753
+ get allowReserved(): BooleanElement | undefined;
754
+ set allowReserved(allowReserved: BooleanElement | undefined);
755
+ get schema(): SchemaElement | ReferenceElement | undefined;
756
+ set schema(schema: SchemaElement | ReferenceElement | undefined);
757
+ get example(): Element_2 | undefined;
758
+ set example(example: Element_2 | undefined);
759
+ get examples(): ObjectElement | undefined;
760
+ set examples(examples: ObjectElement | undefined);
761
+ get contentProp(): ObjectElement | undefined;
762
+ set contentProp(content: ObjectElement | undefined);
763
+ }
764
+
765
+ /**
766
+ * @public
767
+ */
768
+ export declare class HeaderExamplesElement extends ObjectElement {
769
+ static primaryClass: string;
770
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
771
+ }
772
+
773
+ /**
774
+ * @public
775
+ */
776
+ export declare class HeaderExamplesVisitor extends ExamplesVisitor {
777
+ readonly element: HeaderExamplesElement;
778
+ constructor(options: ExamplesVisitorOptions);
779
+ }
780
+
781
+ /**
782
+ * @public
783
+ */
784
+ export declare class HeaderSchemaVisitor extends SchemaVisitor_base_3 {
785
+ constructor(options: HeaderSchemaVisitorOptions);
786
+ ObjectElement(objectElement: ObjectElement): {};
787
+ }
788
+
789
+ /**
790
+ * @public
791
+ */
792
+ export declare interface HeaderSchemaVisitorOptions extends AlternatingVisitorOptions, VisitorOptions {
793
+ }
794
+
795
+ declare const HeadersVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
796
+
797
+ declare const HeadersVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
798
+
799
+ declare const HeadersVisitor_base_3: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
800
+
801
+ /**
802
+ * @public
803
+ */
804
+ export declare class HeaderVisitor extends HeaderVisitor_base {
805
+ readonly element: HeaderElement;
806
+ protected readonly specPath: SpecPath<['document', 'objects', 'Header']>;
807
+ protected readonly canSupportSpecificationExtensions: true;
808
+ constructor(options: HeaderVisitorOptions);
809
+ }
810
+
811
+ declare const HeaderVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
812
+
813
+ /**
814
+ * @public
815
+ */
816
+ export declare interface HeaderVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
817
+ }
818
+
819
+ /**
820
+ * @public
821
+ */
822
+ export declare class InfoElement extends ObjectElement {
823
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
824
+ get title(): StringElement | undefined;
825
+ set title(title: StringElement | undefined);
826
+ get description(): StringElement | undefined;
827
+ set description(description: StringElement | undefined);
828
+ get termsOfService(): StringElement | undefined;
829
+ set termsOfService(tos: StringElement | undefined);
830
+ get contact(): ContactElement | undefined;
831
+ set contact(contactElement: ContactElement | undefined);
832
+ get license(): LicenseElement | undefined;
833
+ set license(licenseElement: LicenseElement | undefined);
834
+ get version(): StringElement | undefined;
835
+ set version(version: StringElement | undefined);
836
+ }
837
+
838
+ /**
839
+ * @public
840
+ */
841
+ export declare class InfoVersionVisitor extends FallbackVisitor {
842
+ readonly element: StringElement;
843
+ StringElement(stringElement: StringElement): {};
844
+ }
845
+
846
+ /**
847
+ * @public
848
+ */
849
+ export declare class InfoVisitor extends InfoVisitor_base {
850
+ readonly element: InfoElement;
851
+ protected readonly specPath: SpecPath<['document', 'objects', 'Info']>;
852
+ protected readonly canSupportSpecificationExtensions: true;
853
+ constructor(options: InfoVisitorOptions);
854
+ }
855
+
856
+ declare const InfoVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
857
+
858
+ /**
859
+ * @public
860
+ */
861
+ export declare interface InfoVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
862
+ }
863
+
864
+ export { isArrayElement }
865
+
866
+ export { isBooleanElement }
867
+
868
+ /**
869
+ * @public
870
+ */
871
+ export declare const isBooleanJsonSchemaElement: ElementPredicate<BooleanElement>;
872
+
873
+ /**
874
+ * @public
875
+ */
876
+ export declare const isCallbackElement: ElementPredicate<CallbackElement>;
877
+
878
+ /**
879
+ * @public
880
+ */
881
+ export declare const isComponentsElement: ElementPredicate<ComponentsElement>;
882
+
883
+ /**
884
+ * @public
885
+ */
886
+ export declare const isContactElement: ElementPredicate<ContactElement>;
887
+
888
+ export { isElement }
889
+
890
+ /**
891
+ * @public
892
+ */
893
+ export declare const isExampleElement: ElementPredicate<ExampleElement>;
894
+
895
+ /**
896
+ * @public
897
+ */
898
+ export declare const isExternalDocumentationElement: ElementPredicate<ExternalDocumentationElement>;
899
+
900
+ /**
901
+ * @public
902
+ */
903
+ declare const isHeaderElement: ElementPredicate<HeaderElement>;
904
+
905
+ /**
906
+ * @public
907
+ */
908
+ export declare const isInfoElement: ElementPredicate<InfoElement>;
909
+
910
+ /**
911
+ * @public
912
+ */
913
+ export declare const isLicenseElement: ElementPredicate<LicenseElement>;
914
+
915
+ /**
916
+ * @public
917
+ */
918
+ export declare const isLinkElement: ElementPredicate<LinkElement>;
919
+
920
+ export { isLinkPrimitiveElement }
921
+
922
+ /**
923
+ * @public
924
+ */
925
+ export declare const isMediaTypeElement: ElementPredicate<MediaTypeElement>;
926
+
927
+ export { isMemberElement }
928
+
929
+ export { isNullElement }
930
+
931
+ export { isNumberElement }
932
+
933
+ export { isObjectElement }
934
+
935
+ /**
936
+ * @public
937
+ */
938
+ export declare const isOpenApi3_0Element: ElementPredicate<OpenApi3_0Element>;
939
+
940
+ /**
941
+ * @public
942
+ */
943
+ export declare const isOpenapiElement: ElementPredicate<OpenapiElement>;
944
+
945
+ /**
946
+ * @public
947
+ */
948
+ export declare const isOpenApiExtension: (element: MemberElement) => boolean;
949
+
950
+ /**
951
+ * @public
952
+ */
953
+ export declare const isOperationElement: ElementPredicate<OperationElement>;
954
+
955
+ /**
956
+ * @public
957
+ */
958
+ export declare const isParameterElement: ElementPredicate<ParameterElement>;
959
+
960
+ /**
961
+ * @public
962
+ */
963
+ export declare const isPathItemElement: ElementPredicate<PathItemElement>;
964
+
965
+ /**
966
+ * @public
967
+ */
968
+ export declare const isPathsElement: ElementPredicate<PathsElement>;
969
+
970
+ export { isRefElement }
971
+
972
+ /**
973
+ * @public
974
+ */
975
+ export declare const isReferenceElement: ElementPredicate<ReferenceElement>;
976
+
977
+ /**
978
+ * @public
979
+ */
980
+ export declare const isReferenceLikeElement: (element: unknown) => element is ReferenceLikeElement;
981
+
982
+ /**
983
+ * @public
984
+ */
985
+ export declare const isRequestBodyElement: ElementPredicate<RequestBodyElement>;
986
+
987
+ /**
988
+ * @public
989
+ */
990
+ export declare const isResponseElement: ElementPredicate<ResponseElement>;
991
+
992
+ /**
993
+ * @public
994
+ */
995
+ export declare const isResponsesElement: ElementPredicate<ResponsesElement>;
996
+
997
+ /**
998
+ * @public
999
+ */
1000
+ export declare const isSchemaElement: ElementPredicate<SchemaElement>;
1001
+
1002
+ /**
1003
+ * @public
1004
+ */
1005
+ export declare const isSecurityRequirementElement: ElementPredicate<SecurityRequirementElement>;
1006
+
1007
+ /**
1008
+ * @public
1009
+ */
1010
+ export declare const isSecuritySchemeElement: ElementPredicate<SecuritySchemeElement>;
1011
+
1012
+ /**
1013
+ * @public
1014
+ */
1015
+ export declare const isServerElement: ElementPredicate<ServerElement>;
1016
+
1017
+ /**
1018
+ * @public
1019
+ */
1020
+ export declare const isServerLikeElement: ElementPredicate<ObjectElement_2>;
1021
+
1022
+ /**
1023
+ * @public
1024
+ */
1025
+ export declare const isServersElement: ElementPredicate<ServersElement>;
1026
+
1027
+ /**
1028
+ * @public
1029
+ */
1030
+ export declare const isServerVariableElement: ElementPredicate<ServerVariableElement>;
1031
+
1032
+ export { isStringElement }
1033
+
1034
+ /**
1035
+ * @public
1036
+ */
1037
+ export declare const isTagLikeElement: ElementPredicate<ObjectElement_2>;
1038
+
1039
+ /**
1040
+ * @public
1041
+ */
1042
+ export declare const JSONSchemaAllOfVisitor: typeof AllOfVisitor;
1043
+
1044
+ /**
1045
+ * @public
1046
+ */
1047
+ export declare const JSONSchemaAnyOfVisitor: typeof AnyOfVisitor;
1048
+
1049
+ /**
1050
+ * @public
1051
+ */
1052
+ export declare const JSONSchemaItemsVisitor: typeof ItemsVisitor;
1053
+
1054
+ /**
1055
+ * @public
1056
+ */
1057
+ export declare const JSONSchemaOneOfVisitor: typeof OneOfVisitor;
1058
+
1059
+ /**
1060
+ * @public
1061
+ */
1062
+ export declare const JSONSchemaOrJSONReferenceVisitor: typeof SchemaOrReferenceVisitor_2;
1063
+
1064
+ /**
1065
+ * @public
1066
+ */
1067
+ export declare const JSONSchemaPropertiesVisitor: typeof PropertiesVisitor;
1068
+
1069
+ /**
1070
+ * @public
1071
+ */
1072
+ export declare const JSONSchemaTypeVisitor: typeof TypeVisitor;
1073
+
1074
+ /**
1075
+ * There are unfortunately two `LinkElement` types. One is from base namespace
1076
+ * and the other one if from this namespace. `LinkElement` from base namespace
1077
+ * is used extremely rarely, so it's almost always safe during traversing
1078
+ * to assume that `LinkElement` is element from this namespace.
1079
+ *
1080
+ * To be 100% sure that currently visiting `LinkElement` is from this namespace
1081
+ * use `isLinkElement` predicate from this namespace to assert for it.
1082
+ * @public
1083
+ */
1084
+ export declare const keyMap: {
1085
+ ObjectElement: string[];
1086
+ ArrayElement: string[];
1087
+ MemberElement: string[];
1088
+ StringElement: never[];
1089
+ BooleanElement: never[];
1090
+ NumberElement: never[];
1091
+ NullElement: never[];
1092
+ RefElement: never[];
1093
+ LinkElement: never[];
1094
+ Annotation: never[];
1095
+ Comment: never[];
1096
+ ParseResultElement: string[];
1097
+ SourceMap: string[];
1098
+ CallbackElement: string[];
1099
+ ComponentsElement: string[];
1100
+ ContactElement: string[];
1101
+ DiscriminatorElement: string[];
1102
+ Encoding: string[];
1103
+ Example: string[];
1104
+ ExternalDocumentationElement: string[];
1105
+ HeaderElement: string[];
1106
+ InfoElement: string[];
1107
+ LicenseElement: string[];
1108
+ MediaTypeElement: string[];
1109
+ OAuthFlowElement: string[];
1110
+ OAuthFlowsElement: string[];
1111
+ OpenApi3_0Element: string[];
1112
+ OperationElement: string[];
1113
+ ParameterElement: string[];
1114
+ PathItemElement: string[];
1115
+ PathsElement: string[];
1116
+ ReferenceElement: string[];
1117
+ RequestBodyElement: string[];
1118
+ ResponseElement: string[];
1119
+ ResponsesElement: string[];
1120
+ SchemaElement: string[];
1121
+ SecurityRequirementElement: string[];
1122
+ SecuritySchemeElement: string[];
1123
+ ServerElement: string[];
1124
+ ServerVariableElement: string[];
1125
+ TagElement: string[];
1126
+ };
1127
+
1128
+ /**
1129
+ * @public
1130
+ */
1131
+ export declare class LicenseElement extends ObjectElement {
1132
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1133
+ get name(): StringElement | undefined;
1134
+ set name(name: StringElement | undefined);
1135
+ get url(): StringElement | undefined;
1136
+ set url(url: StringElement | undefined);
1137
+ }
1138
+
1139
+ /**
1140
+ * @public
1141
+ */
1142
+ export declare class LicenseVisitor extends LicenseVisitor_base {
1143
+ readonly element: LicenseElement;
1144
+ protected readonly specPath: SpecPath<['document', 'objects', 'License']>;
1145
+ protected readonly canSupportSpecificationExtensions: true;
1146
+ constructor(options: LicenseVisitorOptions);
1147
+ }
1148
+
1149
+ declare const LicenseVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1150
+
1151
+ /**
1152
+ * @public
1153
+ */
1154
+ export declare interface LicenseVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1155
+ }
1156
+
1157
+ /**
1158
+ * @public
1159
+ */
1160
+ export declare class LinkElement extends ObjectElement {
1161
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1162
+ get operationRef(): StringElement | undefined;
1163
+ set operationRef(operationRef: StringElement | undefined);
1164
+ get operationId(): StringElement | undefined;
1165
+ set operationId(operationId: StringElement | undefined);
1166
+ get operation(): OperationElement | undefined;
1167
+ set operation(operation: OperationElement | undefined);
1168
+ get parameters(): ObjectElement | undefined;
1169
+ set parameters(parameters: ObjectElement | undefined);
1170
+ get requestBody(): Element_2 | undefined;
1171
+ set requestBody(requestBody: Element_2 | undefined);
1172
+ get description(): StringElement | undefined;
1173
+ set description(description: StringElement | undefined);
1174
+ get server(): ServerElement | undefined;
1175
+ set server(server: ServerElement | undefined);
1176
+ }
1177
+
1178
+ /**
1179
+ * @public
1180
+ */
1181
+ export declare class LinkOperationIdVisitor extends FallbackVisitor {
1182
+ readonly element: StringElement;
1183
+ StringElement(stringElement: StringElement): {};
1184
+ }
1185
+
1186
+ /**
1187
+ * @public
1188
+ */
1189
+ export declare class LinkOperationRefVisitor extends FallbackVisitor {
1190
+ readonly element: StringElement;
1191
+ StringElement(stringElement: StringElement): {};
1192
+ }
1193
+
1194
+ /**
1195
+ * @public
1196
+ */
1197
+ export declare class LinkParametersElement extends ObjectElement {
1198
+ static primaryClass: string;
1199
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1200
+ }
1201
+
1202
+ /**
1203
+ * @public
1204
+ */
1205
+ export declare class LinkParametersVisitor extends ParametersVisitor_base_3 {
1206
+ readonly element: LinkParametersElement;
1207
+ protected readonly specPath: SpecPath<['value']>;
1208
+ constructor(options: LinkParametersVisitorOptions);
1209
+ }
1210
+
1211
+ /**
1212
+ * @public
1213
+ */
1214
+ export declare interface LinkParametersVisitorOptions extends MapVisitorOptions, VisitorOptions {
1215
+ }
1216
+
1217
+ declare const LinksVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1218
+
1219
+ declare const LinksVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1220
+
1221
+ /**
1222
+ * @public
1223
+ */
1224
+ export declare class LinkVisitor extends LinkVisitor_base {
1225
+ readonly element: LinkElement;
1226
+ protected readonly specPath: SpecPath<['document', 'objects', 'Link']>;
1227
+ protected readonly canSupportSpecificationExtensions: true;
1228
+ constructor(options: LinkVisitorOptions);
1229
+ ObjectElement(objectElement: ObjectElement): {};
1230
+ }
1231
+
1232
+ declare const LinkVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1233
+
1234
+ /**
1235
+ * @public
1236
+ */
1237
+ export declare interface LinkVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1238
+ }
1239
+
1240
+ declare const MappingVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1241
+
1242
+ /**
1243
+ * @public
1244
+ */
1245
+ export declare class MapVisitor extends PatternedFieldsVisitor {
1246
+ constructor(options: MapVisitorOptions);
1247
+ }
1248
+
1249
+ /**
1250
+ * @public
1251
+ */
1252
+ export declare interface MapVisitorOptions extends PatternedFieldsVisitorOptions {
1253
+ }
1254
+
1255
+ /**
1256
+ * @public
1257
+ */
1258
+ export declare class MediaTypeElement extends ObjectElement {
1259
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1260
+ get schema(): SchemaElement | ReferenceElement | undefined;
1261
+ set schema(schema: SchemaElement | ReferenceElement | undefined);
1262
+ get example(): Element_2 | undefined;
1263
+ set example(example: Element_2 | undefined);
1264
+ get examples(): ObjectElement | undefined;
1265
+ set examples(examples: ObjectElement | undefined);
1266
+ get encoding(): ObjectElement | undefined;
1267
+ set encoding(encoding: ObjectElement | undefined);
1268
+ }
1269
+
1270
+ /**
1271
+ * @public
1272
+ */
1273
+ export declare class MediaTypeEncodingElement extends ObjectElement {
1274
+ static primaryClass: string;
1275
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1276
+ }
1277
+
1278
+ /**
1279
+ * @public
1280
+ */
1281
+ export declare class MediaTypeEncodingVisitor extends EncodingVisitor_base {
1282
+ readonly element: MediaTypeEncodingElement;
1283
+ protected readonly specPath: SpecPath<['document', 'objects', 'Encoding']>;
1284
+ constructor(options: MediaTypeEncodingVisitorOptions);
1285
+ }
1286
+
1287
+ /**
1288
+ * @public
1289
+ */
1290
+ export declare interface MediaTypeEncodingVisitorOptions extends MapVisitorOptions, VisitorOptions {
1291
+ }
1292
+
1293
+ /**
1294
+ * @public
1295
+ */
1296
+ export declare class MediaTypeExamplesElement extends ObjectElement {
1297
+ static primaryClass: string;
1298
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1299
+ }
1300
+
1301
+ /**
1302
+ * @public
1303
+ */
1304
+ export declare class MediaTypeExamplesVisitor extends ExamplesVisitor {
1305
+ readonly element: MediaTypeExamplesElement;
1306
+ constructor(options: ExamplesVisitorOptions);
1307
+ }
1308
+
1309
+ /**
1310
+ * @public
1311
+ */
1312
+ export declare const mediaTypes: OpenAPIMediaTypes;
1313
+
1314
+ /**
1315
+ * @public
1316
+ */
1317
+ export declare class MediaTypeSchemaVisitor extends SchemaVisitor_base_2 {
1318
+ constructor(options: MediaTypeSchemaVisitorOptions);
1319
+ ObjectElement(objectElement: ObjectElement): {};
1320
+ }
1321
+
1322
+ /**
1323
+ * @public
1324
+ */
1325
+ export declare interface MediaTypeSchemaVisitorOptions extends AlternatingVisitorOptions, VisitorOptions {
1326
+ }
1327
+
1328
+ /**
1329
+ * @public
1330
+ */
1331
+ export declare class MediaTypeVisitor extends MediaTypeVisitor_base {
1332
+ readonly element: MediaTypeElement;
1333
+ protected readonly specPath: SpecPath<['document', 'objects', 'MediaType']>;
1334
+ protected readonly canSupportSpecificationExtensions: true;
1335
+ constructor(options: MediaTypeVisitorOptions);
1336
+ }
1337
+
1338
+ declare const MediaTypeVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1339
+
1340
+ /**
1341
+ * @public
1342
+ */
1343
+ export declare interface MediaTypeVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1344
+ }
1345
+
1346
+ /**
1347
+ * @public
1348
+ */
1349
+ export declare class MixedFieldsVisitor extends MixedFieldsVisitor_base {
1350
+ protected specPathFixedFields: SpecPath;
1351
+ protected specPathPatternedFields: SpecPath;
1352
+ constructor({ specPathFixedFields, specPathPatternedFields, ...rest }: MixedFieldsVisitorOptions);
1353
+ ObjectElement(objectElement: ObjectElement): {};
1354
+ }
1355
+
1356
+ declare const MixedFieldsVisitor_base: Class<any[], FixedFieldsVisitor & PatternedFieldsVisitor, typeof FixedFieldsVisitor & typeof PatternedFieldsVisitor>;
1357
+
1358
+ /**
1359
+ * @public
1360
+ */
1361
+ export declare interface MixedFieldsVisitorOptions extends PatternedFieldsVisitorOptions {
1362
+ readonly specPathFixedFields: SpecPath;
1363
+ readonly specPathPatternedFields: SpecPath;
1364
+ }
1365
+
1366
+ /**
1367
+ * @public
1368
+ */
1369
+ export declare class OAuthFlowElement extends ObjectElement {
1370
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1371
+ get authorizationUrl(): StringElement | undefined;
1372
+ set authorizationUrl(authorizationUrl: StringElement | undefined);
1373
+ get tokenUrl(): StringElement | undefined;
1374
+ set tokenUrl(tokenUrl: StringElement | undefined);
1375
+ get refreshUrl(): StringElement | undefined;
1376
+ set refreshUrl(refreshUrl: StringElement | undefined);
1377
+ get scopes(): ObjectElement | undefined;
1378
+ set scopes(scopes: ObjectElement | undefined);
1379
+ }
1380
+
1381
+ /**
1382
+ * @public
1383
+ */
1384
+ export declare class OAuthFlowScopesElement extends ObjectElement {
1385
+ static primaryClass: string;
1386
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1387
+ }
1388
+
1389
+ /**
1390
+ * @public
1391
+ */
1392
+ export declare class OAuthFlowScopesVisitor extends ScopesVisitor_base {
1393
+ readonly element: OAuthFlowScopesElement;
1394
+ protected readonly specPath: SpecPath<['value']>;
1395
+ constructor(options: OAuthFlowScopesVisitorOptions);
1396
+ }
1397
+
1398
+ /**
1399
+ * @public
1400
+ */
1401
+ export declare interface OAuthFlowScopesVisitorOptions extends MapVisitorOptions, VisitorOptions {
1402
+ }
1403
+
1404
+ /**
1405
+ * @public
1406
+ */
1407
+ export declare class OAuthFlowsElement extends ObjectElement {
1408
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1409
+ get implicit(): OAuthFlowElement | undefined;
1410
+ set implicit(implicit: OAuthFlowElement | undefined);
1411
+ get password(): OAuthFlowElement | undefined;
1412
+ set password(password: OAuthFlowElement | undefined);
1413
+ get clientCredentials(): OAuthFlowElement | undefined;
1414
+ set clientCredentials(clientCredentials: OAuthFlowElement | undefined);
1415
+ get authorizationCode(): OAuthFlowElement | undefined;
1416
+ set authorizationCode(authorizationCode: OAuthFlowElement | undefined);
1417
+ }
1418
+
1419
+ /**
1420
+ * @public
1421
+ */
1422
+ export declare class OAuthFlowsVisitor extends OAuthFlowsVisitor_base {
1423
+ readonly element: OAuthFlowsElement;
1424
+ protected readonly specPath: SpecPath<['document', 'objects', 'OAuthFlows']>;
1425
+ protected readonly canSupportSpecificationExtensions: true;
1426
+ constructor(options: OAuthFlowsVisitorOptions);
1427
+ }
1428
+
1429
+ declare const OAuthFlowsVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1430
+
1431
+ /**
1432
+ * @public
1433
+ */
1434
+ export declare interface OAuthFlowsVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1435
+ }
1436
+
1437
+ /**
1438
+ * @public
1439
+ */
1440
+ export declare class OAuthFlowVisitor extends OAuthFlowVisitor_base {
1441
+ readonly element: OAuthFlowElement;
1442
+ protected readonly specPath: SpecPath<['document', 'objects', 'OAuthFlow']>;
1443
+ protected readonly canSupportSpecificationExtensions: true;
1444
+ constructor(options: OAuthFlowVisitorOptions);
1445
+ }
1446
+
1447
+ declare const OAuthFlowVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1448
+
1449
+ /**
1450
+ * @public
1451
+ */
1452
+ export declare interface OAuthFlowVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1453
+ }
1454
+
1455
+ /**
1456
+ * @public
1457
+ */
1458
+ declare const openApi3_0: {
1459
+ namespace: (options: NamespacePluginOptions) => Namespace;
1460
+ };
1461
+ export default openApi3_0;
1462
+
1463
+ /**
1464
+ * @public
1465
+ */
1466
+ export declare class OpenApi3_0Element extends ObjectElement {
1467
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1468
+ get openapi(): OpenapiElement | undefined;
1469
+ set openapi(openapi: OpenapiElement | undefined);
1470
+ get info(): InfoElement | undefined;
1471
+ set info(info: InfoElement | undefined);
1472
+ get servers(): ArrayElement | undefined;
1473
+ set servers(servers: ArrayElement | undefined);
1474
+ get paths(): PathsElement | undefined;
1475
+ set paths(paths: PathsElement | undefined);
1476
+ get components(): ComponentsElement | undefined;
1477
+ set components(components: ComponentsElement | undefined);
1478
+ get security(): ArrayElement | undefined;
1479
+ set security(security: ArrayElement | undefined);
1480
+ get tags(): ArrayElement | undefined;
1481
+ set tags(tags: ArrayElement | undefined);
1482
+ get externalDocs(): ExternalDocumentationElement | undefined;
1483
+ set externalDocs(externalDocs: ExternalDocumentationElement | undefined);
1484
+ }
1485
+
1486
+ declare namespace openApi3_0Predicates {
1487
+ export {
1488
+ isCallbackElement,
1489
+ isComponentsElement,
1490
+ isContactElement,
1491
+ isExampleElement,
1492
+ isExternalDocumentationElement,
1493
+ isHeaderElement,
1494
+ isInfoElement,
1495
+ isLicenseElement,
1496
+ isLinkElement,
1497
+ isOpenapiElement,
1498
+ isOpenApi3_0Element,
1499
+ isOperationElement,
1500
+ isParameterElement,
1501
+ isPathItemElement,
1502
+ isPathsElement,
1503
+ isReferenceElement,
1504
+ isRequestBodyElement,
1505
+ isResponseElement,
1506
+ isResponsesElement,
1507
+ isSchemaElement,
1508
+ isBooleanJsonSchemaElement,
1509
+ isSecurityRequirementElement,
1510
+ isSecuritySchemeElement,
1511
+ isServerElement,
1512
+ isServerVariableElement,
1513
+ isMediaTypeElement,
1514
+ isServersElement
1515
+ }
1516
+ }
1517
+ export { openApi3_0Predicates }
1518
+
1519
+ /**
1520
+ * @public
1521
+ */
1522
+ export declare class OpenApi3_0Visitor extends OpenApi3_0Visitor_base {
1523
+ readonly element: OpenApi3_0Element;
1524
+ protected readonly specPath: SpecPath<['document', 'objects', 'OpenApi']>;
1525
+ protected readonly canSupportSpecificationExtensions: true;
1526
+ constructor(options: OpenApi3_0VisitorOptions);
1527
+ ObjectElement(objectElement: ObjectElement): {};
1528
+ }
1529
+
1530
+ declare const OpenApi3_0Visitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1531
+
1532
+ /**
1533
+ * @public
1534
+ */
1535
+ export declare interface OpenApi3_0VisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1536
+ }
1537
+
1538
+ /**
1539
+ * @public
1540
+ */
1541
+ export declare class OpenapiElement extends StringElement {
1542
+ constructor(content?: string, meta?: Meta, attributes?: Attributes);
1543
+ }
1544
+
1545
+ /**
1546
+ * @public
1547
+ */
1548
+ export declare class OpenAPIMediaTypes extends MediaTypes<string> {
1549
+ filterByFormat(format?: Format): string[];
1550
+ findBy(version?: string, format?: Format): string;
1551
+ latest(format?: Format): string;
1552
+ }
1553
+
1554
+ /**
1555
+ * @public
1556
+ */
1557
+ export declare class OpenapiVisitor extends OpenapiVisitor_base {
1558
+ element: OpenapiElement;
1559
+ StringElement(stringElement: StringElement): {};
1560
+ }
1561
+
1562
+ declare const OpenapiVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
1563
+
1564
+ /**
1565
+ * @public
1566
+ */
1567
+ export declare interface OpenapiVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
1568
+ }
1569
+
1570
+ /**
1571
+ * @public
1572
+ */
1573
+ export declare class OperationCallbacksElement extends ObjectElement {
1574
+ static primaryClass: string;
1575
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1576
+ }
1577
+
1578
+ /**
1579
+ * @public
1580
+ */
1581
+ export declare class OperationCallbacksVisitor extends CallbacksVisitor_base_2 {
1582
+ readonly element: OperationCallbacksElement;
1583
+ protected readonly specPath: SpecPath<[
1584
+ 'document',
1585
+ 'objects',
1586
+ 'Reference'
1587
+ ] | ['document', 'objects', 'Callback']>;
1588
+ constructor(options: OperationCallbacksVisitorOptions);
1589
+ ObjectElement(objectElement: ObjectElement): {};
1590
+ }
1591
+
1592
+ /**
1593
+ * @public
1594
+ */
1595
+ export declare interface OperationCallbacksVisitorOptions extends MapVisitorOptions, VisitorOptions {
1596
+ }
1597
+
1598
+ /**
1599
+ * @public
1600
+ */
1601
+ export declare class OperationElement extends ObjectElement {
1602
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1603
+ get tags(): ArrayElement | undefined;
1604
+ set tags(tags: ArrayElement | undefined);
1605
+ get summary(): StringElement | undefined;
1606
+ set summary(description: StringElement | undefined);
1607
+ get description(): StringElement | undefined;
1608
+ set description(description: StringElement | undefined);
1609
+ set externalDocs(externalDocs: ExternalDocumentationElement | undefined);
1610
+ get externalDocs(): ExternalDocumentationElement | undefined;
1611
+ get operationId(): StringElement | undefined;
1612
+ set operationId(operationId: StringElement | undefined);
1613
+ get parameters(): ArrayElement | undefined;
1614
+ set parameters(parameters: ArrayElement | undefined);
1615
+ get requestBody(): RequestBodyElement | ReferenceElement | undefined;
1616
+ set requestBody(requestBody: RequestBodyElement | ReferenceElement | undefined);
1617
+ get responses(): ResponsesElement | undefined;
1618
+ set responses(responses: ResponsesElement | undefined);
1619
+ get callbacks(): ObjectElement | undefined;
1620
+ set callbacks(callbacks: ObjectElement | undefined);
1621
+ get deprecated(): BooleanElement;
1622
+ set deprecated(deprecated: BooleanElement);
1623
+ get security(): ArrayElement | undefined;
1624
+ set security(security: ArrayElement | undefined);
1625
+ get servers(): ArrayElement | undefined;
1626
+ set servers(servers: ArrayElement | undefined);
1627
+ }
1628
+
1629
+ /**
1630
+ * @public
1631
+ */
1632
+ export declare class OperationParametersElement extends ArrayElement {
1633
+ static primaryClass: string;
1634
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
1635
+ }
1636
+
1637
+ /**
1638
+ * @public
1639
+ */
1640
+ export declare class OperationParametersVisitor extends ParametersVisitor {
1641
+ readonly element: OperationParametersElement;
1642
+ constructor(options: ParametersVisitorOptions);
1643
+ }
1644
+
1645
+ /**
1646
+ * @public
1647
+ */
1648
+ export declare class OperationRequestBodyVisitor extends AlternatingVisitor {
1649
+ constructor(options: OperationRequestBodyVisitorOptions);
1650
+ ObjectElement(objectElement: ObjectElement): {};
1651
+ }
1652
+
1653
+ /**
1654
+ * @public
1655
+ */
1656
+ export declare interface OperationRequestBodyVisitorOptions extends AlternatingVisitorOptions, VisitorOptions {
1657
+ }
1658
+
1659
+ /**
1660
+ * @public
1661
+ */
1662
+ export declare class OperationSecurityElement extends ArrayElement {
1663
+ static primaryClass: string;
1664
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
1665
+ }
1666
+
1667
+ /**
1668
+ * @public
1669
+ */
1670
+ export declare class OperationSecurityVisitor extends SecurityVisitor_base_2 {
1671
+ readonly element: OperationSecurityElement;
1672
+ constructor(options: OperationSecurityVisitorOptions);
1673
+ ArrayElement(arrayElement: ArrayElement): {};
1674
+ }
1675
+
1676
+ /**
1677
+ * @public
1678
+ */
1679
+ export declare interface OperationSecurityVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
1680
+ }
1681
+
1682
+ /**
1683
+ * @public
1684
+ */
1685
+ export declare class OperationServersElement extends ArrayElement {
1686
+ static primaryClass: string;
1687
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
1688
+ }
1689
+
1690
+ /**
1691
+ * @public
1692
+ */
1693
+ export declare class OperationServersVisitor extends ServersVisitor {
1694
+ readonly element: OperationServersElement;
1695
+ constructor(options: ServersVisitorOptions);
1696
+ }
1697
+
1698
+ /**
1699
+ * @public
1700
+ */
1701
+ export declare class OperationTagsElement extends ArrayElement {
1702
+ static primaryClass: string;
1703
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
1704
+ }
1705
+
1706
+ /**
1707
+ * @public
1708
+ */
1709
+ export declare class OperationTagsVisitor extends FallbackVisitor {
1710
+ element: OperationTagsElement;
1711
+ constructor(options: OperationTagsVisitorOptions);
1712
+ ArrayElement(arrayElement: ArrayElement): {};
1713
+ }
1714
+
1715
+ /**
1716
+ * @public
1717
+ */
1718
+ export declare interface OperationTagsVisitorOptions extends VisitorOptions {
1719
+ }
1720
+
1721
+ /**
1722
+ * @public
1723
+ */
1724
+ export declare class OperationVisitor extends OperationVisitor_base {
1725
+ readonly element: OperationElement;
1726
+ protected readonly specPath: SpecPath<['document', 'objects', 'Operation']>;
1727
+ constructor(options: OperationVisitorOptions);
1728
+ }
1729
+
1730
+ declare const OperationVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1731
+
1732
+ /**
1733
+ * @public
1734
+ */
1735
+ export declare interface OperationVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1736
+ }
1737
+
1738
+ /**
1739
+ * @public
1740
+ */
1741
+ export declare class ParameterContentElement extends ObjectElement {
1742
+ static primaryClass: string;
1743
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1744
+ }
1745
+
1746
+ /**
1747
+ * @public
1748
+ */
1749
+ export declare class ParameterContentVisitor extends ContentVisitor {
1750
+ readonly element: ParameterContentElement;
1751
+ constructor(options: ContentVisitorOptions);
1752
+ }
1753
+
1754
+ /**
1755
+ * @public
1756
+ */
1757
+ export declare class ParameterElement extends ObjectElement {
1758
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1759
+ get name(): StringElement | undefined;
1760
+ set name(name: StringElement | undefined);
1761
+ get in(): StringElement | undefined;
1762
+ set in(val: StringElement | undefined);
1763
+ get required(): BooleanElement;
1764
+ set required(required: BooleanElement);
1765
+ get deprecated(): BooleanElement;
1766
+ set deprecated(deprecated: BooleanElement);
1767
+ get allowEmptyValue(): BooleanElement | undefined;
1768
+ set allowEmptyValue(allowEmptyValue: BooleanElement | undefined);
1769
+ get style(): StringElement | undefined;
1770
+ set style(style: StringElement | undefined);
1771
+ get explode(): BooleanElement | undefined;
1772
+ set explode(explode: BooleanElement | undefined);
1773
+ get allowReserved(): BooleanElement | undefined;
1774
+ set allowReserved(allowReserved: BooleanElement | undefined);
1775
+ get schema(): SchemaElement | ReferenceElement | undefined;
1776
+ set schema(schema: SchemaElement | ReferenceElement | undefined);
1777
+ get example(): Element_2 | undefined;
1778
+ set example(example: Element_2 | undefined);
1779
+ get examples(): ObjectElement | undefined;
1780
+ set examples(examples: ObjectElement | undefined);
1781
+ get contentProp(): ObjectElement | undefined;
1782
+ set contentProp(content: ObjectElement | undefined);
1783
+ }
1784
+
1785
+ /**
1786
+ * @public
1787
+ */
1788
+ export declare class ParameterExamplesElement extends ObjectElement {
1789
+ static primaryClass: string;
1790
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1791
+ }
1792
+
1793
+ /**
1794
+ * @public
1795
+ */
1796
+ export declare class ParameterExampleVisitor extends ExamplesVisitor {
1797
+ readonly element: ParameterExamplesElement;
1798
+ constructor(options: ExamplesVisitorOptions);
1799
+ }
1800
+
1801
+ /**
1802
+ * @public
1803
+ */
1804
+ export declare class ParameterSchemaVisitor extends SchemaVisitor_base {
1805
+ constructor(options: ParameterSchemaVisitorOptions);
1806
+ ObjectElement(objectElement: ObjectElement): {};
1807
+ }
1808
+
1809
+ /**
1810
+ * @public
1811
+ */
1812
+ export declare interface ParameterSchemaVisitorOptions extends AlternatingVisitorOptions, VisitorOptions {
1813
+ }
1814
+
1815
+ /**
1816
+ * @public
1817
+ */
1818
+ export declare class ParametersVisitor extends ParametersVisitor_base_2 {
1819
+ readonly element: ArrayElement;
1820
+ constructor(options: ParametersVisitorOptions);
1821
+ ArrayElement(arrayElement: ArrayElement): {};
1822
+ }
1823
+
1824
+ declare const ParametersVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1825
+
1826
+ declare const ParametersVisitor_base_2: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
1827
+
1828
+ declare const ParametersVisitor_base_3: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1829
+
1830
+ /**
1831
+ * @public
1832
+ */
1833
+ declare interface ParametersVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
1834
+ }
1835
+ export { ParametersVisitorOptions as OperationParametersVisitorOptions }
1836
+ export { ParametersVisitorOptions }
1837
+ export { ParametersVisitorOptions as PathItemParametersVisitorOptions }
1838
+
1839
+ /**
1840
+ * @public
1841
+ */
1842
+ export declare class ParameterVisitor extends ParameterVisitor_base {
1843
+ readonly element: ParameterElement;
1844
+ protected readonly specPath: SpecPath<['document', 'objects', 'Parameter']>;
1845
+ protected readonly canSupportSpecificationExtensions: true;
1846
+ constructor(options: ParameterVisitorOptions);
1847
+ ObjectElement(objectElement: ObjectElement): {};
1848
+ }
1849
+
1850
+ declare const ParameterVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1851
+
1852
+ /**
1853
+ * @public
1854
+ */
1855
+ export declare interface ParameterVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1856
+ }
1857
+
1858
+ /**
1859
+ * @public
1860
+ */
1861
+ export declare class PathItem$RefVisitor extends FallbackVisitor {
1862
+ readonly element: StringElement;
1863
+ StringElement(stringElement: StringElement): {};
1864
+ }
1865
+
1866
+ /**
1867
+ * @public
1868
+ */
1869
+ export declare class PathItemElement extends ObjectElement {
1870
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1871
+ get $ref(): StringElement | undefined;
1872
+ set $ref($ref: StringElement | undefined);
1873
+ get summary(): StringElement | undefined;
1874
+ set summary(summary: StringElement | undefined);
1875
+ get description(): StringElement;
1876
+ set description(description: StringElement | undefined);
1877
+ get GET(): OperationElement;
1878
+ set GET(operation: OperationElement | undefined);
1879
+ get PUT(): OperationElement;
1880
+ set PUT(operation: OperationElement | undefined);
1881
+ get POST(): OperationElement;
1882
+ set POST(operation: OperationElement | undefined);
1883
+ get DELETE(): OperationElement;
1884
+ set DELETE(operation: OperationElement | undefined);
1885
+ get OPTIONS(): OperationElement;
1886
+ set OPTIONS(operation: OperationElement | undefined);
1887
+ get HEAD(): OperationElement;
1888
+ set HEAD(operation: OperationElement | undefined);
1889
+ get PATCH(): OperationElement;
1890
+ set PATCH(operation: OperationElement | undefined);
1891
+ get TRACE(): OperationElement;
1892
+ set TRACE(operation: OperationElement | undefined);
1893
+ get servers(): ArrayElement | undefined;
1894
+ set servers(servers: ArrayElement | undefined);
1895
+ get parameters(): ArrayElement;
1896
+ set parameters(parameters: ArrayElement | undefined);
1897
+ }
1898
+
1899
+ /**
1900
+ * @public
1901
+ */
1902
+ export declare class PathItemParametersElement extends ArrayElement {
1903
+ static primaryClass: string;
1904
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
1905
+ }
1906
+
1907
+ /**
1908
+ * @public
1909
+ */
1910
+ export declare class PathItemParametersVisitor extends ParametersVisitor {
1911
+ readonly element: PathItemParametersElement;
1912
+ constructor(options: ParametersVisitorOptions);
1913
+ }
1914
+
1915
+ /**
1916
+ * @public
1917
+ */
1918
+ export declare class PathItemServersElement extends ArrayElement {
1919
+ static primaryClass: string;
1920
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
1921
+ }
1922
+
1923
+ /**
1924
+ * @public
1925
+ */
1926
+ export declare class PathItemServersVisitor extends ServersVisitor {
1927
+ readonly element: PathItemServersElement;
1928
+ constructor(options: ServersVisitorOptions);
1929
+ }
1930
+
1931
+ /**
1932
+ * @public
1933
+ */
1934
+ export declare class PathItemVisitor extends PathItemVisitor_base {
1935
+ readonly element: PathItemElement;
1936
+ protected readonly specPath: SpecPath<['document', 'objects', 'PathItem']>;
1937
+ constructor(options: PathItemVisitorOptions);
1938
+ ObjectElement(objectElement: ObjectElement): {};
1939
+ }
1940
+
1941
+ declare const PathItemVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1942
+
1943
+ /**
1944
+ * @public
1945
+ */
1946
+ export declare interface PathItemVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
1947
+ }
1948
+
1949
+ /**
1950
+ * @public
1951
+ */
1952
+ export declare class PathsElement extends ObjectElement {
1953
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1954
+ }
1955
+
1956
+ /**
1957
+ * @public
1958
+ */
1959
+ export declare class PathsVisitor extends PathsVisitor_base {
1960
+ readonly element: PathsElement;
1961
+ protected readonly specPath: SpecPath<['document', 'objects', 'PathItem']>;
1962
+ protected readonly canSupportSpecificationExtensions: true;
1963
+ constructor(options: PathsVisitorOptions);
1964
+ ObjectElement(objectElement: ObjectElement): {};
1965
+ }
1966
+
1967
+ declare const PathsVisitor_base: Class<any[], PatternedFieldsVisitor & FallbackVisitor, typeof PatternedFieldsVisitor & typeof FallbackVisitor>;
1968
+
1969
+ /**
1970
+ * @public
1971
+ */
1972
+ export declare interface PathsVisitorOptions extends PatternedFieldsVisitorOptions, VisitorOptions {
1973
+ }
1974
+
1975
+ /**
1976
+ * @public
1977
+ */
1978
+ export declare class PatternedFieldsVisitor extends SpecificationVisitor {
1979
+ protected specPath: SpecPath;
1980
+ protected ignoredFields: string[];
1981
+ protected fieldPatternPredicate: (value: unknown) => boolean;
1982
+ protected canSupportSpecificationExtensions: boolean;
1983
+ protected specificationExtensionPredicate: (element: MemberElement) => boolean;
1984
+ constructor({ specPath, ignoredFields, fieldPatternPredicate, canSupportSpecificationExtensions, specificationExtensionPredicate, ...rest }: PatternedFieldsVisitorOptions);
1985
+ ObjectElement(objectElement: ObjectElement): {};
1986
+ }
1987
+
1988
+ /**
1989
+ * @public
1990
+ */
1991
+ export declare interface PatternedFieldsVisitorOptions extends SpecificationVisitorOptions {
1992
+ readonly specPath: SpecPath;
1993
+ readonly ignoredFields?: string[];
1994
+ readonly fieldPatternPredicate?: (...args: unknown[]) => boolean;
1995
+ readonly canSupportSpecificationExtensions?: boolean;
1996
+ readonly specificationExtensionPredicate?: typeof isOpenApiExtension;
1997
+ }
1998
+
1999
+ /**
2000
+ * @public
2001
+ */
2002
+ export declare class Reference$RefVisitor extends FallbackVisitor {
2003
+ readonly element: StringElement;
2004
+ StringElement(stringElement: StringElement): {};
2005
+ }
2006
+
2007
+ /**
2008
+ * @public
2009
+ */
2010
+ export declare class ReferenceElement extends ObjectElement {
2011
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2012
+ get $ref(): StringElement | undefined;
2013
+ set $ref($ref: StringElement | undefined);
2014
+ }
2015
+
2016
+ /**
2017
+ * @public
2018
+ */
2019
+ export declare interface ReferenceLikeElement extends ObjectElement_2 {
2020
+ hasKey: (value: '$ref') => true;
2021
+ }
2022
+
2023
+ /**
2024
+ * @public
2025
+ */
2026
+ export declare class ReferenceVisitor extends ReferenceVisitor_base {
2027
+ readonly element: ReferenceElement;
2028
+ protected readonly specPath: SpecPath<['document', 'objects', 'Reference']>;
2029
+ protected readonly canSupportSpecificationExtensions: false;
2030
+ constructor(options: ReferenceVisitorOptions);
2031
+ ObjectElement(objectElement: ObjectElement): {};
2032
+ }
2033
+
2034
+ declare const ReferenceVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2035
+
2036
+ /**
2037
+ * @public
2038
+ */
2039
+ export declare interface ReferenceVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2040
+ }
2041
+
2042
+ /**
2043
+ * @public
2044
+ */
2045
+ export declare const refract: <T extends Element_2>(value: unknown, { specPath, plugins }?: {
2046
+ specPath?: string[] | undefined;
2047
+ plugins?: never[] | undefined;
2048
+ }) => T;
2049
+
2050
+ /**
2051
+ * @public
2052
+ */
2053
+ export declare const refractorPluginReplaceEmptyElement: () => () => {
2054
+ visitor: {
2055
+ StringElement(element: StringElement, key: any, parent: any, path: any, ancestors: any[]): any;
2056
+ };
2057
+ };
2058
+
2059
+ declare const RequestBodiesVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2060
+
2061
+ /**
2062
+ * @public
2063
+ */
2064
+ export declare class RequestBodyContentElement extends ObjectElement {
2065
+ static primaryClass: string;
2066
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2067
+ }
2068
+
2069
+ /**
2070
+ * @public
2071
+ */
2072
+ export declare class RequestBodyContentVisitor extends ContentVisitor {
2073
+ readonly element: RequestBodyContentElement;
2074
+ constructor(options: ContentVisitorOptions);
2075
+ }
2076
+
2077
+ /**
2078
+ * @public
2079
+ */
2080
+ export declare class RequestBodyElement extends ObjectElement {
2081
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2082
+ get description(): StringElement | undefined;
2083
+ set description(description: StringElement | undefined);
2084
+ get contentProp(): ObjectElement | undefined;
2085
+ set contentProp(content: ObjectElement | undefined);
2086
+ get required(): BooleanElement;
2087
+ set required(required: BooleanElement);
2088
+ }
2089
+
2090
+ /**
2091
+ * @public
2092
+ */
2093
+ export declare class RequestBodyVisitor extends RequestBodyVisitor_base {
2094
+ readonly element: RequestBodyElement;
2095
+ protected readonly specPath: SpecPath<['document', 'objects', 'RequestBody']>;
2096
+ constructor(options: RequestBodyVisitorOptions);
2097
+ ObjectElement(objectElement: ObjectElement): {};
2098
+ }
2099
+
2100
+ declare const RequestBodyVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2101
+
2102
+ /**
2103
+ * @public
2104
+ */
2105
+ export declare interface RequestBodyVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2106
+ }
2107
+
2108
+ /**
2109
+ * @public
2110
+ */
2111
+ export declare class ResponseContentElement extends ObjectElement {
2112
+ static primaryClass: string;
2113
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2114
+ }
2115
+
2116
+ /**
2117
+ * @public
2118
+ */
2119
+ export declare class ResponseContentVisitor extends ContentVisitor {
2120
+ readonly element: ResponseContentElement;
2121
+ constructor(options: ContentVisitorOptions);
2122
+ }
2123
+
2124
+ /**
2125
+ * @public
2126
+ */
2127
+ export declare class ResponseElement extends ObjectElement {
2128
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2129
+ get description(): StringElement | undefined;
2130
+ set description(description: StringElement | undefined);
2131
+ get headers(): ObjectElement | undefined;
2132
+ set headers(headers: ObjectElement | undefined);
2133
+ get contentProp(): ObjectElement | undefined;
2134
+ set contentProp(contentProp: ObjectElement | undefined);
2135
+ get links(): ObjectElement | undefined;
2136
+ set links(links: ObjectElement | undefined);
2137
+ }
2138
+
2139
+ /**
2140
+ * @public
2141
+ */
2142
+ export declare class ResponseHeadersElement extends ObjectElement {
2143
+ static primaryClass: string;
2144
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2145
+ }
2146
+
2147
+ /**
2148
+ * @public
2149
+ */
2150
+ export declare class ResponseHeadersVisitor extends HeadersVisitor_base_3 {
2151
+ readonly element: ResponseHeadersElement;
2152
+ protected readonly specPath: SpecPath<[
2153
+ 'document',
2154
+ 'objects',
2155
+ 'Reference'
2156
+ ] | ['document', 'objects', 'Header']>;
2157
+ constructor(options: ResponseHeadersVisitorOptions);
2158
+ ObjectElement(objectElement: ObjectElement): {};
2159
+ }
2160
+
2161
+ /**
2162
+ * @public
2163
+ */
2164
+ export declare interface ResponseHeadersVisitorOptions extends MapVisitorOptions, VisitorOptions {
2165
+ }
2166
+
2167
+ /**
2168
+ * @public
2169
+ */
2170
+ export declare class ResponseLinksElement extends ObjectElement {
2171
+ static primaryClass: string;
2172
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2173
+ }
2174
+
2175
+ /**
2176
+ * @public
2177
+ */
2178
+ export declare class ResponseLinksVisitor extends LinksVisitor_base_2 {
2179
+ readonly element: ResponseLinksElement;
2180
+ protected readonly specPath: SpecPath<[
2181
+ 'document',
2182
+ 'objects',
2183
+ 'Reference'
2184
+ ] | ['document', 'objects', 'Link']>;
2185
+ constructor(options: ResponseLinksVisitorOptions);
2186
+ ObjectElement(objectElement: ObjectElement): {};
2187
+ }
2188
+
2189
+ /**
2190
+ * @public
2191
+ */
2192
+ export declare interface ResponseLinksVisitorOptions extends MapVisitorOptions, VisitorOptions {
2193
+ }
2194
+
2195
+ /**
2196
+ * @public
2197
+ */
2198
+ export declare class ResponsesDefaultVisitor extends DefaultVisitor_base {
2199
+ constructor(options: ResponsesDefaultVisitorOptions);
2200
+ ObjectElement(objectElement: ObjectElement): {};
2201
+ }
2202
+
2203
+ /**
2204
+ * @public
2205
+ */
2206
+ export declare interface ResponsesDefaultVisitorOptions extends AlternatingVisitorOptions, VisitorOptions {
2207
+ }
2208
+
2209
+ /**
2210
+ * @public
2211
+ */
2212
+ export declare class ResponsesElement extends ObjectElement {
2213
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2214
+ get default(): ResponseElement | ReferenceElement | undefined;
2215
+ set default(defaultValue: ResponseElement | ReferenceElement | undefined);
2216
+ }
2217
+
2218
+ /**
2219
+ * @public
2220
+ */
2221
+ export declare class ResponsesVisitor extends ResponsesVisitor_base_2 {
2222
+ readonly element: ResponsesElement;
2223
+ protected readonly specPathFixedFields: SpecPath<['document', 'objects', 'Responses']>;
2224
+ protected readonly canSupportSpecificationExtensions: true;
2225
+ protected readonly specPathPatternedFields: SpecPath<[
2226
+ 'document',
2227
+ 'objects',
2228
+ 'Reference'
2229
+ ] | ['document', 'objects', 'Response']>;
2230
+ constructor(options: ResponsesVisitorOptions);
2231
+ ObjectElement(objectElement: ObjectElement): {};
2232
+ }
2233
+
2234
+ declare const ResponsesVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2235
+
2236
+ declare const ResponsesVisitor_base_2: Class<any[], MixedFieldsVisitor & FallbackVisitor, typeof MixedFieldsVisitor & typeof FallbackVisitor>;
2237
+
2238
+ /**
2239
+ * @public
2240
+ */
2241
+ export declare interface ResponsesVisitorOptions extends MixedFieldsVisitorOptions, VisitorOptions {
2242
+ }
2243
+
2244
+ /**
2245
+ * @public
2246
+ */
2247
+ export declare class ResponseVisitor extends ResponseVisitor_base {
2248
+ readonly element: ResponseElement;
2249
+ protected readonly specPath: SpecPath<['document', 'objects', 'Response']>;
2250
+ constructor(options: ResponseVisitorOptions);
2251
+ ObjectElement(objectElement: ObjectElement): {};
2252
+ }
2253
+
2254
+ declare const ResponseVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2255
+
2256
+ /**
2257
+ * @public
2258
+ */
2259
+ export declare interface ResponseVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2260
+ }
2261
+
2262
+ /**
2263
+ * @public
2264
+ */
2265
+ export declare class SchemaAllOfVisitor extends JSONSchemaAllOfVisitor {
2266
+ ArrayElement(arrayElement: ArrayElement): {};
2267
+ }
2268
+
2269
+ export { SchemaAllOfVisitorOptions }
2270
+
2271
+ /**
2272
+ * @public
2273
+ */
2274
+ export declare class SchemaAnyOfVisitor extends JSONSchemaAnyOfVisitor {
2275
+ ArrayElement(arrayElement: ArrayElement): {};
2276
+ }
2277
+
2278
+ export { SchemaAnyOfVisitorOptions }
2279
+
2280
+ /**
2281
+ * @public
2282
+ */
2283
+ export declare class SchemaElement extends JSONSchemaElement {
2284
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2285
+ /**
2286
+ * Core vocabulary
2287
+ *
2288
+ * URI: https://tools.ietf.org/html/draft-wright-json-schema-00
2289
+ */
2290
+ get idProp(): StringElement | undefined;
2291
+ set idProp(idProps: StringElement | undefined);
2292
+ get $schema(): StringElement | undefined;
2293
+ set $schema($schema: StringElement | undefined);
2294
+ /**
2295
+ * Validation keywords for arrays
2296
+ */
2297
+ get additionalItems(): this | ReferenceElement | BooleanElement | undefined;
2298
+ set additionalItems(additionalItems: this | ReferenceElement | BooleanElement | undefined);
2299
+ get items(): this | ReferenceElement | undefined;
2300
+ set items(items: this | ReferenceElement | undefined);
2301
+ /**
2302
+ * Validation keywords for objects
2303
+ */
2304
+ get additionalProperties(): this | ReferenceElement | BooleanElement | undefined;
2305
+ set additionalProperties(additionalProperties: this | ReferenceElement | BooleanElement | undefined);
2306
+ get patternProperties(): ObjectElement | undefined;
2307
+ set patternProperties(patternProperties: ObjectElement | undefined);
2308
+ get dependencies(): ObjectElement | undefined;
2309
+ set dependencies(dependencies: ObjectElement | undefined);
2310
+ /**
2311
+ * Validation keywords for any instance type
2312
+ */
2313
+ get type(): StringElement | undefined;
2314
+ set type(type: StringElement | undefined);
2315
+ get not(): this | ReferenceElement | undefined;
2316
+ set not(not: this | ReferenceElement | undefined);
2317
+ get definitions(): ObjectElement | undefined;
2318
+ set definitions(definitions: ObjectElement | undefined);
2319
+ /**
2320
+ * JSON Hyper-Schema
2321
+ *
2322
+ * URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-00
2323
+ */
2324
+ get base(): StringElement | undefined;
2325
+ set base(base: StringElement | undefined);
2326
+ get links(): ArrayElement | undefined;
2327
+ set links(links: ArrayElement | undefined);
2328
+ get media(): MediaElement | undefined;
2329
+ set media(media: MediaElement | undefined);
2330
+ /**
2331
+ * OpenAPI vocabulary
2332
+ */
2333
+ get nullable(): BooleanElement | undefined;
2334
+ set nullable(nullable: BooleanElement | undefined);
2335
+ get discriminator(): DiscriminatorElement | undefined;
2336
+ set discriminator(discriminator: DiscriminatorElement | undefined);
2337
+ get writeOnly(): BooleanElement | undefined;
2338
+ set writeOnly(writeOnly: BooleanElement | undefined);
2339
+ get xml(): XmlElement | undefined;
2340
+ set xml(xml: XmlElement | undefined);
2341
+ get externalDocs(): ExternalDocumentationElement | undefined;
2342
+ set externalDocs(externalDocs: ExternalDocumentationElement | undefined);
2343
+ get example(): Element_2 | undefined;
2344
+ set example(example: Element_2 | undefined);
2345
+ get deprecated(): BooleanElement | undefined;
2346
+ set deprecated(deprecated: BooleanElement | undefined);
2347
+ }
2348
+
2349
+ /**
2350
+ * @public
2351
+ */
2352
+ export declare class SchemaItemsVisitor extends JSONSchemaItemsVisitor {
2353
+ ObjectElement(objectElement: ObjectElement): {};
2354
+ ArrayElement(arrayElement: ArrayElement): {};
2355
+ }
2356
+
2357
+ export { SchemaItemsVisitorOptions }
2358
+
2359
+ /**
2360
+ * @public
2361
+ */
2362
+ export declare class SchemaOneOfVisitor extends JSONSchemaOneOfVisitor {
2363
+ ArrayElement(arrayElement: ArrayElement): {};
2364
+ }
2365
+
2366
+ export { SchemaOneOfVisitorOptions }
2367
+
2368
+ /**
2369
+ * @public
2370
+ */
2371
+ export declare class SchemaOrReferenceVisitor extends JSONSchemaOrJSONReferenceVisitor {
2372
+ element: SchemaElement | JSONReferenceElement;
2373
+ ObjectElement(objectElement: ObjectElement): {};
2374
+ }
2375
+
2376
+ export { SchemaOrReferenceVisitorOptions }
2377
+
2378
+ /**
2379
+ * @public
2380
+ */
2381
+ export declare class SchemaPropertiesVisitor extends JSONSchemaPropertiesVisitor {
2382
+ ObjectElement(objectElement: ObjectElement): {};
2383
+ }
2384
+
2385
+ export { SchemaPropertiesVisitorOptions }
2386
+
2387
+ declare const SchemasVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2388
+
2389
+ /**
2390
+ * @public
2391
+ */
2392
+ export declare class SchemaTypeVisitor extends JSONSchemaTypeVisitor {
2393
+ ArrayElement(arrayElement: ArrayElement): {};
2394
+ }
2395
+
2396
+ export { SchemaTypeVisitorOptions }
2397
+
2398
+ /**
2399
+ * @public
2400
+ */
2401
+ export declare class SchemaVisitor extends SchemaVisitor_base_4 {
2402
+ readonly element: SchemaElement;
2403
+ protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
2404
+ protected readonly canSupportSpecificationExtensions: true;
2405
+ constructor(options: SchemaVisitorOptions);
2406
+ }
2407
+
2408
+ declare const SchemaVisitor_base: Class<any[], AlternatingVisitor & FallbackVisitor, typeof AlternatingVisitor & typeof FallbackVisitor>;
2409
+
2410
+ declare const SchemaVisitor_base_2: Class<any[], AlternatingVisitor & FallbackVisitor, typeof AlternatingVisitor & typeof FallbackVisitor>;
2411
+
2412
+ declare const SchemaVisitor_base_3: Class<any[], AlternatingVisitor & FallbackVisitor, typeof AlternatingVisitor & typeof FallbackVisitor>;
2413
+
2414
+ declare const SchemaVisitor_base_4: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2415
+
2416
+ /**
2417
+ * @public
2418
+ */
2419
+ export declare interface SchemaVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2420
+ }
2421
+
2422
+ declare const ScopesVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2423
+
2424
+ /**
2425
+ * @public
2426
+ */
2427
+ export declare class SecurityElement extends ArrayElement {
2428
+ static primaryClass: string;
2429
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
2430
+ }
2431
+
2432
+ /**
2433
+ * @public
2434
+ */
2435
+ export declare class SecurityRequirementElement extends ObjectElement {
2436
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2437
+ }
2438
+
2439
+ /**
2440
+ * @public
2441
+ */
2442
+ export declare class SecurityRequirementVisitor extends SecurityRequirementVisitor_base {
2443
+ readonly element: SecurityRequirementElement;
2444
+ protected readonly specPath: SpecPath<['value']>;
2445
+ constructor(options: SecurityRequirementVisitorOptions);
2446
+ }
2447
+
2448
+ declare const SecurityRequirementVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2449
+
2450
+ /**
2451
+ * @public
2452
+ */
2453
+ export declare interface SecurityRequirementVisitorOptions extends MapVisitorOptions, VisitorOptions {
2454
+ }
2455
+
2456
+ /**
2457
+ * @public
2458
+ */
2459
+ export declare class SecuritySchemeElement extends ObjectElement {
2460
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2461
+ get type(): StringElement | undefined;
2462
+ set type(type: StringElement | undefined);
2463
+ get description(): StringElement | undefined;
2464
+ set description(description: StringElement | undefined);
2465
+ get name(): StringElement | undefined;
2466
+ set name(name: StringElement | undefined);
2467
+ get in(): StringElement | undefined;
2468
+ set in(inVal: StringElement | undefined);
2469
+ get scheme(): StringElement | undefined;
2470
+ set scheme(scheme: StringElement | undefined);
2471
+ get bearerFormat(): StringElement | undefined;
2472
+ set bearerFormat(bearerFormat: StringElement | undefined);
2473
+ get flows(): OAuthFlowsElement | undefined;
2474
+ set flows(flows: OAuthFlowsElement | undefined);
2475
+ get openIdConnectUrl(): StringElement | undefined;
2476
+ set openIdConnectUrl(openIdConnectUrl: StringElement | undefined);
2477
+ }
2478
+
2479
+ declare const SecuritySchemesVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2480
+
2481
+ /**
2482
+ * @public
2483
+ */
2484
+ export declare class SecuritySchemeVisitor extends SecuritySchemeVisitor_base {
2485
+ readonly element: SecuritySchemeElement;
2486
+ protected readonly specPath: SpecPath<['document', 'objects', 'SecurityScheme']>;
2487
+ protected readonly canSupportSpecificationExtensions: true;
2488
+ constructor(options: SecuritySchemeVisitorOptions);
2489
+ }
2490
+
2491
+ declare const SecuritySchemeVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2492
+
2493
+ /**
2494
+ * @public
2495
+ */
2496
+ export declare interface SecuritySchemeVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2497
+ }
2498
+
2499
+ /**
2500
+ * @public
2501
+ */
2502
+ export declare class SecurityVisitor extends SecurityVisitor_base {
2503
+ readonly element: SecurityElement;
2504
+ constructor(options: SecurityVisitorOptions);
2505
+ ArrayElement(arrayElement: ArrayElement): {};
2506
+ }
2507
+
2508
+ declare const SecurityVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
2509
+
2510
+ declare const SecurityVisitor_base_2: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
2511
+
2512
+ /**
2513
+ * @public
2514
+ */
2515
+ export declare interface SecurityVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
2516
+ }
2517
+
2518
+ /**
2519
+ * @public
2520
+ */
2521
+ export declare class ServerElement extends ObjectElement {
2522
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2523
+ get url(): StringElement | undefined;
2524
+ set url(url: StringElement | undefined);
2525
+ get description(): StringElement | undefined;
2526
+ set description(description: StringElement | undefined);
2527
+ get variables(): ObjectElement | undefined;
2528
+ set variables(variables: ObjectElement | undefined);
2529
+ }
2530
+
2531
+ /**
2532
+ * @public
2533
+ */
2534
+ export declare class ServersElement extends ArrayElement {
2535
+ static primaryClass: string;
2536
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
2537
+ }
2538
+
2539
+ /**
2540
+ * @public
2541
+ */
2542
+ export declare class ServersVisitor extends ServersVisitor_base {
2543
+ readonly element: ServersElement;
2544
+ constructor(options: ServersVisitorOptions);
2545
+ ArrayElement(arrayElement: ArrayElement): {};
2546
+ }
2547
+
2548
+ declare const ServersVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
2549
+
2550
+ /**
2551
+ * @public
2552
+ */
2553
+ declare interface ServersVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
2554
+ }
2555
+ export { ServersVisitorOptions as OperationServersVisitorOptions }
2556
+ export { ServersVisitorOptions as PathItemServersVisitorOptions }
2557
+ export { ServersVisitorOptions }
2558
+
2559
+ /**
2560
+ * @public
2561
+ */
2562
+ export declare class ServerVariableElement extends ObjectElement {
2563
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2564
+ get enum(): ArrayElement | undefined;
2565
+ set enum(value: ArrayElement | undefined);
2566
+ get default(): StringElement | undefined;
2567
+ set default(value: StringElement | undefined);
2568
+ get description(): StringElement | undefined;
2569
+ set description(description: StringElement | undefined);
2570
+ }
2571
+
2572
+ /**
2573
+ * @public
2574
+ */
2575
+ export declare class ServerVariablesElement extends ObjectElement {
2576
+ static primaryClass: string;
2577
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2578
+ }
2579
+
2580
+ /**
2581
+ * @public
2582
+ */
2583
+ export declare class ServerVariableUrlVisitor extends FallbackVisitor {
2584
+ readonly element: StringElement;
2585
+ StringElement(stringElement: StringElement): {};
2586
+ }
2587
+
2588
+ /**
2589
+ * @public
2590
+ */
2591
+ export declare class ServerVariableVariablesVisitor extends VariablesVisitor_base {
2592
+ readonly element: ServerVariablesElement;
2593
+ protected readonly specPath: SpecPath<['document', 'objects', 'ServerVariable']>;
2594
+ constructor(options: ServerVariableVariablesVisitorOptions);
2595
+ }
2596
+
2597
+ /**
2598
+ * @public
2599
+ */
2600
+ export declare interface ServerVariableVariablesVisitorOptions extends MapVisitorOptions, VisitorOptions {
2601
+ }
2602
+
2603
+ /**
2604
+ * @public
2605
+ */
2606
+ export declare class ServerVariableVisitor extends ServerVariableVisitor_base {
2607
+ readonly element: ServerVariableElement;
2608
+ protected readonly specPath: SpecPath<['document', 'objects', 'ServerVariable']>;
2609
+ protected readonly canSupportSpecificationExtensions: true;
2610
+ constructor(options: ServerVariableVisitorOptions);
2611
+ }
2612
+
2613
+ declare const ServerVariableVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2614
+
2615
+ /**
2616
+ * @public
2617
+ */
2618
+ export declare interface ServerVariableVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2619
+ }
2620
+
2621
+ /**
2622
+ * @public
2623
+ */
2624
+ export declare class ServerVisitor extends ServerVisitor_base {
2625
+ readonly element: ServerElement;
2626
+ protected readonly specPath: SpecPath<['document', 'objects', 'Server']>;
2627
+ protected readonly canSupportSpecificationExtensions: true;
2628
+ constructor(options: ServerVisitorOptions);
2629
+ }
2630
+
2631
+ declare const ServerVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
2632
+
2633
+ /**
2634
+ * @public
2635
+ */
2636
+ export declare interface ServerVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
2637
+ }
2638
+
2639
+ /**
2640
+ * @public
2641
+ */
2642
+ export declare class SpecificationExtensionVisitor extends SpecificationVisitor {
2643
+ element: MemberElement;
2644
+ MemberElement(memberElement: MemberElement): {};
2645
+ }
2646
+
2647
+ /**
2648
+ * @public
2649
+ */
2650
+ export declare const specificationObj: {
2651
+ readonly visitors: {
2652
+ readonly value: typeof FallbackVisitor;
2653
+ readonly document: {
2654
+ readonly objects: {
2655
+ readonly OpenApi: {
2656
+ readonly $visitor: typeof OpenApi3_0Visitor;
2657
+ readonly fixedFields: {
2658
+ readonly openapi: typeof OpenapiVisitor;
2659
+ readonly info: {
2660
+ readonly $ref: "#/visitors/document/objects/Info";
2661
+ };
2662
+ readonly servers: typeof ServersVisitor;
2663
+ readonly paths: {
2664
+ readonly $ref: "#/visitors/document/objects/Paths";
2665
+ };
2666
+ readonly components: {
2667
+ readonly $ref: "#/visitors/document/objects/Components";
2668
+ };
2669
+ readonly security: typeof SecurityVisitor;
2670
+ readonly tags: typeof TagsVisitor;
2671
+ readonly externalDocs: {
2672
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
2673
+ };
2674
+ };
2675
+ };
2676
+ readonly Info: {
2677
+ readonly $visitor: typeof InfoVisitor;
2678
+ readonly fixedFields: {
2679
+ readonly title: {
2680
+ readonly $ref: "#/visitors/value";
2681
+ };
2682
+ readonly description: {
2683
+ readonly $ref: "#/visitors/value";
2684
+ };
2685
+ readonly termsOfService: {
2686
+ readonly $ref: "#/visitors/value";
2687
+ };
2688
+ readonly contact: {
2689
+ readonly $ref: "#/visitors/document/objects/Contact";
2690
+ };
2691
+ readonly license: {
2692
+ readonly $ref: "#/visitors/document/objects/License";
2693
+ };
2694
+ readonly version: typeof InfoVersionVisitor;
2695
+ };
2696
+ };
2697
+ readonly Contact: {
2698
+ readonly $visitor: typeof ContactVisitor;
2699
+ readonly fixedFields: {
2700
+ readonly name: {
2701
+ readonly $ref: "#/visitors/value";
2702
+ };
2703
+ readonly url: {
2704
+ readonly $ref: "#/visitors/value";
2705
+ };
2706
+ readonly email: {
2707
+ readonly $ref: "#/visitors/value";
2708
+ };
2709
+ };
2710
+ };
2711
+ readonly License: {
2712
+ readonly $visitor: typeof LicenseVisitor;
2713
+ readonly fixedFields: {
2714
+ readonly name: {
2715
+ readonly $ref: "#/visitors/value";
2716
+ };
2717
+ readonly url: {
2718
+ readonly $ref: "#/visitors/value";
2719
+ };
2720
+ };
2721
+ };
2722
+ readonly Server: {
2723
+ readonly $visitor: typeof ServerVisitor;
2724
+ readonly fixedFields: {
2725
+ readonly url: typeof ServerVariableUrlVisitor;
2726
+ readonly description: {
2727
+ readonly $ref: "#/visitors/value";
2728
+ };
2729
+ readonly variables: typeof ServerVariableVariablesVisitor;
2730
+ };
2731
+ };
2732
+ readonly ServerVariable: {
2733
+ readonly $visitor: typeof ServerVariableVisitor;
2734
+ readonly fixedFields: {
2735
+ readonly enum: {
2736
+ readonly $ref: "#/visitors/value";
2737
+ };
2738
+ readonly default: {
2739
+ readonly $ref: "#/visitors/value";
2740
+ };
2741
+ readonly description: {
2742
+ readonly $ref: "#/visitors/value";
2743
+ };
2744
+ };
2745
+ };
2746
+ readonly Components: {
2747
+ readonly $visitor: typeof ComponentsVisitor;
2748
+ readonly fixedFields: {
2749
+ readonly schemas: typeof ComponentsSchemasVisitor;
2750
+ readonly responses: typeof ComponentsResponsesVisitor;
2751
+ readonly parameters: typeof ComponentsParametersVisitor;
2752
+ readonly examples: typeof ComponentsExamplesVisitor;
2753
+ readonly requestBodies: typeof ComponentsRequestBodiesVisitor;
2754
+ readonly headers: typeof ComponentsHeadersVisitor;
2755
+ readonly securitySchemes: typeof ComponentsSecuritySchemesVisitor;
2756
+ readonly links: typeof ComponentsLinksVisitor;
2757
+ readonly callbacks: typeof ComponentsCallbacksVisitor;
2758
+ };
2759
+ };
2760
+ readonly Paths: {
2761
+ readonly $visitor: typeof PathsVisitor;
2762
+ };
2763
+ readonly PathItem: {
2764
+ readonly $visitor: typeof PathItemVisitor;
2765
+ readonly fixedFields: {
2766
+ readonly $ref: typeof PathItem$RefVisitor;
2767
+ readonly summary: {
2768
+ readonly $ref: "#/visitors/value";
2769
+ };
2770
+ readonly description: {
2771
+ readonly $ref: "#/visitors/value";
2772
+ };
2773
+ readonly get: {
2774
+ readonly $ref: "#/visitors/document/objects/Operation";
2775
+ };
2776
+ readonly put: {
2777
+ readonly $ref: "#/visitors/document/objects/Operation";
2778
+ };
2779
+ readonly post: {
2780
+ readonly $ref: "#/visitors/document/objects/Operation";
2781
+ };
2782
+ readonly delete: {
2783
+ readonly $ref: "#/visitors/document/objects/Operation";
2784
+ };
2785
+ readonly options: {
2786
+ readonly $ref: "#/visitors/document/objects/Operation";
2787
+ };
2788
+ readonly head: {
2789
+ readonly $ref: "#/visitors/document/objects/Operation";
2790
+ };
2791
+ readonly patch: {
2792
+ readonly $ref: "#/visitors/document/objects/Operation";
2793
+ };
2794
+ readonly trace: {
2795
+ readonly $ref: "#/visitors/document/objects/Operation";
2796
+ };
2797
+ readonly servers: typeof PathItemServersVisitor;
2798
+ readonly parameters: typeof PathItemParametersVisitor;
2799
+ };
2800
+ };
2801
+ readonly Operation: {
2802
+ readonly $visitor: typeof OperationVisitor;
2803
+ readonly fixedFields: {
2804
+ readonly tags: typeof OperationTagsVisitor;
2805
+ readonly summary: {
2806
+ readonly $ref: "#/visitors/value";
2807
+ };
2808
+ readonly description: {
2809
+ readonly $ref: "#/visitors/value";
2810
+ };
2811
+ readonly externalDocs: {
2812
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
2813
+ };
2814
+ readonly operationId: {
2815
+ readonly $ref: "#/visitors/value";
2816
+ };
2817
+ readonly parameters: typeof OperationParametersVisitor;
2818
+ readonly requestBody: typeof OperationRequestBodyVisitor;
2819
+ readonly responses: {
2820
+ readonly $ref: "#/visitors/document/objects/Responses";
2821
+ };
2822
+ readonly callbacks: typeof OperationCallbacksVisitor;
2823
+ readonly deprecated: {
2824
+ readonly $ref: "#/visitors/value";
2825
+ };
2826
+ readonly security: typeof OperationSecurityVisitor;
2827
+ readonly servers: typeof OperationServersVisitor;
2828
+ };
2829
+ };
2830
+ readonly ExternalDocumentation: {
2831
+ readonly $visitor: typeof ExternalDocumentationVisitor;
2832
+ readonly fixedFields: {
2833
+ readonly description: {
2834
+ readonly $ref: "#/visitors/value";
2835
+ };
2836
+ readonly url: {
2837
+ readonly $ref: "#/visitors/value";
2838
+ };
2839
+ };
2840
+ };
2841
+ readonly Parameter: {
2842
+ readonly $visitor: typeof ParameterVisitor;
2843
+ readonly fixedFields: {
2844
+ readonly name: {
2845
+ readonly $ref: "#/visitors/value";
2846
+ };
2847
+ readonly in: {
2848
+ readonly $ref: "#/visitors/value";
2849
+ };
2850
+ readonly description: {
2851
+ readonly $ref: "#/visitors/value";
2852
+ };
2853
+ readonly required: {
2854
+ readonly $ref: "#/visitors/value";
2855
+ };
2856
+ readonly deprecated: {
2857
+ readonly $ref: "#/visitors/value";
2858
+ };
2859
+ readonly allowEmptyValue: {
2860
+ readonly $ref: "#/visitors/value";
2861
+ };
2862
+ readonly style: {
2863
+ readonly $ref: "#/visitors/value";
2864
+ };
2865
+ readonly explode: {
2866
+ readonly $ref: "#/visitors/value";
2867
+ };
2868
+ readonly allowReserved: {
2869
+ readonly $ref: "#/visitors/value";
2870
+ };
2871
+ readonly schema: typeof ParameterSchemaVisitor;
2872
+ readonly example: {
2873
+ readonly $ref: "#/visitors/value";
2874
+ };
2875
+ readonly examples: typeof ParameterExampleVisitor;
2876
+ readonly content: typeof ParameterContentVisitor;
2877
+ };
2878
+ };
2879
+ readonly RequestBody: {
2880
+ readonly $visitor: typeof RequestBodyVisitor;
2881
+ readonly fixedFields: {
2882
+ readonly description: {
2883
+ readonly $ref: "#/visitors/value";
2884
+ };
2885
+ readonly content: typeof RequestBodyContentVisitor;
2886
+ readonly required: {
2887
+ readonly $ref: "#/visitors/value";
2888
+ };
2889
+ };
2890
+ };
2891
+ readonly MediaType: {
2892
+ readonly $visitor: typeof MediaTypeVisitor;
2893
+ readonly fixedFields: {
2894
+ readonly schema: typeof MediaTypeSchemaVisitor;
2895
+ readonly example: {
2896
+ readonly $ref: "#/visitors/value";
2897
+ };
2898
+ readonly examples: typeof MediaTypeExamplesVisitor;
2899
+ readonly encoding: typeof MediaTypeEncodingVisitor;
2900
+ };
2901
+ };
2902
+ readonly Encoding: {
2903
+ readonly $visitor: typeof EncodingVisitor;
2904
+ readonly fixedFields: {
2905
+ readonly contentType: {
2906
+ readonly $ref: "#/visitors/value";
2907
+ };
2908
+ readonly headers: typeof EncodingHeadersVisitor;
2909
+ readonly style: {
2910
+ readonly $ref: "#/visitors/value";
2911
+ };
2912
+ readonly explode: {
2913
+ readonly $ref: "#/visitors/value";
2914
+ };
2915
+ readonly allowReserved: {
2916
+ readonly $ref: "#/visitors/value";
2917
+ };
2918
+ };
2919
+ };
2920
+ readonly Responses: {
2921
+ readonly $visitor: typeof ResponsesVisitor;
2922
+ readonly fixedFields: {
2923
+ readonly default: typeof ResponsesDefaultVisitor;
2924
+ };
2925
+ };
2926
+ readonly Response: {
2927
+ readonly $visitor: typeof ResponseVisitor;
2928
+ readonly fixedFields: {
2929
+ readonly description: {
2930
+ readonly $ref: "#/visitors/value";
2931
+ };
2932
+ readonly headers: typeof ResponseHeadersVisitor;
2933
+ readonly content: typeof ResponseContentVisitor;
2934
+ readonly links: typeof ResponseLinksVisitor;
2935
+ };
2936
+ };
2937
+ readonly Callback: {
2938
+ readonly $visitor: typeof CallbackVisitor;
2939
+ };
2940
+ readonly Example: {
2941
+ readonly $visitor: typeof ExampleVisitor;
2942
+ readonly fixedFields: {
2943
+ readonly summary: {
2944
+ readonly $ref: "#/visitors/value";
2945
+ };
2946
+ readonly description: {
2947
+ readonly $ref: "#/visitors/value";
2948
+ };
2949
+ readonly value: {
2950
+ readonly $ref: "#/visitors/value";
2951
+ };
2952
+ readonly externalValue: typeof ExampleExternalValueVisitor;
2953
+ };
2954
+ };
2955
+ readonly Link: {
2956
+ readonly $visitor: typeof LinkVisitor;
2957
+ readonly fixedFields: {
2958
+ readonly operationRef: typeof LinkOperationRefVisitor;
2959
+ readonly operationId: typeof LinkOperationIdVisitor;
2960
+ readonly parameters: typeof LinkParametersVisitor;
2961
+ readonly requestBody: {
2962
+ readonly $ref: "#/visitors/value";
2963
+ };
2964
+ readonly description: {
2965
+ readonly $ref: "#/visitors/value";
2966
+ };
2967
+ readonly server: {
2968
+ readonly $ref: "#/visitors/document/objects/Server";
2969
+ };
2970
+ };
2971
+ };
2972
+ readonly Header: {
2973
+ readonly $visitor: typeof HeaderVisitor;
2974
+ readonly fixedFields: {
2975
+ readonly description: {
2976
+ readonly $ref: "#/visitors/value";
2977
+ };
2978
+ readonly required: {
2979
+ readonly $ref: "#/visitors/value";
2980
+ };
2981
+ readonly deprecated: {
2982
+ readonly $ref: "#/visitors/value";
2983
+ };
2984
+ readonly allowEmptyValue: {
2985
+ readonly $ref: "#/visitors/value";
2986
+ };
2987
+ readonly style: {
2988
+ readonly $ref: "#/visitors/value";
2989
+ };
2990
+ readonly explode: {
2991
+ readonly $ref: "#/visitors/value";
2992
+ };
2993
+ readonly allowReserved: {
2994
+ readonly $ref: "#/visitors/value";
2995
+ };
2996
+ readonly schema: typeof HeaderSchemaVisitor;
2997
+ readonly example: {
2998
+ readonly $ref: "#/visitors/value";
2999
+ };
3000
+ readonly examples: typeof HeaderExamplesVisitor;
3001
+ readonly content: typeof HeaderContentVisitor;
3002
+ };
3003
+ };
3004
+ readonly Tag: {
3005
+ readonly $visitor: typeof TagVisitor;
3006
+ readonly fixedFields: {
3007
+ readonly name: {
3008
+ readonly $ref: "#/visitors/value";
3009
+ };
3010
+ readonly description: {
3011
+ readonly $ref: "#/visitors/value";
3012
+ };
3013
+ readonly externalDocs: {
3014
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
3015
+ };
3016
+ };
3017
+ };
3018
+ readonly Reference: {
3019
+ readonly $visitor: typeof ReferenceVisitor;
3020
+ readonly fixedFields: {
3021
+ readonly $ref: typeof Reference$RefVisitor;
3022
+ };
3023
+ };
3024
+ readonly JSONSchema: {
3025
+ readonly $ref: "#/visitors/document/objects/Schema";
3026
+ };
3027
+ readonly JSONReference: {
3028
+ readonly $ref: "#/visitors/document/objects/Reference";
3029
+ };
3030
+ readonly Schema: {
3031
+ readonly $visitor: typeof SchemaVisitor;
3032
+ readonly fixedFields: {
3033
+ readonly title: {
3034
+ $ref: string;
3035
+ };
3036
+ readonly multipleOf: {
3037
+ $ref: string;
3038
+ };
3039
+ readonly maximum: {
3040
+ $ref: string;
3041
+ };
3042
+ readonly exclusiveMaximum: {
3043
+ $ref: string;
3044
+ };
3045
+ readonly minimum: {
3046
+ $ref: string;
3047
+ };
3048
+ readonly exclusiveMinimum: {
3049
+ $ref: string;
3050
+ };
3051
+ readonly maxLength: {
3052
+ $ref: string;
3053
+ };
3054
+ readonly minLength: {
3055
+ $ref: string;
3056
+ };
3057
+ readonly pattern: {
3058
+ $ref: string;
3059
+ };
3060
+ readonly maxItems: {
3061
+ $ref: string;
3062
+ };
3063
+ readonly minItems: {
3064
+ $ref: string;
3065
+ };
3066
+ readonly uniqueItems: {
3067
+ $ref: string;
3068
+ };
3069
+ readonly maxProperties: {
3070
+ $ref: string;
3071
+ };
3072
+ readonly minProperties: {
3073
+ $ref: string;
3074
+ };
3075
+ readonly required: RequiredVisitor;
3076
+ readonly enum: EnumVisitor;
3077
+ readonly type: typeof SchemaTypeVisitor;
3078
+ readonly allOf: typeof SchemaAllOfVisitor;
3079
+ readonly anyOf: typeof SchemaAnyOfVisitor;
3080
+ readonly oneOf: typeof SchemaOneOfVisitor;
3081
+ readonly not: typeof SchemaOrReferenceVisitor;
3082
+ readonly items: typeof SchemaItemsVisitor;
3083
+ readonly properties: typeof SchemaPropertiesVisitor;
3084
+ readonly additionalProperties: typeof SchemaOrReferenceVisitor;
3085
+ readonly description: {
3086
+ $ref: string;
3087
+ };
3088
+ readonly format: {
3089
+ $ref: string;
3090
+ };
3091
+ readonly default: {
3092
+ $ref: string;
3093
+ };
3094
+ readonly nullable: {
3095
+ readonly $ref: "#/visitors/value";
3096
+ };
3097
+ readonly discriminator: {
3098
+ readonly $ref: "#/visitors/document/objects/Discriminator";
3099
+ };
3100
+ readonly writeOnly: {
3101
+ readonly $ref: "#/visitors/value";
3102
+ };
3103
+ readonly xml: {
3104
+ readonly $ref: "#/visitors/document/objects/XML";
3105
+ };
3106
+ readonly externalDocs: {
3107
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
3108
+ };
3109
+ readonly example: {
3110
+ readonly $ref: "#/visitors/value";
3111
+ };
3112
+ readonly deprecated: {
3113
+ readonly $ref: "#/visitors/value";
3114
+ };
3115
+ };
3116
+ };
3117
+ readonly Discriminator: {
3118
+ readonly $visitor: typeof DiscriminatorVisitor;
3119
+ readonly fixedFields: {
3120
+ readonly propertyName: {
3121
+ readonly $ref: "#/visitors/value";
3122
+ };
3123
+ readonly mapping: typeof DiscriminatorMappingVisitor;
3124
+ };
3125
+ };
3126
+ readonly XML: {
3127
+ readonly $visitor: typeof XmlVisitor;
3128
+ readonly fixedFields: {
3129
+ readonly name: {
3130
+ readonly $ref: "#/visitors/value";
3131
+ };
3132
+ readonly namespace: {
3133
+ readonly $ref: "#/visitors/value";
3134
+ };
3135
+ readonly prefix: {
3136
+ readonly $ref: "#/visitors/value";
3137
+ };
3138
+ readonly attribute: {
3139
+ readonly $ref: "#/visitors/value";
3140
+ };
3141
+ readonly wrapped: {
3142
+ readonly $ref: "#/visitors/value";
3143
+ };
3144
+ };
3145
+ };
3146
+ readonly SecurityScheme: {
3147
+ readonly $visitor: typeof SecuritySchemeVisitor;
3148
+ readonly fixedFields: {
3149
+ readonly type: {
3150
+ readonly $ref: "#/visitors/value";
3151
+ };
3152
+ readonly description: {
3153
+ readonly $ref: "#/visitors/value";
3154
+ };
3155
+ readonly name: {
3156
+ readonly $ref: "#/visitors/value";
3157
+ };
3158
+ readonly in: {
3159
+ readonly $ref: "#/visitors/value";
3160
+ };
3161
+ readonly scheme: {
3162
+ readonly $ref: "#/visitors/value";
3163
+ };
3164
+ readonly bearerFormat: {
3165
+ readonly $ref: "#/visitors/value";
3166
+ };
3167
+ readonly flows: {
3168
+ readonly $ref: "#/visitors/document/objects/OAuthFlows";
3169
+ };
3170
+ readonly openIdConnectUrl: {
3171
+ readonly $ref: "#/visitors/value";
3172
+ };
3173
+ };
3174
+ };
3175
+ readonly OAuthFlows: {
3176
+ readonly $visitor: typeof OAuthFlowsVisitor;
3177
+ readonly fixedFields: {
3178
+ readonly implicit: {
3179
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
3180
+ };
3181
+ readonly password: {
3182
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
3183
+ };
3184
+ readonly clientCredentials: {
3185
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
3186
+ };
3187
+ readonly authorizationCode: {
3188
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
3189
+ };
3190
+ };
3191
+ };
3192
+ readonly OAuthFlow: {
3193
+ readonly $visitor: typeof OAuthFlowVisitor;
3194
+ readonly fixedFields: {
3195
+ readonly authorizationUrl: {
3196
+ readonly $ref: "#/visitors/value";
3197
+ };
3198
+ readonly tokenUrl: {
3199
+ readonly $ref: "#/visitors/value";
3200
+ };
3201
+ readonly refreshUrl: {
3202
+ readonly $ref: "#/visitors/value";
3203
+ };
3204
+ readonly scopes: typeof OAuthFlowScopesVisitor;
3205
+ };
3206
+ };
3207
+ readonly SecurityRequirement: {
3208
+ readonly $visitor: typeof SecurityRequirementVisitor;
3209
+ };
3210
+ };
3211
+ readonly extension: {
3212
+ readonly $visitor: typeof SpecificationExtensionVisitor;
3213
+ };
3214
+ };
3215
+ };
3216
+ };
3217
+
3218
+ /**
3219
+ * @public
3220
+ */
3221
+ export declare class SpecificationVisitor extends Visitor {
3222
+ protected readonly specObj: typeof specificationObj;
3223
+ protected readonly passingOptionsNames: string[];
3224
+ protected openApiGenericElement?: ObjectElement;
3225
+ protected openApiSemanticElement?: OpenApi3_0Element;
3226
+ constructor({ specObj, passingOptionsNames, openApiGenericElement, openApiSemanticElement, ...rest }: SpecificationVisitorOptions);
3227
+ retrievePassingOptions(): string[];
3228
+ retrieveFixedFields(specPath: string[]): string[];
3229
+ retrieveVisitor(specPath: string[]): unknown;
3230
+ retrieveVisitorInstance(specPath: string[], options?: {}): Visitor;
3231
+ toRefractedElement(specPath: string[], element: any, options?: {}): any;
3232
+ }
3233
+
3234
+ /**
3235
+ * This is a base Type for every visitor that does
3236
+ * internal look-ups to retrieve other child visitors.
3237
+ * @public
3238
+ */
3239
+ declare interface SpecificationVisitorOptions extends VisitorOptions {
3240
+ readonly specObj: typeof specificationObj;
3241
+ readonly passingOptionsNames?: string[];
3242
+ readonly openApiGenericElement?: ObjectElement;
3243
+ readonly openApiSemanticElement?: OpenApi3_0Element;
3244
+ }
3245
+ export { SpecificationVisitorOptions as SpecificationExtensionVisitorOptions }
3246
+ export { SpecificationVisitorOptions }
3247
+
3248
+ /**
3249
+ * @public
3250
+ */
3251
+ export declare type SpecPath<T = string[]> = (element: unknown) => T;
3252
+
3253
+ /**
3254
+ * @public
3255
+ */
3256
+ export declare class TagElement extends ObjectElement {
3257
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
3258
+ get name(): StringElement | undefined;
3259
+ set name(name: StringElement | undefined);
3260
+ get description(): StringElement | undefined;
3261
+ set description(description: StringElement | undefined);
3262
+ get externalDocs(): ExternalDocumentationElement | undefined;
3263
+ set externalDocs(externalDocs: ExternalDocumentationElement | undefined);
3264
+ }
3265
+
3266
+ /**
3267
+ * @public
3268
+ */
3269
+ export declare class TagsElement extends ArrayElement {
3270
+ static primaryClass: string;
3271
+ constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
3272
+ }
3273
+
3274
+ /**
3275
+ * @public
3276
+ */
3277
+ export declare class TagsVisitor extends TagsVisitor_base {
3278
+ readonly element: TagsElement;
3279
+ constructor(options: TagsVisitorOptions);
3280
+ ArrayElement(arrayElement: ArrayElement): {};
3281
+ }
3282
+
3283
+ declare const TagsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
3284
+
3285
+ /**
3286
+ * @public
3287
+ */
3288
+ export declare interface TagsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
3289
+ }
3290
+
3291
+ /**
3292
+ * @public
3293
+ */
3294
+ export declare class TagVisitor extends TagVisitor_base {
3295
+ readonly element: TagElement;
3296
+ protected readonly specPath: SpecPath<['document', 'objects', 'Tag']>;
3297
+ protected readonly canSupportSpecificationExtensions: true;
3298
+ constructor(options: TagVisitorOptions);
3299
+ }
3300
+
3301
+ declare const TagVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
3302
+
3303
+ /**
3304
+ * @public
3305
+ */
3306
+ export declare interface TagVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
3307
+ }
3308
+
3309
+ /**
3310
+ * @public
3311
+ */
3312
+ export declare type ToolboxPredicates = typeof openApi3_0Predicates & {
3313
+ isElement: typeof isElement;
3314
+ isStringElement: typeof isStringElement;
3315
+ isArrayElement: typeof isArrayElement;
3316
+ isObjectElement: typeof isObjectElement;
3317
+ isMemberElement: typeof isMemberElement;
3318
+ includesClasses: typeof includesClasses;
3319
+ hasElementSourceMap: typeof hasElementSourceMap;
3320
+ };
3321
+
3322
+ declare const VariablesVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
3323
+
3324
+ /**
3325
+ * @public
3326
+ */
3327
+ export declare class Visitor {
3328
+ element: Element_2;
3329
+ constructor(options?: VisitorOptions);
3330
+ copyMetaAndAttributes(from: Element_2, to: Element_2): void;
3331
+ }
3332
+
3333
+ /**
3334
+ * @public
3335
+ */
3336
+ declare interface VisitorOptions {
3337
+ }
3338
+ export { VisitorOptions as ExampleExternalValueVisitorOptions }
3339
+ export { VisitorOptions as FallbackVisitorOptions }
3340
+ export { VisitorOptions as InfoVersionVisitorOptions }
3341
+ export { VisitorOptions as LinkOperationIdVisitorOptions }
3342
+ export { VisitorOptions as LinkOperationRefVisitorOptions }
3343
+ export { VisitorOptions as PathItem$RefVisitorOptions }
3344
+ export { VisitorOptions as Reference$RefVisitorOptions }
3345
+ export { VisitorOptions as ServerVariableUrlVisitorOptions }
3346
+ export { VisitorOptions }
3347
+
3348
+ /**
3349
+ * @public
3350
+ */
3351
+ export declare class XmlElement extends ObjectElement {
3352
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
3353
+ get name(): StringElement | undefined;
3354
+ set name(name: StringElement | undefined);
3355
+ get namespace(): StringElement | undefined;
3356
+ set namespace(namespace: StringElement | undefined);
3357
+ get prefix(): StringElement | undefined;
3358
+ set prefix(prefix: StringElement | undefined);
3359
+ get attribute(): BooleanElement | undefined;
3360
+ set attribute(attribute: BooleanElement | undefined);
3361
+ get wrapped(): BooleanElement | undefined;
3362
+ set wrapped(wrapped: BooleanElement | undefined);
3363
+ }
3364
+
3365
+ /**
3366
+ * @public
3367
+ */
3368
+ export declare class XmlVisitor extends XmlVisitor_base {
3369
+ readonly element: XmlElement;
3370
+ protected readonly specPath: SpecPath<['document', 'objects', 'XML']>;
3371
+ protected readonly canSupportSpecificationExtensions: true;
3372
+ constructor(options: XmlVisitorOptions);
3373
+ }
3374
+
3375
+ declare const XmlVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
3376
+
3377
+ /**
3378
+ * @public
3379
+ */
3380
+ export declare interface XmlVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
3381
+ }
3382
+
3383
+ export { }