@speclynx/apidom-ns-openapi-3-1 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 (198) hide show
  1. package/CHANGELOG.md +87 -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 +472 -0
  9. package/dist/apidom-ns-openapi-3-1.browser.js +36144 -0
  10. package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -0
  11. package/package.json +70 -0
  12. package/src/elements/Callback.cjs +10 -0
  13. package/src/elements/Callback.mjs +7 -0
  14. package/src/elements/Components.cjs +17 -0
  15. package/src/elements/Components.mjs +14 -0
  16. package/src/elements/Contact.cjs +10 -0
  17. package/src/elements/Contact.mjs +7 -0
  18. package/src/elements/Discriminator.cjs +10 -0
  19. package/src/elements/Discriminator.mjs +7 -0
  20. package/src/elements/Encoding.cjs +10 -0
  21. package/src/elements/Encoding.mjs +7 -0
  22. package/src/elements/Example.cjs +10 -0
  23. package/src/elements/Example.mjs +7 -0
  24. package/src/elements/ExternalDocumentation.cjs +10 -0
  25. package/src/elements/ExternalDocumentation.mjs +7 -0
  26. package/src/elements/Header.cjs +17 -0
  27. package/src/elements/Header.mjs +13 -0
  28. package/src/elements/Info.cjs +23 -0
  29. package/src/elements/Info.mjs +19 -0
  30. package/src/elements/JsonSchemaDialect.cjs +16 -0
  31. package/src/elements/JsonSchemaDialect.mjs +13 -0
  32. package/src/elements/License.cjs +17 -0
  33. package/src/elements/License.mjs +14 -0
  34. package/src/elements/Link.cjs +10 -0
  35. package/src/elements/Link.mjs +7 -0
  36. package/src/elements/MediaType.cjs +17 -0
  37. package/src/elements/MediaType.mjs +13 -0
  38. package/src/elements/OAuthFlow.cjs +10 -0
  39. package/src/elements/OAuthFlow.mjs +7 -0
  40. package/src/elements/OAuthFlows.cjs +10 -0
  41. package/src/elements/OAuthFlows.mjs +7 -0
  42. package/src/elements/OpenApi3-1.cjs +77 -0
  43. package/src/elements/OpenApi3-1.mjs +73 -0
  44. package/src/elements/Openapi.cjs +10 -0
  45. package/src/elements/Openapi.mjs +7 -0
  46. package/src/elements/Operation.cjs +17 -0
  47. package/src/elements/Operation.mjs +13 -0
  48. package/src/elements/Parameter.cjs +17 -0
  49. package/src/elements/Parameter.mjs +13 -0
  50. package/src/elements/PathItem.cjs +59 -0
  51. package/src/elements/PathItem.mjs +55 -0
  52. package/src/elements/Paths.cjs +10 -0
  53. package/src/elements/Paths.mjs +7 -0
  54. package/src/elements/Reference.cjs +28 -0
  55. package/src/elements/Reference.mjs +25 -0
  56. package/src/elements/RequestBody.cjs +10 -0
  57. package/src/elements/RequestBody.mjs +7 -0
  58. package/src/elements/Response.cjs +10 -0
  59. package/src/elements/Response.mjs +7 -0
  60. package/src/elements/Responses.cjs +10 -0
  61. package/src/elements/Responses.mjs +7 -0
  62. package/src/elements/Schema.cjs +50 -0
  63. package/src/elements/Schema.mjs +46 -0
  64. package/src/elements/SecurityRequirement.cjs +10 -0
  65. package/src/elements/SecurityRequirement.mjs +7 -0
  66. package/src/elements/SecurityScheme.cjs +10 -0
  67. package/src/elements/SecurityScheme.mjs +7 -0
  68. package/src/elements/Server.cjs +10 -0
  69. package/src/elements/Server.mjs +7 -0
  70. package/src/elements/ServerVariable.cjs +10 -0
  71. package/src/elements/ServerVariable.mjs +7 -0
  72. package/src/elements/Tag.cjs +10 -0
  73. package/src/elements/Tag.mjs +7 -0
  74. package/src/elements/Xml.cjs +10 -0
  75. package/src/elements/Xml.mjs +7 -0
  76. package/src/elements/nces/ComponentsPathItems.cjs +16 -0
  77. package/src/elements/nces/ComponentsPathItems.mjs +13 -0
  78. package/src/elements/nces/Webhooks.cjs +16 -0
  79. package/src/elements/nces/Webhooks.mjs +13 -0
  80. package/src/index.cjs +158 -0
  81. package/src/index.mjs +28 -0
  82. package/src/media-types.cjs +34 -0
  83. package/src/media-types.mjs +30 -0
  84. package/src/namespace.cjs +82 -0
  85. package/src/namespace.mjs +76 -0
  86. package/src/predicates.cjs +365 -0
  87. package/src/predicates.mjs +357 -0
  88. package/src/refractor/index.cjs +45 -0
  89. package/src/refractor/index.mjs +39 -0
  90. package/src/refractor/plugins/normalize-header-examples/NormalizeStorage.cjs +38 -0
  91. package/src/refractor/plugins/normalize-header-examples/NormalizeStorage.mjs +34 -0
  92. package/src/refractor/plugins/normalize-header-examples/index.cjs +105 -0
  93. package/src/refractor/plugins/normalize-header-examples/index.mjs +99 -0
  94. package/src/refractor/plugins/normalize-operation-ids.cjs +159 -0
  95. package/src/refractor/plugins/normalize-operation-ids.mjs +154 -0
  96. package/src/refractor/plugins/normalize-parameter-examples.cjs +105 -0
  97. package/src/refractor/plugins/normalize-parameter-examples.mjs +99 -0
  98. package/src/refractor/plugins/normalize-parameters.cjs +103 -0
  99. package/src/refractor/plugins/normalize-parameters.mjs +97 -0
  100. package/src/refractor/plugins/normalize-security-requirements.cjs +71 -0
  101. package/src/refractor/plugins/normalize-security-requirements.mjs +65 -0
  102. package/src/refractor/plugins/normalize-servers.cjs +118 -0
  103. package/src/refractor/plugins/normalize-servers.mjs +112 -0
  104. package/src/refractor/plugins/replace-empty-element.cjs +665 -0
  105. package/src/refractor/plugins/replace-empty-element.mjs +658 -0
  106. package/src/refractor/registration.cjs +102 -0
  107. package/src/refractor/registration.mjs +66 -0
  108. package/src/refractor/specification.cjs +492 -0
  109. package/src/refractor/specification.mjs +487 -0
  110. package/src/refractor/toolbox.cjs +70 -0
  111. package/src/refractor/toolbox.mjs +60 -0
  112. package/src/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.cjs +25 -0
  113. package/src/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.mjs +19 -0
  114. package/src/refractor/visitors/open-api-3-1/WebhooksVisitor.cjs +44 -0
  115. package/src/refractor/visitors/open-api-3-1/WebhooksVisitor.mjs +38 -0
  116. package/src/refractor/visitors/open-api-3-1/callback/index.cjs +37 -0
  117. package/src/refractor/visitors/open-api-3-1/callback/index.mjs +32 -0
  118. package/src/refractor/visitors/open-api-3-1/components/PathItemsVisitor.cjs +34 -0
  119. package/src/refractor/visitors/open-api-3-1/components/PathItemsVisitor.mjs +28 -0
  120. package/src/refractor/visitors/open-api-3-1/components/SchemasVisitor.cjs +22 -0
  121. package/src/refractor/visitors/open-api-3-1/components/SchemasVisitor.mjs +19 -0
  122. package/src/refractor/visitors/open-api-3-1/components/index.cjs +21 -0
  123. package/src/refractor/visitors/open-api-3-1/components/index.mjs +16 -0
  124. package/src/refractor/visitors/open-api-3-1/contact/index.cjs +21 -0
  125. package/src/refractor/visitors/open-api-3-1/contact/index.mjs +16 -0
  126. package/src/refractor/visitors/open-api-3-1/distriminator/index.cjs +22 -0
  127. package/src/refractor/visitors/open-api-3-1/distriminator/index.mjs +17 -0
  128. package/src/refractor/visitors/open-api-3-1/encoding/index.cjs +21 -0
  129. package/src/refractor/visitors/open-api-3-1/encoding/index.mjs +16 -0
  130. package/src/refractor/visitors/open-api-3-1/example/index.cjs +21 -0
  131. package/src/refractor/visitors/open-api-3-1/example/index.mjs +16 -0
  132. package/src/refractor/visitors/open-api-3-1/external-documentation/index.cjs +21 -0
  133. package/src/refractor/visitors/open-api-3-1/external-documentation/index.mjs +16 -0
  134. package/src/refractor/visitors/open-api-3-1/header/index.cjs +21 -0
  135. package/src/refractor/visitors/open-api-3-1/header/index.mjs +16 -0
  136. package/src/refractor/visitors/open-api-3-1/index.cjs +31 -0
  137. package/src/refractor/visitors/open-api-3-1/index.mjs +25 -0
  138. package/src/refractor/visitors/open-api-3-1/info/index.cjs +21 -0
  139. package/src/refractor/visitors/open-api-3-1/info/index.mjs +16 -0
  140. package/src/refractor/visitors/open-api-3-1/license/index.cjs +21 -0
  141. package/src/refractor/visitors/open-api-3-1/license/index.mjs +16 -0
  142. package/src/refractor/visitors/open-api-3-1/link/index.cjs +21 -0
  143. package/src/refractor/visitors/open-api-3-1/link/index.mjs +16 -0
  144. package/src/refractor/visitors/open-api-3-1/media-type/index.cjs +21 -0
  145. package/src/refractor/visitors/open-api-3-1/media-type/index.mjs +16 -0
  146. package/src/refractor/visitors/open-api-3-1/oauth-flow/index.cjs +21 -0
  147. package/src/refractor/visitors/open-api-3-1/oauth-flow/index.mjs +16 -0
  148. package/src/refractor/visitors/open-api-3-1/oauth-flows/index.cjs +21 -0
  149. package/src/refractor/visitors/open-api-3-1/oauth-flows/index.mjs +16 -0
  150. package/src/refractor/visitors/open-api-3-1/operation/index.cjs +21 -0
  151. package/src/refractor/visitors/open-api-3-1/operation/index.mjs +16 -0
  152. package/src/refractor/visitors/open-api-3-1/parameter/index.cjs +21 -0
  153. package/src/refractor/visitors/open-api-3-1/parameter/index.mjs +16 -0
  154. package/src/refractor/visitors/open-api-3-1/path-item/index.cjs +21 -0
  155. package/src/refractor/visitors/open-api-3-1/path-item/index.mjs +16 -0
  156. package/src/refractor/visitors/open-api-3-1/paths/index.cjs +21 -0
  157. package/src/refractor/visitors/open-api-3-1/paths/index.mjs +16 -0
  158. package/src/refractor/visitors/open-api-3-1/reference/index.cjs +21 -0
  159. package/src/refractor/visitors/open-api-3-1/reference/index.mjs +16 -0
  160. package/src/refractor/visitors/open-api-3-1/request-body/index.cjs +21 -0
  161. package/src/refractor/visitors/open-api-3-1/request-body/index.mjs +16 -0
  162. package/src/refractor/visitors/open-api-3-1/response/index.cjs +21 -0
  163. package/src/refractor/visitors/open-api-3-1/response/index.mjs +16 -0
  164. package/src/refractor/visitors/open-api-3-1/responses/index.cjs +21 -0
  165. package/src/refractor/visitors/open-api-3-1/responses/index.mjs +16 -0
  166. package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.cjs +19 -0
  167. package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.mjs +16 -0
  168. package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.cjs +15 -0
  169. package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.mjs +11 -0
  170. package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.cjs +15 -0
  171. package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.mjs +11 -0
  172. package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.cjs +15 -0
  173. package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.mjs +11 -0
  174. package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.cjs +15 -0
  175. package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.mjs +11 -0
  176. package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.cjs +15 -0
  177. package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.mjs +11 -0
  178. package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.cjs +15 -0
  179. package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.mjs +11 -0
  180. package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.cjs +15 -0
  181. package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.mjs +11 -0
  182. package/src/refractor/visitors/open-api-3-1/schema/index.cjs +75 -0
  183. package/src/refractor/visitors/open-api-3-1/schema/index.mjs +69 -0
  184. package/src/refractor/visitors/open-api-3-1/security-requirement/index.cjs +21 -0
  185. package/src/refractor/visitors/open-api-3-1/security-requirement/index.mjs +16 -0
  186. package/src/refractor/visitors/open-api-3-1/security-scheme/index.cjs +21 -0
  187. package/src/refractor/visitors/open-api-3-1/security-scheme/index.mjs +16 -0
  188. package/src/refractor/visitors/open-api-3-1/server/index.cjs +21 -0
  189. package/src/refractor/visitors/open-api-3-1/server/index.mjs +16 -0
  190. package/src/refractor/visitors/open-api-3-1/server-variable/index.cjs +21 -0
  191. package/src/refractor/visitors/open-api-3-1/server-variable/index.mjs +16 -0
  192. package/src/refractor/visitors/open-api-3-1/tag/index.cjs +21 -0
  193. package/src/refractor/visitors/open-api-3-1/tag/index.mjs +16 -0
  194. package/src/refractor/visitors/open-api-3-1/xml/index.cjs +21 -0
  195. package/src/refractor/visitors/open-api-3-1/xml/index.mjs +16 -0
  196. package/src/traversal/visitor.cjs +57 -0
  197. package/src/traversal/visitor.mjs +54 -0
  198. package/types/apidom-ns-openapi-3-1.d.ts +2745 -0
@@ -0,0 +1,2745 @@
1
+ import { $defsVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
2
+ import { AllOfVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
3
+ import { AlternatingVisitor } from '@speclynx/apidom-ns-openapi-3-0';
4
+ import { AlternatingVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
5
+ import { AnyOfVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
6
+ import { ArrayElement } from '@speclynx/apidom-core';
7
+ import { Attributes } from '@speclynx/apidom-core';
8
+ import { BooleanElement } from '@speclynx/apidom-core';
9
+ import { CallbackElement as CallbackElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
10
+ import { CallbackVisitor as CallbackVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
11
+ import { CallbackVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
12
+ import { Class } from 'ts-mixer/dist/types/types.js';
13
+ import { ComponentsCallbacksElement } from '@speclynx/apidom-ns-openapi-3-0';
14
+ import { ComponentsCallbacksVisitor } from '@speclynx/apidom-ns-openapi-3-0';
15
+ import { ComponentsCallbacksVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
16
+ import { ComponentsElement as ComponentsElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
17
+ import { ComponentsExamplesElement } from '@speclynx/apidom-ns-openapi-3-0';
18
+ import { ComponentsExamplesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
19
+ import { ComponentsExamplesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
20
+ import { ComponentsHeadersElement } from '@speclynx/apidom-ns-openapi-3-0';
21
+ import { ComponentsHeadersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
22
+ import { ComponentsHeadersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
23
+ import { ComponentsLinksElement } from '@speclynx/apidom-ns-openapi-3-0';
24
+ import { ComponentsLinksVisitor } from '@speclynx/apidom-ns-openapi-3-0';
25
+ import { ComponentsLinksVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
26
+ import { ComponentsParametersElement } from '@speclynx/apidom-ns-openapi-3-0';
27
+ import { ComponentsParametersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
28
+ import { ComponentsParametersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
29
+ import { ComponentsRequestBodiesElement } from '@speclynx/apidom-ns-openapi-3-0';
30
+ import { ComponentsRequestBodiesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
31
+ import { ComponentsRequestBodiesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
32
+ import { ComponentsResponsesElement } from '@speclynx/apidom-ns-openapi-3-0';
33
+ import { ComponentsResponsesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
34
+ import { ComponentsResponsesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
35
+ import { ComponentsSchemasElement } from '@speclynx/apidom-ns-openapi-3-0';
36
+ import { ComponentsSecuritySchemesElement } from '@speclynx/apidom-ns-openapi-3-0';
37
+ import { ComponentsSecuritySchemesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
38
+ import { ComponentsSecuritySchemesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
39
+ import { ComponentsVisitor as ComponentsVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
40
+ import { ComponentsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
41
+ import { ContactElement as ContactElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
42
+ import { ContactVisitor as ContactVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
43
+ import { ContactVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
44
+ import { ContentVisitor } from '@speclynx/apidom-ns-openapi-3-0';
45
+ import { ContentVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
46
+ import { DefinitionsVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
47
+ import { DependenciesVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
48
+ import { DependentSchemasVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
49
+ import { DiscriminatorElement as DiscriminatorElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
50
+ import { DiscriminatorMappingElement } from '@speclynx/apidom-ns-openapi-3-0';
51
+ import { DiscriminatorMappingVisitor } from '@speclynx/apidom-ns-openapi-3-0';
52
+ import { DiscriminatorMappingVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
53
+ import { DiscriminatorVisitor as DiscriminatorVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
54
+ import { DiscriminatorVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
55
+ import { Element as Element_2 } from '@speclynx/apidom-core';
56
+ import type { ElementPredicate } from '@speclynx/apidom-core';
57
+ import { EncodingElement as EncodingElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
58
+ import { EncodingHeadersElement } from '@speclynx/apidom-ns-openapi-3-0';
59
+ import { EncodingHeadersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
60
+ import { EncodingHeadersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
61
+ import { EncodingVisitor as EncodingVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
62
+ import { EncodingVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
63
+ import { EnumVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
64
+ import { ExampleElement as ExampleElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
65
+ import { ExampleExternalValueVisitor } from '@speclynx/apidom-ns-openapi-3-0';
66
+ import { ExampleExternalValueVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
67
+ import { ExamplesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
68
+ import { ExamplesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
69
+ import { ExampleVisitor as ExampleVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
70
+ import { ExampleVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
71
+ import { ExternalDocumentationElement as ExternalDocumentationElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
72
+ import { ExternalDocumentationVisitor as ExternalDocumentationVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
73
+ import { ExternalDocumentationVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
74
+ import { FallbackVisitor } from '@speclynx/apidom-ns-openapi-3-0';
75
+ import { FallbackVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
76
+ import { FixedFieldsVisitor } from '@speclynx/apidom-ns-openapi-3-0';
77
+ import { FixedFieldsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
78
+ import { hasElementSourceMap } from '@speclynx/apidom-core';
79
+ import { HeaderContentElement } from '@speclynx/apidom-ns-openapi-3-0';
80
+ import { HeaderContentVisitor } from '@speclynx/apidom-ns-openapi-3-0';
81
+ import { HeaderContentVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
82
+ import { HeaderElement as HeaderElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
83
+ import { HeaderExamplesElement } from '@speclynx/apidom-ns-openapi-3-0';
84
+ import { HeaderExamplesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
85
+ import { HeaderExamplesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
86
+ import { HeaderSchemaVisitor } from '@speclynx/apidom-ns-openapi-3-0';
87
+ import { HeaderSchemaVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
88
+ import { HeaderVisitor as HeaderVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
89
+ import { HeaderVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
90
+ import { includesClasses } from '@speclynx/apidom-core';
91
+ import { InfoElement as InfoElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
92
+ import { InfoVersionVisitor } from '@speclynx/apidom-ns-openapi-3-0';
93
+ import { InfoVersionVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
94
+ import { InfoVisitor as InfoVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
95
+ import { InfoVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
96
+ import { isArrayElement } from '@speclynx/apidom-core';
97
+ import { isBooleanElement } from '@speclynx/apidom-core';
98
+ import { isElement } from '@speclynx/apidom-core';
99
+ import { isLinkElement as isLinkPrimitiveElement } from '@speclynx/apidom-core';
100
+ import { isMemberElement } from '@speclynx/apidom-core';
101
+ import { isNullElement } from '@speclynx/apidom-core';
102
+ import { isNumberElement } from '@speclynx/apidom-core';
103
+ import { isObjectElement } from '@speclynx/apidom-core';
104
+ import { isOpenApiExtension } from '@speclynx/apidom-ns-openapi-3-0';
105
+ import { isRefElement } from '@speclynx/apidom-core';
106
+ import { isReferenceLikeElement } from '@speclynx/apidom-ns-openapi-3-0';
107
+ import { isServerLikeElement } from '@speclynx/apidom-ns-openapi-3-0';
108
+ import { isServersElement } from '@speclynx/apidom-ns-openapi-3-0';
109
+ import { isStringElement } from '@speclynx/apidom-core';
110
+ import { JSONSchemaElement } from '@speclynx/apidom-ns-json-schema-2020-12';
111
+ import { LicenseElement as LicenseElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
112
+ import { LicenseVisitor as LicenseVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
113
+ import { LicenseVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
114
+ import { LinkDescriptionVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
115
+ import { LinkElement as LinkElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
116
+ import { LinkOperationIdVisitor } from '@speclynx/apidom-ns-openapi-3-0';
117
+ import { LinkOperationIdVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
118
+ import { LinkOperationRefVisitor } from '@speclynx/apidom-ns-openapi-3-0';
119
+ import { LinkOperationRefVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
120
+ import { LinkParametersElement } from '@speclynx/apidom-ns-openapi-3-0';
121
+ import { LinkParametersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
122
+ import { LinkParametersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
123
+ import { LinksVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
124
+ import { LinkVisitor as LinkVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
125
+ import { LinkVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
126
+ import { MapVisitor } from '@speclynx/apidom-ns-openapi-3-0';
127
+ import { MapVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
128
+ import { MediaTypeElement as MediaTypeElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
129
+ import { MediaTypeEncodingElement } from '@speclynx/apidom-ns-openapi-3-0';
130
+ import { MediaTypeEncodingVisitor } from '@speclynx/apidom-ns-openapi-3-0';
131
+ import { MediaTypeEncodingVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
132
+ import { MediaTypeExamplesElement } from '@speclynx/apidom-ns-openapi-3-0';
133
+ import { MediaTypeExamplesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
134
+ import { MediaTypeExamplesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
135
+ import { MediaTypes } from '@speclynx/apidom-core';
136
+ import { MediaTypeSchemaVisitor } from '@speclynx/apidom-ns-openapi-3-0';
137
+ import { MediaTypeSchemaVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
138
+ import { MediaTypeVisitor as MediaTypeVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
139
+ import { MediaTypeVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
140
+ import { Meta } from '@speclynx/apidom-core';
141
+ import { MixedFieldsVisitor } from '@speclynx/apidom-ns-openapi-3-0';
142
+ import { MixedFieldsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
143
+ import { Namespace } from 'minim';
144
+ import { Namespace as Namespace_2 } from '@speclynx/apidom-core';
145
+ import { NamespacePluginOptions } from '@speclynx/apidom-core';
146
+ import { OAuthFlowElement as OAuthFlowElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
147
+ import { OAuthFlowScopesElement } from '@speclynx/apidom-ns-openapi-3-0';
148
+ import { OAuthFlowScopesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
149
+ import { OAuthFlowScopesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
150
+ import { OAuthFlowsElement as OAuthFlowsElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
151
+ import { OAuthFlowsVisitor as OAuthFlowsVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
152
+ import { OAuthFlowsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
153
+ import { OAuthFlowVisitor as OAuthFlowVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
154
+ import { OAuthFlowVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
155
+ import { ObjectElement } from '@speclynx/apidom-core';
156
+ import { OneOfVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
157
+ import { OpenapiElement as OpenapiElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
158
+ import { OpenapiVisitor } from '@speclynx/apidom-ns-openapi-3-0';
159
+ import { OpenapiVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
160
+ import { OperationCallbacksElement } from '@speclynx/apidom-ns-openapi-3-0';
161
+ import { OperationCallbacksVisitor } from '@speclynx/apidom-ns-openapi-3-0';
162
+ import { OperationCallbacksVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
163
+ import { OperationElement as OperationElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
164
+ import { OperationParametersElement } from '@speclynx/apidom-ns-openapi-3-0';
165
+ import { OperationParametersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
166
+ import { OperationParametersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
167
+ import { OperationRequestBodyVisitor } from '@speclynx/apidom-ns-openapi-3-0';
168
+ import { OperationRequestBodyVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
169
+ import { OperationSecurityElement } from '@speclynx/apidom-ns-openapi-3-0';
170
+ import { OperationSecurityVisitor } from '@speclynx/apidom-ns-openapi-3-0';
171
+ import { OperationSecurityVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
172
+ import { OperationServersElement } from '@speclynx/apidom-ns-openapi-3-0';
173
+ import { OperationServersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
174
+ import { OperationServersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
175
+ import { OperationTagsElement } from '@speclynx/apidom-ns-openapi-3-0';
176
+ import { OperationTagsVisitor } from '@speclynx/apidom-ns-openapi-3-0';
177
+ import { OperationTagsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
178
+ import { OperationVisitor as OperationVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
179
+ import { OperationVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
180
+ import { ParameterContentElement } from '@speclynx/apidom-ns-openapi-3-0';
181
+ import { ParameterContentVisitor } from '@speclynx/apidom-ns-openapi-3-0';
182
+ import { ParameterContentVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
183
+ import { ParameterElement as ParameterElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
184
+ import { ParameterExamplesElement } from '@speclynx/apidom-ns-openapi-3-0';
185
+ import { ParameterExamplesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
186
+ import { ParameterExampleVisitor } from '@speclynx/apidom-ns-openapi-3-0';
187
+ import { ParameterSchemaVisitor } from '@speclynx/apidom-ns-openapi-3-0';
188
+ import { ParameterSchemaVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
189
+ import { ParametersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
190
+ import { ParametersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
191
+ import { ParameterVisitor as ParameterVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
192
+ import { ParameterVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
193
+ import { ParentSchemaAwareVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
194
+ import { ParentSchemaAwareVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
195
+ import { PathItem$RefVisitor } from '@speclynx/apidom-ns-openapi-3-0';
196
+ import { PathItem$RefVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
197
+ import { PathItemElement as PathItemElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
198
+ import { PathItemParametersElement } from '@speclynx/apidom-ns-openapi-3-0';
199
+ import { PathItemParametersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
200
+ import { PathItemParametersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
201
+ import { PathItemServersElement } from '@speclynx/apidom-ns-openapi-3-0';
202
+ import { PathItemServersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
203
+ import { PathItemServersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
204
+ import { PathItemVisitor as PathItemVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
205
+ import { PathItemVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
206
+ import { PathsElement as PathsElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
207
+ import { PathsVisitor as PathsVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
208
+ import { PathsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
209
+ import { PatternedFieldsVisitor } from '@speclynx/apidom-ns-openapi-3-0';
210
+ import { PatternedFieldsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
211
+ import { PatternPropertiesVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
212
+ import { PrefixItemsVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
213
+ import { PropertiesVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
214
+ import { Reference$RefVisitor } from '@speclynx/apidom-ns-openapi-3-0';
215
+ import { Reference$RefVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
216
+ import { ReferenceElement as ReferenceElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
217
+ import { ReferenceVisitor as ReferenceVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
218
+ import { ReferenceVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
219
+ import { RequestBodyContentElement } from '@speclynx/apidom-ns-openapi-3-0';
220
+ import { RequestBodyContentVisitor } from '@speclynx/apidom-ns-openapi-3-0';
221
+ import { RequestBodyContentVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
222
+ import { RequestBodyElement as RequestBodyElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
223
+ import { RequestBodyVisitor as RequestBodyVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
224
+ import { RequestBodyVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
225
+ import { RequiredVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
226
+ import { ResponseContentElement } from '@speclynx/apidom-ns-openapi-3-0';
227
+ import { ResponseContentVisitor } from '@speclynx/apidom-ns-openapi-3-0';
228
+ import { ResponseContentVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
229
+ import { ResponseElement as ResponseElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
230
+ import { ResponseHeadersElement } from '@speclynx/apidom-ns-openapi-3-0';
231
+ import { ResponseHeadersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
232
+ import { ResponseHeadersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
233
+ import { ResponseLinksElement } from '@speclynx/apidom-ns-openapi-3-0';
234
+ import { ResponseLinksVisitor } from '@speclynx/apidom-ns-openapi-3-0';
235
+ import { ResponseLinksVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
236
+ import { ResponsesDefaultVisitor } from '@speclynx/apidom-ns-openapi-3-0';
237
+ import { ResponsesDefaultVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
238
+ import { ResponsesElement as ResponsesElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
239
+ import { ResponsesVisitor as ResponsesVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
240
+ import { ResponsesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
241
+ import { ResponseVisitor as ResponseVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
242
+ import { ResponseVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
243
+ import { $defsVisitorOptions as Schema$defsVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
244
+ import { $refVisitor as Schema$refVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
245
+ import { $refVisitorOptions as Schema$refVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
246
+ import { $vocabularyVisitor as Schema$vocabularyVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
247
+ import { $vocabularyVisitorOptions as Schema$vocabularyVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
248
+ import { AllOfVisitorOptions as SchemaAllOfVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
249
+ import { AnyOfVisitorOptions as SchemaAnyOfVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
250
+ import { DependentRequiredVisitor as SchemaDependentRequiredVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
251
+ import { DependentRequiredVisitorOptions as SchemaDependentRequiredVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
252
+ import { DependentSchemasVisitorOptions as SchemaDependentSchemasVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
253
+ import { OneOfVisitorOptions as SchemaOneOfVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
254
+ import { SchemaOrReferenceVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
255
+ import { PatternPropertiesVisitorOptions as SchemaPatternPropertiesVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
256
+ import { PrefixItemsVisitorOptions as SchemaPrefixItemsVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
257
+ import { PropertiesVisitorOptions as SchemaPropertiesVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
258
+ import { SecurityElement } from '@speclynx/apidom-ns-openapi-3-0';
259
+ import { SecurityRequirementElement as SecurityRequirementElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
260
+ import { SecurityRequirementVisitor as SecurityRequirementVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
261
+ import { SecurityRequirementVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
262
+ import { SecuritySchemeElement as SecuritySchemeElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
263
+ import { SecuritySchemeVisitor as SecuritySchemeVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
264
+ import { SecuritySchemeVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
265
+ import { SecurityVisitor } from '@speclynx/apidom-ns-openapi-3-0';
266
+ import { SecurityVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
267
+ import { ServerElement as ServerElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
268
+ import { ServersElement } from '@speclynx/apidom-ns-openapi-3-0';
269
+ import { ServersVisitor } from '@speclynx/apidom-ns-openapi-3-0';
270
+ import { ServersVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
271
+ import { ServerVariableElement as ServerVariableElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
272
+ import { ServerVariablesElement } from '@speclynx/apidom-ns-openapi-3-0';
273
+ import { ServerVariableUrlVisitor } from '@speclynx/apidom-ns-openapi-3-0';
274
+ import { ServerVariableUrlVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
275
+ import { ServerVariableVariablesVisitor } from '@speclynx/apidom-ns-openapi-3-0';
276
+ import { ServerVariableVariablesVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
277
+ import { ServerVariableVisitor as ServerVariableVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
278
+ import { ServerVariableVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
279
+ import { ServerVisitor as ServerVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
280
+ import { ServerVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
281
+ import { SpecificationExtensionVisitor } from '@speclynx/apidom-ns-openapi-3-0';
282
+ import { SpecificationExtensionVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
283
+ import { SpecificationVisitor } from '@speclynx/apidom-ns-openapi-3-0';
284
+ import { SpecificationVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
285
+ import { SpecPath } from '@speclynx/apidom-ns-openapi-3-0';
286
+ import { StringElement } from '@speclynx/apidom-core';
287
+ import { TagElement as TagElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
288
+ import { TagsElement } from '@speclynx/apidom-ns-openapi-3-0';
289
+ import { TagsVisitor } from '@speclynx/apidom-ns-openapi-3-0';
290
+ import { TagsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
291
+ import { TagVisitor as TagVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
292
+ import { TagVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
293
+ import { TypeVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
294
+ import { Visitor } from '@speclynx/apidom-ns-openapi-3-0';
295
+ import { VisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
296
+ import { XmlElement as XmlElement_2 } from '@speclynx/apidom-ns-openapi-3-0';
297
+ import { XmlVisitor as XmlVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
298
+ import { XmlVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
299
+
300
+ export { AlternatingVisitor }
301
+
302
+ export { AlternatingVisitorOptions }
303
+
304
+ /**
305
+ * Translates visitor ancestor lineage to a JSON Pointer tokens.
306
+ * Ancestor lineage is constructed of following visitor method arguments:
307
+ *
308
+ * - ancestors
309
+ * - parent
310
+ * - element
311
+ * @public
312
+ */
313
+ export declare const ancestorLineageToJSONPointer: <T extends (Element_2 | Element_2[])[]>(elementPath: T) => string;
314
+
315
+ /**
316
+ * @public
317
+ */
318
+ export declare const BaseCallbackVisitor: typeof CallbackVisitor_2;
319
+
320
+ /**
321
+ * @public
322
+ */
323
+ export declare const BaseComponentsVisitor: typeof ComponentsVisitor_2;
324
+
325
+ /**
326
+ * @public
327
+ */
328
+ export declare const BaseContactVisitor: typeof ContactVisitor_2;
329
+
330
+ /**
331
+ * @public
332
+ */
333
+ export declare const BaseDiscriminatorVisitor: typeof DiscriminatorVisitor_2;
334
+
335
+ /**
336
+ * @public
337
+ */
338
+ export declare const BaseEncodingVisitor: typeof EncodingVisitor_2;
339
+
340
+ /**
341
+ * @public
342
+ */
343
+ export declare const BaseExampleVisitor: typeof ExampleVisitor_2;
344
+
345
+ /**
346
+ * @public
347
+ */
348
+ export declare const BaseExternalDocumentationVisitor: typeof ExternalDocumentationVisitor_2;
349
+
350
+ /**
351
+ * @public
352
+ */
353
+ export declare const BaseHeaderVisitor: typeof HeaderVisitor_2;
354
+
355
+ /**
356
+ * @public
357
+ */
358
+ export declare const BaseInfoVisitor: typeof InfoVisitor_2;
359
+
360
+ /**
361
+ * @public
362
+ */
363
+ export declare const BaseLicenseVisitor: typeof LicenseVisitor_2;
364
+
365
+ /**
366
+ * @public
367
+ */
368
+ export declare const BaseLinkVisitor: typeof LinkVisitor_2;
369
+
370
+ /**
371
+ * @public
372
+ */
373
+ export declare const BaseMediaTypeVisitor: typeof MediaTypeVisitor_2;
374
+
375
+ /**
376
+ * @public
377
+ */
378
+ export declare const BaseOAuthFlowsVisitor: typeof OAuthFlowsVisitor_2;
379
+
380
+ /**
381
+ * @public
382
+ */
383
+ export declare const BaseOAuthFlowVisitor: typeof OAuthFlowVisitor_2;
384
+
385
+ /**
386
+ * @public
387
+ */
388
+ export declare const BaseOperationVisitor: typeof OperationVisitor_2;
389
+
390
+ /**
391
+ * @public
392
+ */
393
+ export declare const BaseParameterVisitor: typeof ParameterVisitor_2;
394
+
395
+ /**
396
+ * @public
397
+ */
398
+ export declare const BasePathItemVisitor: typeof PathItemVisitor_2;
399
+
400
+ /**
401
+ * @public
402
+ */
403
+ export declare const BasePathsVisitor: typeof PathsVisitor_2;
404
+
405
+ /**
406
+ * @public
407
+ */
408
+ export declare const BaseReferenceVisitor: typeof ReferenceVisitor_2;
409
+
410
+ /**
411
+ * @public
412
+ */
413
+ export declare const BaseRequestBodyVisitor: typeof RequestBodyVisitor_2;
414
+
415
+ /**
416
+ * @public
417
+ */
418
+ export declare const BaseResponsesVisitor: typeof ResponsesVisitor_2;
419
+
420
+ /**
421
+ * @public
422
+ */
423
+ export declare const BaseResponseVisitor: typeof ResponseVisitor_2;
424
+
425
+ /**
426
+ * @public
427
+ */
428
+ export declare const BaseSecurityRequirementVisitor: typeof SecurityRequirementVisitor_2;
429
+
430
+ /**
431
+ * @public
432
+ */
433
+ export declare const BaseSecuritySchemeVisitor: typeof SecuritySchemeVisitor_2;
434
+
435
+ /**
436
+ * @public
437
+ */
438
+ export declare const BaseServerVariableVisitor: typeof ServerVariableVisitor_2;
439
+
440
+ /**
441
+ * @public
442
+ */
443
+ export declare const BaseServerVisitor: typeof ServerVisitor_2;
444
+
445
+ /**
446
+ * @public
447
+ */
448
+ export declare const BaseTagVisitor: typeof TagVisitor_2;
449
+
450
+ /**
451
+ * @public
452
+ */
453
+ export declare const BaseXMLVisitor: typeof XmlVisitor_2;
454
+
455
+ /**
456
+ * @public
457
+ */
458
+ export declare class CallbackElement extends CallbackElement_2 {
459
+ }
460
+
461
+ /**
462
+ * @public
463
+ */
464
+ export declare class CallbackVisitor extends BaseCallbackVisitor {
465
+ readonly element: CallbackElement;
466
+ protected readonly specPath: SpecPath<[
467
+ 'document',
468
+ 'objects',
469
+ 'Reference'
470
+ ] | ['document', 'objects', 'PathItem']>;
471
+ constructor(options: CallbackVisitorOptions);
472
+ ObjectElement(objectElement: ObjectElement): {};
473
+ }
474
+
475
+ export { CallbackVisitorOptions }
476
+
477
+ export { ComponentsCallbacksElement }
478
+
479
+ export { ComponentsCallbacksVisitor }
480
+
481
+ export { ComponentsCallbacksVisitorOptions }
482
+
483
+ /**
484
+ * @public
485
+ */
486
+ export declare class ComponentsElement extends ComponentsElement_2 {
487
+ get pathItems(): ObjectElement | undefined;
488
+ set pathItems(pathItems: ObjectElement | undefined);
489
+ }
490
+
491
+ export { ComponentsExamplesElement }
492
+
493
+ export { ComponentsExamplesVisitor }
494
+
495
+ export { ComponentsExamplesVisitorOptions }
496
+
497
+ export { ComponentsHeadersElement }
498
+
499
+ export { ComponentsHeadersVisitor }
500
+
501
+ export { ComponentsHeadersVisitorOptions }
502
+
503
+ export { ComponentsLinksElement }
504
+
505
+ export { ComponentsLinksVisitor }
506
+
507
+ export { ComponentsLinksVisitorOptions }
508
+
509
+ export { ComponentsParametersElement }
510
+
511
+ export { ComponentsParametersVisitor }
512
+
513
+ export { ComponentsParametersVisitorOptions }
514
+
515
+ /**
516
+ * @public
517
+ */
518
+ export declare class ComponentsPathItemsElement extends ObjectElement {
519
+ static primaryClass: string;
520
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
521
+ }
522
+
523
+ /**
524
+ * @public
525
+ */
526
+ export declare class ComponentsPathItemsVisitor extends PathItemsVisitor_base {
527
+ readonly element: ComponentsPathItemsElement;
528
+ protected readonly specPath: SpecPath<[
529
+ 'document',
530
+ 'objects',
531
+ 'Reference'
532
+ ] | ['document', 'objects', 'PathItem']>;
533
+ constructor(options: ComponentsPathItemsVisitorOptions);
534
+ ObjectElement(objectElement: ObjectElement): {};
535
+ }
536
+
537
+ /**
538
+ * @public
539
+ */
540
+ export declare interface ComponentsPathItemsVisitorOptions extends MapVisitorOptions, FallbackVisitorOptions {
541
+ }
542
+
543
+ export { ComponentsRequestBodiesElement }
544
+
545
+ export { ComponentsRequestBodiesVisitor }
546
+
547
+ export { ComponentsRequestBodiesVisitorOptions }
548
+
549
+ export { ComponentsResponsesElement }
550
+
551
+ export { ComponentsResponsesVisitor }
552
+
553
+ export { ComponentsResponsesVisitorOptions }
554
+
555
+ export { ComponentsSchemasElement }
556
+
557
+ /**
558
+ * @public
559
+ */
560
+ export declare class ComponentsSchemasVisitor extends SchemasVisitor_base {
561
+ readonly element: ComponentsSchemasElement;
562
+ protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
563
+ constructor(options: ComponentsSchemasVisitorOptions);
564
+ }
565
+
566
+ /**
567
+ * @public
568
+ */
569
+ export declare interface ComponentsSchemasVisitorOptions extends MapVisitorOptions, FallbackVisitorOptions {
570
+ }
571
+
572
+ export { ComponentsSecuritySchemesElement }
573
+
574
+ export { ComponentsSecuritySchemesVisitor }
575
+
576
+ export { ComponentsSecuritySchemesVisitorOptions }
577
+
578
+ /**
579
+ * @public
580
+ */
581
+ export declare class ComponentsVisitor extends BaseComponentsVisitor {
582
+ readonly element: ComponentsElement;
583
+ constructor(options: ComponentsVisitorOptions);
584
+ }
585
+
586
+ export { ComponentsVisitorOptions }
587
+
588
+ /**
589
+ * @public
590
+ */
591
+ export declare class ContactElement extends ContactElement_2 {
592
+ }
593
+
594
+ /**
595
+ * @public
596
+ */
597
+ export declare class ContactVisitor extends BaseContactVisitor {
598
+ readonly element: ContactElement;
599
+ constructor(options: ContactVisitorOptions);
600
+ }
601
+
602
+ export { ContactVisitorOptions }
603
+
604
+ export { ContentVisitor }
605
+
606
+ export { ContentVisitorOptions }
607
+
608
+ /**
609
+ * @public
610
+ */
611
+ export declare const createToolbox: () => Toolbox;
612
+
613
+ /**
614
+ * @public
615
+ */
616
+ export declare class DiscriminatorElement extends DiscriminatorElement_2 {
617
+ }
618
+
619
+ export { DiscriminatorMappingElement }
620
+
621
+ export { DiscriminatorMappingVisitor }
622
+
623
+ export { DiscriminatorMappingVisitorOptions }
624
+
625
+ /**
626
+ * @public
627
+ */
628
+ export declare class DiscriminatorVisitor extends BaseDiscriminatorVisitor {
629
+ readonly element: DiscriminatorElement;
630
+ protected readonly canSupportSpecificationExtensions: true;
631
+ constructor(options: DiscriminatorVisitorOptions);
632
+ }
633
+
634
+ export { DiscriminatorVisitorOptions }
635
+
636
+ /**
637
+ * @public
638
+ */
639
+ export declare class EncodingElement extends EncodingElement_2 {
640
+ }
641
+
642
+ export { EncodingHeadersElement }
643
+
644
+ export { EncodingHeadersVisitor }
645
+
646
+ export { EncodingHeadersVisitorOptions }
647
+
648
+ /**
649
+ * @public
650
+ */
651
+ export declare class EncodingVisitor extends BaseEncodingVisitor {
652
+ readonly element: EncodingElement;
653
+ constructor(options: EncodingVisitorOptions);
654
+ }
655
+
656
+ export { EncodingVisitorOptions }
657
+
658
+ /**
659
+ * @public
660
+ */
661
+ export declare class ExampleElement extends ExampleElement_2 {
662
+ }
663
+
664
+ export { ExampleExternalValueVisitor }
665
+
666
+ export { ExampleExternalValueVisitorOptions }
667
+
668
+ export { ExamplesVisitor }
669
+
670
+ export { ExamplesVisitorOptions }
671
+
672
+ /**
673
+ * @public
674
+ */
675
+ export declare class ExampleVisitor extends BaseExampleVisitor {
676
+ readonly element: ExampleElement;
677
+ constructor(options: ExampleVisitorOptions);
678
+ }
679
+
680
+ export { ExampleVisitorOptions }
681
+
682
+ /**
683
+ * @public
684
+ */
685
+ export declare class ExternalDocumentationElement extends ExternalDocumentationElement_2 {
686
+ }
687
+
688
+ /**
689
+ * @public
690
+ */
691
+ export declare class ExternalDocumentationVisitor extends BaseExternalDocumentationVisitor {
692
+ readonly element: ExternalDocumentationElement;
693
+ constructor(options: ExternalDocumentationVisitorOptions);
694
+ }
695
+
696
+ export { ExternalDocumentationVisitorOptions }
697
+
698
+ export { FallbackVisitor }
699
+
700
+ export { FallbackVisitorOptions }
701
+
702
+ export { FixedFieldsVisitor }
703
+
704
+ export { FixedFieldsVisitorOptions }
705
+
706
+ /**
707
+ * @public
708
+ */
709
+ export declare type Format = 'generic' | 'json' | 'yaml';
710
+
711
+ /**
712
+ * @public
713
+ */
714
+ export declare const getNodeType: <T extends Element_2>(element: T) => string | undefined;
715
+
716
+ export { HeaderContentElement }
717
+
718
+ export { HeaderContentVisitor }
719
+
720
+ export { HeaderContentVisitorOptions }
721
+
722
+ /**
723
+ * @public
724
+ */
725
+ export declare class HeaderElement extends HeaderElement_2 {
726
+ get schema(): SchemaElement | undefined;
727
+ set schema(schema: SchemaElement | undefined);
728
+ }
729
+
730
+ export { HeaderExamplesElement }
731
+
732
+ export { HeaderExamplesVisitor }
733
+
734
+ export { HeaderExamplesVisitorOptions }
735
+
736
+ export { HeaderSchemaVisitor }
737
+
738
+ export { HeaderSchemaVisitorOptions }
739
+
740
+ /**
741
+ * @public
742
+ */
743
+ export declare class HeaderVisitor extends BaseHeaderVisitor {
744
+ readonly element: HeaderElement;
745
+ constructor(options: HeaderVisitorOptions);
746
+ }
747
+
748
+ export { HeaderVisitorOptions }
749
+
750
+ /**
751
+ * @public
752
+ */
753
+ export declare class InfoElement extends InfoElement_2 {
754
+ get license(): LicenseElement | undefined;
755
+ set license(licenseElement: LicenseElement | undefined);
756
+ get summary(): StringElement | undefined;
757
+ set summary(summary: StringElement | undefined);
758
+ }
759
+
760
+ export { InfoVersionVisitor }
761
+
762
+ export { InfoVersionVisitorOptions }
763
+
764
+ /**
765
+ * @public
766
+ */
767
+ export declare class InfoVisitor extends BaseInfoVisitor {
768
+ readonly element: InfoElement;
769
+ constructor(options: InfoVisitorOptions);
770
+ }
771
+
772
+ export { InfoVisitorOptions }
773
+
774
+ export { isArrayElement }
775
+
776
+ export { isBooleanElement }
777
+
778
+ /**
779
+ * @public
780
+ */
781
+ export declare const isBooleanJsonSchemaElement: ElementPredicate<BooleanElement>;
782
+
783
+ /**
784
+ * @public
785
+ */
786
+ export declare const isCallbackElement: ElementPredicate<CallbackElement>;
787
+
788
+ /**
789
+ * @public
790
+ */
791
+ export declare const isComponentsElement: ElementPredicate<ComponentsElement>;
792
+
793
+ /**
794
+ * @public
795
+ */
796
+ export declare const isContactElement: ElementPredicate<ContactElement>;
797
+
798
+ export { isElement }
799
+
800
+ /**
801
+ * @public
802
+ */
803
+ export declare const isExampleElement: ElementPredicate<ExampleElement>;
804
+
805
+ /**
806
+ * @public
807
+ */
808
+ export declare const isExternalDocumentationElement: ElementPredicate<ExternalDocumentationElement>;
809
+
810
+ /**
811
+ * @public
812
+ */
813
+ declare const isHeaderElement: ElementPredicate<HeaderElement>;
814
+
815
+ /**
816
+ * @public
817
+ */
818
+ export declare const isInfoElement: ElementPredicate<InfoElement>;
819
+
820
+ /**
821
+ * @public
822
+ */
823
+ export declare const isJsonSchemaDialectElement: ElementPredicate<JsonSchemaDialectElement>;
824
+
825
+ /**
826
+ * @public
827
+ */
828
+ export declare const isLicenseElement: ElementPredicate<LicenseElement>;
829
+
830
+ /**
831
+ * @public
832
+ */
833
+ export declare const isLinkElement: ElementPredicate<LinkElement>;
834
+
835
+ export { isLinkPrimitiveElement }
836
+
837
+ /**
838
+ * @public
839
+ */
840
+ export declare const isMediaTypeElement: ElementPredicate<MediaTypeElement>;
841
+
842
+ export { isMemberElement }
843
+
844
+ export { isNullElement }
845
+
846
+ export { isNumberElement }
847
+
848
+ export { isObjectElement }
849
+
850
+ /**
851
+ * @public
852
+ */
853
+ export declare const isOpenApi3_1Element: ElementPredicate<OpenApi3_1Element>;
854
+
855
+ /**
856
+ * @public
857
+ */
858
+ export declare const isOpenapiElement: ElementPredicate<OpenapiElement>;
859
+
860
+ export { isOpenApiExtension }
861
+
862
+ /**
863
+ * @public
864
+ */
865
+ export declare const isOperationElement: ElementPredicate<OperationElement>;
866
+
867
+ /**
868
+ * @public
869
+ */
870
+ export declare const isParameterElement: ElementPredicate<ParameterElement>;
871
+
872
+ /**
873
+ * @public
874
+ */
875
+ export declare const isPathItemElement: ElementPredicate<PathItemElement>;
876
+
877
+ /**
878
+ * @deprecated
879
+ * Determining whether a PathItemElement is external or internal is not possible by just looking
880
+ * at value of the $ref fixed field. The value of the $ref field needs to be resolved in runtime
881
+ * using the referring document as the Base URI.
882
+ * @public
883
+ */
884
+ export declare const isPathItemElementExternal: ElementPredicate<PathItemElement>;
885
+
886
+ /**
887
+ * @public
888
+ */
889
+ export declare const isPathsElement: ElementPredicate<PathsElement>;
890
+
891
+ export { isRefElement }
892
+
893
+ /**
894
+ * @public
895
+ */
896
+ export declare const isReferenceElement: ElementPredicate<ReferenceElement>;
897
+
898
+ /**
899
+ * @deprecated
900
+ * Determining whether a ReferenceElement is external or internal is not possible by just looking
901
+ * at value of the $ref fixed field. The value of the $ref field needs to be resolved in runtime
902
+ * using the referring document as the Base URI.
903
+ * @public
904
+ */
905
+ export declare const isReferenceElementExternal: ElementPredicate<ReferenceElement>;
906
+
907
+ export { isReferenceLikeElement }
908
+
909
+ /**
910
+ * @public
911
+ */
912
+ export declare const isRequestBodyElement: ElementPredicate<RequestBodyElement>;
913
+
914
+ /**
915
+ * @public
916
+ */
917
+ export declare const isResponseElement: ElementPredicate<ResponseElement>;
918
+
919
+ /**
920
+ * @public
921
+ */
922
+ export declare const isResponsesElement: ElementPredicate<ResponsesElement>;
923
+
924
+ /**
925
+ * @public
926
+ */
927
+ export declare const isSchemaElement: ElementPredicate<SchemaElement>;
928
+
929
+ /**
930
+ * @public
931
+ */
932
+ export declare const isSecurityRequirementElement: ElementPredicate<SecurityRequirementElement>;
933
+
934
+ /**
935
+ * @public
936
+ */
937
+ export declare const isSecuritySchemeElement: ElementPredicate<SecuritySchemeElement>;
938
+
939
+ /**
940
+ * @public
941
+ */
942
+ export declare const isServerElement: ElementPredicate<ServerElement>;
943
+
944
+ export { isServerLikeElement }
945
+
946
+ export { isServersElement }
947
+
948
+ /**
949
+ * @public
950
+ */
951
+ export declare const isServerVariableElement: ElementPredicate<ServerVariableElement>;
952
+
953
+ export { isStringElement }
954
+
955
+ /**
956
+ * @public
957
+ */
958
+ export declare class JsonSchemaDialectElement extends StringElement {
959
+ static default: JsonSchemaDialectElement;
960
+ constructor(content?: string, meta?: Meta, attributes?: Attributes);
961
+ }
962
+
963
+ /**
964
+ * @public
965
+ */
966
+ export declare class JsonSchemaDialectVisitor extends JsonSchemaDialectVisitor_base {
967
+ element: JsonSchemaDialectElement;
968
+ StringElement(stringElement: StringElement): {};
969
+ }
970
+
971
+ declare const JsonSchemaDialectVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
972
+
973
+ /**
974
+ * @public
975
+ */
976
+ export declare interface JsonSchemaDialectVisitorOptions extends SpecificationVisitorOptions, FallbackVisitorOptions {
977
+ }
978
+
979
+ /**
980
+ * There are unfortunately two `LinkElement` types. One is from base namespace
981
+ * and the other one if from this namespace. `LinkElement` from base namespace
982
+ * is used extremely rarely so it's almost always safe during traversing
983
+ * to assume that `LinkElement` is element from this namespace.
984
+ *
985
+ * To be 100% sure that currently visiting `LinkElement` is from this namespace
986
+ * use `isLinkElement` predicate from this namespace to assert for it.
987
+ * @public
988
+ */
989
+ export declare const keyMap: {
990
+ ObjectElement: string[];
991
+ ArrayElement: string[];
992
+ MemberElement: string[];
993
+ StringElement: never[];
994
+ BooleanElement: never[];
995
+ NumberElement: never[];
996
+ NullElement: never[];
997
+ RefElement: never[];
998
+ LinkElement: never[];
999
+ Annotation: never[];
1000
+ Comment: never[];
1001
+ ParseResultElement: string[];
1002
+ SourceMap: string[];
1003
+ CallbackElement: string[];
1004
+ ComponentsElement: string[];
1005
+ ContactElement: string[];
1006
+ DiscriminatorElement: string[];
1007
+ Encoding: string[];
1008
+ Example: string[];
1009
+ ExternalDocumentationElement: string[];
1010
+ HeaderElement: string[];
1011
+ InfoElement: string[];
1012
+ LicenseElement: string[];
1013
+ MediaTypeElement: string[];
1014
+ OAuthFlowElement: string[];
1015
+ OAuthFlowsElement: string[];
1016
+ OpenApi3_1Element: string[];
1017
+ OperationElement: string[];
1018
+ ParameterElement: string[];
1019
+ PathItemElement: string[];
1020
+ PathsElement: string[];
1021
+ ReferenceElement: string[];
1022
+ RequestBodyElement: string[];
1023
+ ResponseElement: string[];
1024
+ ResponsesElement: string[];
1025
+ SchemaElement: string[];
1026
+ SecurityRequirementElement: string[];
1027
+ SecuritySchemeElement: string[];
1028
+ ServerElement: string[];
1029
+ ServerVariableElement: string[];
1030
+ TagElement: string[];
1031
+ };
1032
+
1033
+ /**
1034
+ * @public
1035
+ */
1036
+ export declare class LicenseElement extends LicenseElement_2 {
1037
+ get identifier(): StringElement | undefined;
1038
+ set identifier(name: StringElement | undefined);
1039
+ }
1040
+
1041
+ /**
1042
+ * @public
1043
+ */
1044
+ export declare class LicenseVisitor extends BaseLicenseVisitor {
1045
+ readonly element: LicenseElement;
1046
+ constructor(options: LicenseVisitorOptions);
1047
+ }
1048
+
1049
+ export { LicenseVisitorOptions }
1050
+
1051
+ /**
1052
+ * @public
1053
+ */
1054
+ export declare class LinkElement extends LinkElement_2 {
1055
+ }
1056
+
1057
+ export { LinkOperationIdVisitor }
1058
+
1059
+ export { LinkOperationIdVisitorOptions }
1060
+
1061
+ export { LinkOperationRefVisitor }
1062
+
1063
+ export { LinkOperationRefVisitorOptions }
1064
+
1065
+ export { LinkParametersElement }
1066
+
1067
+ export { LinkParametersVisitor }
1068
+
1069
+ export { LinkParametersVisitorOptions }
1070
+
1071
+ /**
1072
+ * @public
1073
+ */
1074
+ export declare class LinkVisitor extends BaseLinkVisitor {
1075
+ readonly element: LinkElement;
1076
+ constructor(options: LinkVisitorOptions);
1077
+ }
1078
+
1079
+ export { LinkVisitorOptions }
1080
+
1081
+ export { MapVisitor }
1082
+
1083
+ export { MapVisitorOptions }
1084
+
1085
+ /**
1086
+ * @public
1087
+ */
1088
+ export declare class MediaTypeElement extends MediaTypeElement_2 {
1089
+ get schema(): SchemaElement | undefined;
1090
+ set schema(schema: SchemaElement | undefined);
1091
+ }
1092
+
1093
+ export { MediaTypeEncodingElement }
1094
+
1095
+ export { MediaTypeEncodingVisitor }
1096
+
1097
+ export { MediaTypeEncodingVisitorOptions }
1098
+
1099
+ export { MediaTypeExamplesElement }
1100
+
1101
+ export { MediaTypeExamplesVisitor }
1102
+
1103
+ export { MediaTypeExamplesVisitorOptions }
1104
+
1105
+ /**
1106
+ * @public
1107
+ */
1108
+ export declare const mediaTypes: OpenAPIMediaTypes;
1109
+
1110
+ export { MediaTypeSchemaVisitor }
1111
+
1112
+ export { MediaTypeSchemaVisitorOptions }
1113
+
1114
+ /**
1115
+ * @public
1116
+ */
1117
+ export declare class MediaTypeVisitor extends BaseMediaTypeVisitor {
1118
+ readonly element: MediaTypeElement;
1119
+ constructor(options: MediaTypeVisitorOptions);
1120
+ }
1121
+
1122
+ export { MediaTypeVisitorOptions }
1123
+
1124
+ export { MixedFieldsVisitor }
1125
+
1126
+ export { MixedFieldsVisitorOptions }
1127
+
1128
+ /**
1129
+ * @public
1130
+ */
1131
+ export declare class OAuthFlowElement extends OAuthFlowElement_2 {
1132
+ }
1133
+
1134
+ export { OAuthFlowScopesElement }
1135
+
1136
+ export { OAuthFlowScopesVisitor }
1137
+
1138
+ export { OAuthFlowScopesVisitorOptions }
1139
+
1140
+ /**
1141
+ * @public
1142
+ */
1143
+ export declare class OAuthFlowsElement extends OAuthFlowsElement_2 {
1144
+ }
1145
+
1146
+ /**
1147
+ * @public
1148
+ */
1149
+ export declare class OAuthFlowsVisitor extends BaseOAuthFlowsVisitor {
1150
+ readonly element: OAuthFlowsElement;
1151
+ constructor(options: OAuthFlowsVisitorOptions);
1152
+ }
1153
+
1154
+ export { OAuthFlowsVisitorOptions }
1155
+
1156
+ /**
1157
+ * @public
1158
+ */
1159
+ export declare class OAuthFlowVisitor extends BaseOAuthFlowVisitor {
1160
+ readonly element: OAuthFlowElement;
1161
+ constructor(options: OAuthFlowVisitorOptions);
1162
+ }
1163
+
1164
+ export { OAuthFlowVisitorOptions }
1165
+
1166
+ /**
1167
+ * @public
1168
+ */
1169
+ declare const openApi3_1: {
1170
+ namespace: (options: NamespacePluginOptions) => Namespace;
1171
+ };
1172
+ export default openApi3_1;
1173
+
1174
+ /**
1175
+ * @public
1176
+ */
1177
+ export declare class OpenApi3_1Element extends ObjectElement {
1178
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1179
+ get openapi(): OpenapiElement | undefined;
1180
+ set openapi(openapi: OpenapiElement | undefined);
1181
+ get info(): InfoElement | undefined;
1182
+ set info(info: InfoElement | undefined);
1183
+ get jsonSchemaDialect(): StringElement | undefined;
1184
+ set jsonSchemaDialect(jsonSchemaDialect: StringElement | undefined);
1185
+ get servers(): ArrayElement | undefined;
1186
+ set servers(servers: ArrayElement | undefined);
1187
+ get paths(): PathsElement | undefined;
1188
+ set paths(paths: PathsElement | undefined);
1189
+ get components(): ComponentsElement | undefined;
1190
+ set components(components: ComponentsElement | undefined);
1191
+ get security(): ArrayElement | undefined;
1192
+ set security(security: ArrayElement | undefined);
1193
+ get tags(): ArrayElement | undefined;
1194
+ set tags(tags: ArrayElement | undefined);
1195
+ get externalDocs(): ExternalDocumentationElement | undefined;
1196
+ set externalDocs(externalDocs: ExternalDocumentationElement | undefined);
1197
+ get webhooks(): ObjectElement | undefined;
1198
+ set webhooks(webhooks: ObjectElement | undefined);
1199
+ }
1200
+
1201
+ declare namespace openApi3_1Predicates {
1202
+ export {
1203
+ isCallbackElement,
1204
+ isComponentsElement,
1205
+ isContactElement,
1206
+ isExampleElement,
1207
+ isExternalDocumentationElement,
1208
+ isHeaderElement,
1209
+ isInfoElement,
1210
+ isJsonSchemaDialectElement,
1211
+ isLicenseElement,
1212
+ isLinkElement,
1213
+ isOpenapiElement,
1214
+ isOpenApi3_1Element,
1215
+ isOperationElement,
1216
+ isParameterElement,
1217
+ isPathItemElement,
1218
+ isPathItemElementExternal,
1219
+ isPathsElement,
1220
+ isReferenceElement,
1221
+ isReferenceElementExternal,
1222
+ isRequestBodyElement,
1223
+ isResponseElement,
1224
+ isResponsesElement,
1225
+ isSchemaElement,
1226
+ isBooleanJsonSchemaElement,
1227
+ isSecurityRequirementElement,
1228
+ isSecuritySchemeElement,
1229
+ isServerElement,
1230
+ isServerVariableElement,
1231
+ isMediaTypeElement
1232
+ }
1233
+ }
1234
+ export { openApi3_1Predicates }
1235
+
1236
+ /**
1237
+ * @public
1238
+ */
1239
+ export declare class OpenApi3_1Visitor extends OpenApi3_1Visitor_base {
1240
+ readonly element: OpenApi3_1Element;
1241
+ protected readonly specPath: SpecPath<['document', 'objects', 'OpenApi']>;
1242
+ protected readonly canSupportSpecificationExtensions: true;
1243
+ protected readonly openApiSemanticElement: OpenApi3_1Element;
1244
+ constructor(options: OpenApi3_1VisitorOptions);
1245
+ ObjectElement(objectElement: ObjectElement): {};
1246
+ }
1247
+
1248
+ declare const OpenApi3_1Visitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
1249
+
1250
+ /**
1251
+ * @public
1252
+ */
1253
+ export declare interface OpenApi3_1VisitorOptions extends FixedFieldsVisitorOptions, FallbackVisitorOptions {
1254
+ }
1255
+
1256
+ /**
1257
+ * @public
1258
+ */
1259
+ export declare class OpenapiElement extends OpenapiElement_2 {
1260
+ }
1261
+
1262
+ /**
1263
+ * @public
1264
+ */
1265
+ export declare class OpenAPIMediaTypes extends MediaTypes<string> {
1266
+ filterByFormat(format?: Format): string[];
1267
+ findBy(version?: string, format?: Format): string;
1268
+ latest(format?: Format): string;
1269
+ }
1270
+
1271
+ export { OpenapiVisitor }
1272
+
1273
+ export { OpenapiVisitorOptions }
1274
+
1275
+ export { OperationCallbacksElement }
1276
+
1277
+ export { OperationCallbacksVisitor }
1278
+
1279
+ export { OperationCallbacksVisitorOptions }
1280
+
1281
+ /**
1282
+ * @public
1283
+ */
1284
+ export declare class OperationElement extends OperationElement_2 {
1285
+ get requestBody(): RequestBodyElement | ReferenceElement | undefined;
1286
+ set requestBody(requestBody: RequestBodyElement | ReferenceElement | undefined);
1287
+ }
1288
+
1289
+ export { OperationParametersElement }
1290
+
1291
+ export { OperationParametersVisitor }
1292
+
1293
+ export { OperationParametersVisitorOptions }
1294
+
1295
+ export { OperationRequestBodyVisitor }
1296
+
1297
+ export { OperationRequestBodyVisitorOptions }
1298
+
1299
+ export { OperationSecurityElement }
1300
+
1301
+ export { OperationSecurityVisitor }
1302
+
1303
+ export { OperationSecurityVisitorOptions }
1304
+
1305
+ export { OperationServersElement }
1306
+
1307
+ export { OperationServersVisitor }
1308
+
1309
+ export { OperationServersVisitorOptions }
1310
+
1311
+ export { OperationTagsElement }
1312
+
1313
+ export { OperationTagsVisitor }
1314
+
1315
+ export { OperationTagsVisitorOptions }
1316
+
1317
+ /**
1318
+ * @public
1319
+ */
1320
+ export declare class OperationVisitor extends BaseOperationVisitor {
1321
+ readonly element: OperationElement;
1322
+ constructor(options: OperationVisitorOptions);
1323
+ }
1324
+
1325
+ export { OperationVisitorOptions }
1326
+
1327
+ export { ParameterContentElement }
1328
+
1329
+ export { ParameterContentVisitor }
1330
+
1331
+ export { ParameterContentVisitorOptions }
1332
+
1333
+ /**
1334
+ * @public
1335
+ */
1336
+ export declare class ParameterElement extends ParameterElement_2 {
1337
+ get schema(): SchemaElement | undefined;
1338
+ set schema(schema: SchemaElement | undefined);
1339
+ }
1340
+
1341
+ export { ParameterExamplesElement }
1342
+
1343
+ export { ParameterExamplesVisitorOptions }
1344
+
1345
+ export { ParameterExampleVisitor }
1346
+
1347
+ export { ParameterSchemaVisitor }
1348
+
1349
+ export { ParameterSchemaVisitorOptions }
1350
+
1351
+ export { ParametersVisitor }
1352
+
1353
+ export { ParametersVisitorOptions }
1354
+
1355
+ /**
1356
+ * @public
1357
+ */
1358
+ export declare class ParameterVisitor extends BaseParameterVisitor {
1359
+ readonly element: ParameterElement;
1360
+ constructor(options: ParameterVisitorOptions);
1361
+ }
1362
+
1363
+ export { ParameterVisitorOptions }
1364
+
1365
+ export { ParentSchemaAwareVisitorOptions }
1366
+
1367
+ export { PathItem$RefVisitor }
1368
+
1369
+ export { PathItem$RefVisitorOptions }
1370
+
1371
+ /**
1372
+ * @public
1373
+ */
1374
+ export declare class PathItemElement extends PathItemElement_2 {
1375
+ get GET(): OperationElement;
1376
+ set GET(operation: OperationElement | undefined);
1377
+ get PUT(): OperationElement;
1378
+ set PUT(operation: OperationElement | undefined);
1379
+ get POST(): OperationElement;
1380
+ set POST(operation: OperationElement | undefined);
1381
+ get DELETE(): OperationElement;
1382
+ set DELETE(operation: OperationElement | undefined);
1383
+ get OPTIONS(): OperationElement;
1384
+ set OPTIONS(operation: OperationElement | undefined);
1385
+ get HEAD(): OperationElement;
1386
+ set HEAD(operation: OperationElement | undefined);
1387
+ get PATCH(): OperationElement;
1388
+ set PATCH(operation: OperationElement | undefined);
1389
+ get TRACE(): OperationElement;
1390
+ set TRACE(operation: OperationElement | undefined);
1391
+ }
1392
+
1393
+ export { PathItemParametersElement }
1394
+
1395
+ export { PathItemParametersVisitor }
1396
+
1397
+ export { PathItemParametersVisitorOptions }
1398
+
1399
+ export { PathItemServersElement }
1400
+
1401
+ export { PathItemServersVisitor }
1402
+
1403
+ export { PathItemServersVisitorOptions }
1404
+
1405
+ declare const PathItemsVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1406
+
1407
+ /**
1408
+ * @public
1409
+ */
1410
+ export declare class PathItemVisitor extends BasePathItemVisitor {
1411
+ readonly element: PathItemElement;
1412
+ constructor(options: PathItemVisitorOptions);
1413
+ }
1414
+
1415
+ export { PathItemVisitorOptions }
1416
+
1417
+ /**
1418
+ * @public
1419
+ */
1420
+ export declare class PathsElement extends PathsElement_2 {
1421
+ }
1422
+
1423
+ /**
1424
+ * @public
1425
+ */
1426
+ export declare class PathsVisitor extends BasePathsVisitor {
1427
+ readonly element: PathsElement;
1428
+ constructor(options: PathsVisitorOptions);
1429
+ }
1430
+
1431
+ export { PathsVisitorOptions }
1432
+
1433
+ export { PatternedFieldsVisitor }
1434
+
1435
+ export { PatternedFieldsVisitorOptions }
1436
+
1437
+ export { Reference$RefVisitor }
1438
+
1439
+ export { Reference$RefVisitorOptions }
1440
+
1441
+ /**
1442
+ * @public
1443
+ */
1444
+ export declare class ReferenceElement extends ReferenceElement_2 {
1445
+ }
1446
+
1447
+ /**
1448
+ * @public
1449
+ */
1450
+ export declare class ReferenceVisitor extends BaseReferenceVisitor {
1451
+ readonly element: ReferenceElement;
1452
+ constructor(options: ReferenceVisitorOptions);
1453
+ }
1454
+
1455
+ export { ReferenceVisitorOptions }
1456
+
1457
+ /**
1458
+ * @public
1459
+ */
1460
+ export declare const refractorPluginNormalizeHeaderExamples: ({ storageField }?: RefractorPluginNormalizeHeaderExamplesOptions) => (toolbox: Toolbox) => {
1461
+ visitor: {
1462
+ OpenApi3_1Element: {
1463
+ enter(element: OpenApi3_1Element): void;
1464
+ leave(): void;
1465
+ };
1466
+ HeaderElement: {
1467
+ leave(headerElement: HeaderElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1468
+ };
1469
+ };
1470
+ };
1471
+
1472
+ /**
1473
+ * Override of Schema.example and Schema.examples field inside the Header Objects.
1474
+ *
1475
+ * Header Object has two fixed fields:
1476
+ * - `example` of type `Any`
1477
+ * - `examples` of type `Map[string, Example Object | Reference Object]`
1478
+ *
1479
+ * OpenAPI 3.1 specification excerpt that defines the override behavior:
1480
+ *
1481
+ * The example value SHALL override the example provided by the schema.
1482
+ * Furthermore, if referencing a schema that contains an example, the examples value SHALL override the example provided by the schema.
1483
+ *
1484
+ * NOTE: this plugin is idempotent
1485
+ * @public
1486
+ */
1487
+ export declare interface RefractorPluginNormalizeHeaderExamplesOptions {
1488
+ storageField?: string;
1489
+ }
1490
+
1491
+ /**
1492
+ * @public
1493
+ */
1494
+ export declare const refractorPluginNormalizeOperationIds: ({ storageField, operationIdNormalizer, }?: RefractorPluginNormalizeOperationIdsOptions) => (toolbox: Toolbox) => {
1495
+ visitor: {
1496
+ OpenApi3_1Element: {
1497
+ enter(element: OpenApi3_1Element): void;
1498
+ leave(): void;
1499
+ };
1500
+ PathItemElement: {
1501
+ enter(pathItemElement: PathItemElement): void;
1502
+ leave(): void;
1503
+ };
1504
+ OperationElement: {
1505
+ enter(operationElement: OperationElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1506
+ };
1507
+ LinkElement: {
1508
+ leave(linkElement: LinkElement): void;
1509
+ };
1510
+ };
1511
+ };
1512
+
1513
+ /**
1514
+ * Normalization of Operation.operationId field.
1515
+ *
1516
+ * This normalization is not guided by OpenAPI 3.1 specification.
1517
+ *
1518
+ * Existing Operation.operationId fields are normalized into snake case form.
1519
+ *
1520
+ * Operation Objects, that do not define operationId field, are left untouched.
1521
+ *
1522
+ * Original operationId is stored in meta and as new `__originalOperationId` field.
1523
+ *
1524
+ * This plugin also guarantees the uniqueness of all defined Operation.operationId fields,
1525
+ * and make sure Link.operationId fields are pointing to correct and normalized Operation.operationId fields.
1526
+ *
1527
+ * NOTE: this plugin is idempotent
1528
+ * @public
1529
+ */
1530
+ export declare interface RefractorPluginNormalizeOperationIdsOptions {
1531
+ storageField?: string;
1532
+ operationIdNormalizer?: (operationId: string, path: string, method: string) => string;
1533
+ }
1534
+
1535
+ /**
1536
+ * @public
1537
+ */
1538
+ export declare const refractorPluginNormalizeParameterExamples: ({ storageField }?: RefractorPluginNormalizeParameterExamplesOptions) => (toolbox: Toolbox) => {
1539
+ visitor: {
1540
+ OpenApi3_1Element: {
1541
+ enter(element: OpenApi3_1Element): void;
1542
+ leave(): void;
1543
+ };
1544
+ ParameterElement: {
1545
+ leave(parameterElement: ParameterElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1546
+ };
1547
+ };
1548
+ };
1549
+
1550
+ /**
1551
+ * Override of Schema.example and Schema.examples field inside the Parameter Objects.
1552
+ *
1553
+ * Parameter Object has two fixed fields:
1554
+ * - `example` of type `Any`
1555
+ * - `examples` of type `Map[string, Example Object | Reference Object]`
1556
+ *
1557
+ * OpenAPI 3.1 specification excerpt that defines the override behavior:
1558
+ *
1559
+ * The example value SHALL override the example provided by the schema.
1560
+ * Furthermore, if referencing a schema that contains an example, the examples value SHALL override the example provided by the schema.
1561
+ *
1562
+ * NOTE: this plugin is idempotent
1563
+ * @public
1564
+ */
1565
+ export declare interface RefractorPluginNormalizeParameterExamplesOptions {
1566
+ storageField?: string;
1567
+ }
1568
+
1569
+ /**
1570
+ * @public
1571
+ */
1572
+ export declare const refractorPluginNormalizeParameters: ({ storageField }?: RefractorPluginNormalizeParametersOptions) => (toolbox: Toolbox) => {
1573
+ visitor: {
1574
+ OpenApi3_1Element: {
1575
+ enter(element: OpenApi3_1Element): void;
1576
+ leave(): void;
1577
+ };
1578
+ PathItemElement: {
1579
+ enter(pathItemElement: PathItemElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1580
+ leave(): void;
1581
+ };
1582
+ OperationElement: {
1583
+ leave(operationElement: OperationElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1584
+ };
1585
+ };
1586
+ };
1587
+
1588
+ /**
1589
+ * Inheritance of Parameter Objects.
1590
+ *
1591
+ * OpenAPI 3.1 specification excerpt that defines the inheritance behavior:
1592
+ *
1593
+ * A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item,
1594
+ * the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters.
1595
+ * A unique parameter is defined by a combination of a name and location.
1596
+ *
1597
+ * NOTE: this plugin is idempotent
1598
+ * @public
1599
+ */
1600
+ export declare interface RefractorPluginNormalizeParametersOptions {
1601
+ storageField?: string;
1602
+ }
1603
+
1604
+ /**
1605
+ * @public
1606
+ */
1607
+ export declare const refractorPluginNormalizeSecurityRequirements: ({ storageField }?: RefractorPluginNormalizeSecurityRequirementsOptions) => (toolbox: Toolbox) => {
1608
+ visitor: {
1609
+ OpenApi3_1Element: {
1610
+ enter(openapiElement: OpenApi3_1Element): void;
1611
+ leave(): void;
1612
+ };
1613
+ OperationElement: {
1614
+ leave(operationElement: OperationElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1615
+ };
1616
+ };
1617
+ };
1618
+
1619
+ /**
1620
+ * Override of Security Requirement Objects.
1621
+ *
1622
+ * OpenAPI 3.1 specification excerpt that defines the override behavior:
1623
+ *
1624
+ * Operation.security definition overrides any declared top-level security.
1625
+ * To remove a top-level security declaration, an empty array can be used.
1626
+ * When a list of Security Requirement Objects is defined on the OpenAPI Object or Operation Object,
1627
+ * only one of the Security Requirement Objects in the list needs to be satisfied to authorize the request.
1628
+ *
1629
+ * NOTE: this plugin is idempotent
1630
+ * @public
1631
+ */
1632
+ export declare interface RefractorPluginNormalizeSecurityRequirementsOptions {
1633
+ storageField?: string;
1634
+ }
1635
+
1636
+ /**
1637
+ * @public
1638
+ */
1639
+ export declare const refractorPluginNormalizeServers: ({ storageField }?: RefractorPluginNormalizeServersOptions) => (toolbox: Toolbox) => {
1640
+ visitor: {
1641
+ OpenApi3_1Element: {
1642
+ enter(openapiElement: OpenApi3_1Element): void;
1643
+ leave(): void;
1644
+ };
1645
+ PathItemElement(pathItemElement: PathItemElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1646
+ OperationElement(operationElement: OperationElement, key: string | number, parent: Element_2 | undefined, path: (string | number)[], ancestors: [Element_2 | Element_2[]]): void;
1647
+ };
1648
+ };
1649
+
1650
+ /**
1651
+ * Override of Server Objects.
1652
+ *
1653
+ * List of Server Objects can be defined in OpenAPI 3.1 on multiple levels:
1654
+ *
1655
+ * - OpenAPI.servers
1656
+ * - PathItem.servers
1657
+ * - Operation.servers
1658
+ *
1659
+ * If a servers array is specified at the OpenAPI Object level, it will be overridden by `PathItem`.servers.
1660
+ * If a servers array is specified at the Path Item Object or OpenAPI Object level, it will be overridden by Operation.servers.
1661
+ * @public
1662
+ */
1663
+ export declare interface RefractorPluginNormalizeServersOptions {
1664
+ storageField?: string;
1665
+ }
1666
+
1667
+ /**
1668
+ * @public
1669
+ */
1670
+ export declare const refractorPluginReplaceEmptyElement: () => ({ predicates }: {
1671
+ predicates: ToolboxPredicates;
1672
+ }) => {
1673
+ visitor: {
1674
+ StringElement(element: StringElement, key: any, parent: any, path: any, ancestors: any[]): any;
1675
+ };
1676
+ };
1677
+
1678
+ export { RequestBodyContentElement }
1679
+
1680
+ export { RequestBodyContentVisitor }
1681
+
1682
+ export { RequestBodyContentVisitorOptions }
1683
+
1684
+ /**
1685
+ * @public
1686
+ */
1687
+ export declare class RequestBodyElement extends RequestBodyElement_2 {
1688
+ }
1689
+
1690
+ /**
1691
+ * @public
1692
+ */
1693
+ export declare class RequestBodyVisitor extends BaseRequestBodyVisitor {
1694
+ readonly element: RequestBodyElement;
1695
+ constructor(options: RequestBodyVisitorOptions);
1696
+ }
1697
+
1698
+ export { RequestBodyVisitorOptions }
1699
+
1700
+ export { ResponseContentElement }
1701
+
1702
+ export { ResponseContentVisitor }
1703
+
1704
+ export { ResponseContentVisitorOptions }
1705
+
1706
+ /**
1707
+ * @public
1708
+ */
1709
+ export declare class ResponseElement extends ResponseElement_2 {
1710
+ }
1711
+
1712
+ export { ResponseHeadersElement }
1713
+
1714
+ export { ResponseHeadersVisitor }
1715
+
1716
+ export { ResponseHeadersVisitorOptions }
1717
+
1718
+ export { ResponseLinksElement }
1719
+
1720
+ export { ResponseLinksVisitor }
1721
+
1722
+ export { ResponseLinksVisitorOptions }
1723
+
1724
+ export { ResponsesDefaultVisitor }
1725
+
1726
+ export { ResponsesDefaultVisitorOptions }
1727
+
1728
+ /**
1729
+ * @public
1730
+ */
1731
+ export declare class ResponsesElement extends ResponsesElement_2 {
1732
+ }
1733
+
1734
+ /**
1735
+ * @public
1736
+ */
1737
+ export declare class ResponsesVisitor extends BaseResponsesVisitor {
1738
+ readonly element: ResponsesElement;
1739
+ constructor(options: ResponsesVisitorOptions);
1740
+ }
1741
+
1742
+ export { ResponsesVisitorOptions }
1743
+
1744
+ /**
1745
+ * @public
1746
+ */
1747
+ export declare class ResponseVisitor extends BaseResponseVisitor {
1748
+ readonly element: ResponseElement;
1749
+ constructor(options: ResponseVisitorOptions);
1750
+ }
1751
+
1752
+ export { ResponseVisitorOptions }
1753
+
1754
+ /**
1755
+ * @public
1756
+ */
1757
+ export declare class Schema$defsVisitor extends $defsVisitor {
1758
+ constructor(options: Schema$defsVisitorOptions);
1759
+ }
1760
+
1761
+ export { Schema$defsVisitorOptions }
1762
+
1763
+ export { Schema$refVisitor }
1764
+
1765
+ export { Schema$refVisitorOptions }
1766
+
1767
+ export { Schema$vocabularyVisitor }
1768
+
1769
+ export { Schema$vocabularyVisitorOptions }
1770
+
1771
+ /**
1772
+ * @public
1773
+ */
1774
+ export declare class SchemaAllOfVisitor extends AllOfVisitor {
1775
+ constructor(options: SchemaAllOfVisitorOptions);
1776
+ }
1777
+
1778
+ export { SchemaAllOfVisitorOptions }
1779
+
1780
+ /**
1781
+ * @public
1782
+ */
1783
+ export declare class SchemaAnyOfVisitor extends AnyOfVisitor {
1784
+ constructor(options: SchemaAnyOfVisitorOptions);
1785
+ }
1786
+
1787
+ export { SchemaAnyOfVisitorOptions }
1788
+
1789
+ export { SchemaDependentRequiredVisitor }
1790
+
1791
+ export { SchemaDependentRequiredVisitorOptions }
1792
+
1793
+ /**
1794
+ * @public
1795
+ */
1796
+ export declare class SchemaDependentSchemasVisitor extends DependentSchemasVisitor {
1797
+ constructor(options: SchemaDependentSchemasVisitorOptions);
1798
+ }
1799
+
1800
+ export { SchemaDependentSchemasVisitorOptions }
1801
+
1802
+ /**
1803
+ * @public
1804
+ */
1805
+ export declare class SchemaElement extends JSONSchemaElement {
1806
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
1807
+ /**
1808
+ * OAS base vocabulary
1809
+ *
1810
+ * URI: https://spec.openapis.org/oas/v3.1.2.html#base-vocabulary
1811
+ */
1812
+ get discriminator(): DiscriminatorElement | undefined;
1813
+ set discriminator(discriminator: DiscriminatorElement | undefined);
1814
+ get xml(): XmlElement | undefined;
1815
+ set xml(xml: XmlElement | undefined);
1816
+ get externalDocs(): ExternalDocumentationElement | undefined;
1817
+ set externalDocs(externalDocs: ExternalDocumentationElement | undefined);
1818
+ /**
1819
+ * @deprecated The example property has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.
1820
+ */
1821
+ get example(): Element_2 | undefined;
1822
+ set example(example: Element_2 | undefined);
1823
+ }
1824
+
1825
+ /**
1826
+ * @public
1827
+ */
1828
+ export declare class SchemaOneOfVisitor extends OneOfVisitor {
1829
+ constructor(options: SchemaOneOfVisitorOptions);
1830
+ }
1831
+
1832
+ export { SchemaOneOfVisitorOptions }
1833
+
1834
+ /**
1835
+ * @public
1836
+ */
1837
+ export declare class SchemaPatternPropertiesVisitor extends PatternPropertiesVisitor {
1838
+ constructor(options: SchemaPatternPropertiesVisitorOptions);
1839
+ }
1840
+
1841
+ export { SchemaPatternPropertiesVisitorOptions }
1842
+
1843
+ /**
1844
+ * @public
1845
+ */
1846
+ export declare class SchemaPrefixItemsVisitor extends PrefixItemsVisitor {
1847
+ constructor(options: SchemaPrefixItemsVisitorOptions);
1848
+ }
1849
+
1850
+ export { SchemaPrefixItemsVisitorOptions }
1851
+
1852
+ /**
1853
+ * @public
1854
+ */
1855
+ export declare class SchemaPropertiesVisitor extends PropertiesVisitor {
1856
+ constructor(options: SchemaPropertiesVisitorOptions);
1857
+ }
1858
+
1859
+ export { SchemaPropertiesVisitorOptions }
1860
+
1861
+ declare const SchemasVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
1862
+
1863
+ /**
1864
+ * @public
1865
+ */
1866
+ export declare class SchemaVisitor extends SchemaVisitor_base {
1867
+ readonly element: SchemaElement;
1868
+ protected readonly jsonSchemaDefaultDialect: JsonSchemaDialectElement;
1869
+ constructor(options: SchemaVisitorOptions);
1870
+ ObjectElement(objectElement: ObjectElement): {};
1871
+ BooleanElement(booleanElement: BooleanElement): {};
1872
+ /**
1873
+ * This function depends on some external context, so we need to make sure this function
1874
+ * works even when no context is provided like when directly refracting generic Object Element
1875
+ * into Schema Element: `SchemaElement.refract(new ObjectElement({ type: 'object' });`
1876
+ */
1877
+ get defaultDialectIdentifier(): JsonSchemaDialectElement;
1878
+ handleDialectIdentifier(objectElement: ObjectElement): void;
1879
+ handleSchemaIdentifier(objectElement: ObjectElement): void;
1880
+ }
1881
+
1882
+ declare const SchemaVisitor_base: Class<any[], FixedFieldsVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
1883
+
1884
+ /**
1885
+ * @public
1886
+ */
1887
+ export declare interface SchemaVisitorOptions extends FixedFieldsVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
1888
+ }
1889
+
1890
+ export { SecurityElement }
1891
+
1892
+ /**
1893
+ * @public
1894
+ */
1895
+ export declare class SecurityRequirementElement extends SecurityRequirementElement_2 {
1896
+ }
1897
+
1898
+ /**
1899
+ * @public
1900
+ */
1901
+ export declare class SecurityRequirementVisitor extends BaseSecurityRequirementVisitor {
1902
+ readonly element: SecurityRequirementElement;
1903
+ constructor(options: SecurityRequirementVisitorOptions);
1904
+ }
1905
+
1906
+ export { SecurityRequirementVisitorOptions }
1907
+
1908
+ /**
1909
+ * @public
1910
+ */
1911
+ export declare class SecuritySchemeElement extends SecuritySchemeElement_2 {
1912
+ }
1913
+
1914
+ /**
1915
+ * @public
1916
+ */
1917
+ export declare class SecuritySchemeVisitor extends BaseSecuritySchemeVisitor {
1918
+ readonly element: SecuritySchemeElement;
1919
+ constructor(options: SecuritySchemeVisitorOptions);
1920
+ }
1921
+
1922
+ export { SecuritySchemeVisitorOptions }
1923
+
1924
+ export { SecurityVisitor }
1925
+
1926
+ export { SecurityVisitorOptions }
1927
+
1928
+ /**
1929
+ * @public
1930
+ */
1931
+ export declare class ServerElement extends ServerElement_2 {
1932
+ }
1933
+
1934
+ export { ServersElement }
1935
+
1936
+ export { ServersVisitor }
1937
+
1938
+ export { ServersVisitorOptions }
1939
+
1940
+ /**
1941
+ * @public
1942
+ */
1943
+ export declare class ServerVariableElement extends ServerVariableElement_2 {
1944
+ }
1945
+
1946
+ export { ServerVariablesElement }
1947
+
1948
+ export { ServerVariableUrlVisitor }
1949
+
1950
+ export { ServerVariableUrlVisitorOptions }
1951
+
1952
+ export { ServerVariableVariablesVisitor }
1953
+
1954
+ export { ServerVariableVariablesVisitorOptions }
1955
+
1956
+ /**
1957
+ * @public
1958
+ */
1959
+ export declare class ServerVariableVisitor extends BaseServerVariableVisitor {
1960
+ readonly element: ServerVariableElement;
1961
+ constructor(options: ServerVariableVisitorOptions);
1962
+ }
1963
+
1964
+ export { ServerVariableVisitorOptions }
1965
+
1966
+ /**
1967
+ * @public
1968
+ */
1969
+ export declare class ServerVisitor extends BaseServerVisitor {
1970
+ readonly element: ServerElement;
1971
+ constructor(options: ServerVisitorOptions);
1972
+ }
1973
+
1974
+ export { ServerVisitorOptions }
1975
+
1976
+ export { SpecificationExtensionVisitor }
1977
+
1978
+ export { SpecificationExtensionVisitorOptions }
1979
+
1980
+ /**
1981
+ * Specification object allows us to have complete control over visitors
1982
+ * when traversing the ApiDOM.
1983
+ * Specification also allows us to create amended refractors from
1984
+ * existing ones by manipulating it.
1985
+ *
1986
+ * Note: Specification object allows to use absolute internal JSON pointers.
1987
+ * @public
1988
+ */
1989
+ export declare const specificationObj: {
1990
+ readonly visitors: {
1991
+ readonly value: FallbackVisitor;
1992
+ readonly document: {
1993
+ readonly objects: {
1994
+ readonly OpenApi: {
1995
+ readonly $visitor: typeof OpenApi3_1Visitor;
1996
+ readonly fixedFields: {
1997
+ readonly openapi: OpenapiVisitor;
1998
+ readonly info: {
1999
+ readonly $ref: "#/visitors/document/objects/Info";
2000
+ };
2001
+ readonly jsonSchemaDialect: typeof JsonSchemaDialectVisitor;
2002
+ readonly servers: ServersVisitor;
2003
+ readonly paths: {
2004
+ readonly $ref: "#/visitors/document/objects/Paths";
2005
+ };
2006
+ readonly webhooks: typeof WebhooksVisitor;
2007
+ readonly components: {
2008
+ readonly $ref: "#/visitors/document/objects/Components";
2009
+ };
2010
+ readonly security: SecurityVisitor;
2011
+ readonly tags: TagsVisitor;
2012
+ readonly externalDocs: {
2013
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
2014
+ };
2015
+ };
2016
+ };
2017
+ readonly Info: {
2018
+ readonly $visitor: typeof InfoVisitor;
2019
+ readonly fixedFields: {
2020
+ readonly title: {
2021
+ readonly $ref: "#/visitors/value";
2022
+ };
2023
+ readonly description: {
2024
+ readonly $ref: "#/visitors/value";
2025
+ };
2026
+ readonly summary: {
2027
+ readonly $ref: "#/visitors/value";
2028
+ };
2029
+ readonly termsOfService: {
2030
+ readonly $ref: "#/visitors/value";
2031
+ };
2032
+ readonly contact: {
2033
+ readonly $ref: "#/visitors/document/objects/Contact";
2034
+ };
2035
+ readonly license: {
2036
+ readonly $ref: "#/visitors/document/objects/License";
2037
+ };
2038
+ readonly version: InfoVersionVisitor;
2039
+ };
2040
+ };
2041
+ readonly Contact: {
2042
+ readonly $visitor: typeof ContactVisitor;
2043
+ readonly fixedFields: {
2044
+ readonly name: {
2045
+ readonly $ref: "#/visitors/value";
2046
+ };
2047
+ readonly url: {
2048
+ readonly $ref: "#/visitors/value";
2049
+ };
2050
+ readonly email: {
2051
+ readonly $ref: "#/visitors/value";
2052
+ };
2053
+ };
2054
+ };
2055
+ readonly License: {
2056
+ readonly $visitor: typeof LicenseVisitor;
2057
+ readonly fixedFields: {
2058
+ readonly name: {
2059
+ readonly $ref: "#/visitors/value";
2060
+ };
2061
+ readonly identifier: {
2062
+ readonly $ref: "#/visitors/value";
2063
+ };
2064
+ readonly url: {
2065
+ readonly $ref: "#/visitors/value";
2066
+ };
2067
+ };
2068
+ };
2069
+ readonly Server: {
2070
+ readonly $visitor: typeof ServerVisitor;
2071
+ readonly fixedFields: {
2072
+ readonly url: ServerVariableUrlVisitor;
2073
+ readonly description: {
2074
+ readonly $ref: "#/visitors/value";
2075
+ };
2076
+ readonly variables: ServerVariableVariablesVisitor;
2077
+ };
2078
+ };
2079
+ readonly ServerVariable: {
2080
+ readonly $visitor: typeof ServerVariableVisitor;
2081
+ readonly fixedFields: {
2082
+ readonly enum: {
2083
+ readonly $ref: "#/visitors/value";
2084
+ };
2085
+ readonly default: {
2086
+ readonly $ref: "#/visitors/value";
2087
+ };
2088
+ readonly description: {
2089
+ readonly $ref: "#/visitors/value";
2090
+ };
2091
+ };
2092
+ };
2093
+ readonly Components: {
2094
+ readonly $visitor: typeof ComponentsVisitor;
2095
+ readonly fixedFields: {
2096
+ readonly schemas: typeof ComponentsSchemasVisitor;
2097
+ readonly responses: ComponentsResponsesVisitor;
2098
+ readonly parameters: ComponentsParametersVisitor;
2099
+ readonly examples: ComponentsExamplesVisitor;
2100
+ readonly requestBodies: ComponentsRequestBodiesVisitor;
2101
+ readonly headers: ComponentsHeadersVisitor;
2102
+ readonly securitySchemes: ComponentsSecuritySchemesVisitor;
2103
+ readonly links: ComponentsLinksVisitor;
2104
+ readonly callbacks: ComponentsCallbacksVisitor;
2105
+ readonly pathItems: typeof ComponentsPathItemsVisitor;
2106
+ };
2107
+ };
2108
+ readonly Paths: {
2109
+ readonly $visitor: typeof PathsVisitor;
2110
+ };
2111
+ readonly PathItem: {
2112
+ readonly $visitor: typeof PathItemVisitor;
2113
+ readonly fixedFields: {
2114
+ readonly $ref: PathItem$RefVisitor;
2115
+ readonly summary: {
2116
+ readonly $ref: "#/visitors/value";
2117
+ };
2118
+ readonly description: {
2119
+ readonly $ref: "#/visitors/value";
2120
+ };
2121
+ readonly get: {
2122
+ readonly $ref: "#/visitors/document/objects/Operation";
2123
+ };
2124
+ readonly put: {
2125
+ readonly $ref: "#/visitors/document/objects/Operation";
2126
+ };
2127
+ readonly post: {
2128
+ readonly $ref: "#/visitors/document/objects/Operation";
2129
+ };
2130
+ readonly delete: {
2131
+ readonly $ref: "#/visitors/document/objects/Operation";
2132
+ };
2133
+ readonly options: {
2134
+ readonly $ref: "#/visitors/document/objects/Operation";
2135
+ };
2136
+ readonly head: {
2137
+ readonly $ref: "#/visitors/document/objects/Operation";
2138
+ };
2139
+ readonly patch: {
2140
+ readonly $ref: "#/visitors/document/objects/Operation";
2141
+ };
2142
+ readonly trace: {
2143
+ readonly $ref: "#/visitors/document/objects/Operation";
2144
+ };
2145
+ readonly servers: PathItemServersVisitor;
2146
+ readonly parameters: PathItemParametersVisitor;
2147
+ };
2148
+ };
2149
+ readonly Operation: {
2150
+ readonly $visitor: typeof OperationVisitor;
2151
+ readonly fixedFields: {
2152
+ readonly tags: OperationTagsVisitor;
2153
+ readonly summary: {
2154
+ readonly $ref: "#/visitors/value";
2155
+ };
2156
+ readonly description: {
2157
+ readonly $ref: "#/visitors/value";
2158
+ };
2159
+ readonly externalDocs: {
2160
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
2161
+ };
2162
+ readonly operationId: {
2163
+ readonly $ref: "#/visitors/value";
2164
+ };
2165
+ readonly parameters: OperationParametersVisitor;
2166
+ readonly requestBody: OperationRequestBodyVisitor;
2167
+ readonly responses: {
2168
+ readonly $ref: "#/visitors/document/objects/Responses";
2169
+ };
2170
+ readonly callbacks: OperationCallbacksVisitor;
2171
+ readonly deprecated: {
2172
+ readonly $ref: "#/visitors/value";
2173
+ };
2174
+ readonly security: OperationSecurityVisitor;
2175
+ readonly servers: OperationServersVisitor;
2176
+ };
2177
+ };
2178
+ readonly ExternalDocumentation: {
2179
+ readonly $visitor: typeof ExternalDocumentationVisitor;
2180
+ readonly fixedFields: {
2181
+ readonly description: {
2182
+ readonly $ref: "#/visitors/value";
2183
+ };
2184
+ readonly url: {
2185
+ readonly $ref: "#/visitors/value";
2186
+ };
2187
+ };
2188
+ };
2189
+ readonly Parameter: {
2190
+ readonly $visitor: typeof ParameterVisitor;
2191
+ readonly fixedFields: {
2192
+ readonly name: {
2193
+ readonly $ref: "#/visitors/value";
2194
+ };
2195
+ readonly in: {
2196
+ readonly $ref: "#/visitors/value";
2197
+ };
2198
+ readonly description: {
2199
+ readonly $ref: "#/visitors/value";
2200
+ };
2201
+ readonly required: {
2202
+ readonly $ref: "#/visitors/value";
2203
+ };
2204
+ readonly deprecated: {
2205
+ readonly $ref: "#/visitors/value";
2206
+ };
2207
+ readonly allowEmptyValue: {
2208
+ readonly $ref: "#/visitors/value";
2209
+ };
2210
+ readonly style: {
2211
+ readonly $ref: "#/visitors/value";
2212
+ };
2213
+ readonly explode: {
2214
+ readonly $ref: "#/visitors/value";
2215
+ };
2216
+ readonly allowReserved: {
2217
+ readonly $ref: "#/visitors/value";
2218
+ };
2219
+ readonly schema: {
2220
+ readonly $ref: "#/visitors/document/objects/Schema";
2221
+ };
2222
+ readonly example: {
2223
+ readonly $ref: "#/visitors/value";
2224
+ };
2225
+ readonly examples: ParameterExampleVisitor;
2226
+ readonly content: ParameterContentVisitor;
2227
+ };
2228
+ };
2229
+ readonly RequestBody: {
2230
+ readonly $visitor: typeof RequestBodyVisitor;
2231
+ readonly fixedFields: {
2232
+ readonly description: {
2233
+ readonly $ref: "#/visitors/value";
2234
+ };
2235
+ readonly content: RequestBodyContentVisitor;
2236
+ readonly required: {
2237
+ readonly $ref: "#/visitors/value";
2238
+ };
2239
+ };
2240
+ };
2241
+ readonly MediaType: {
2242
+ readonly $visitor: typeof MediaTypeVisitor;
2243
+ readonly fixedFields: {
2244
+ readonly schema: {
2245
+ readonly $ref: "#/visitors/document/objects/Schema";
2246
+ };
2247
+ readonly example: {
2248
+ readonly $ref: "#/visitors/value";
2249
+ };
2250
+ readonly examples: MediaTypeExamplesVisitor;
2251
+ readonly encoding: MediaTypeEncodingVisitor;
2252
+ };
2253
+ };
2254
+ readonly Encoding: {
2255
+ readonly $visitor: typeof EncodingVisitor;
2256
+ readonly fixedFields: {
2257
+ readonly contentType: {
2258
+ readonly $ref: "#/visitors/value";
2259
+ };
2260
+ readonly headers: EncodingHeadersVisitor;
2261
+ readonly style: {
2262
+ readonly $ref: "#/visitors/value";
2263
+ };
2264
+ readonly explode: {
2265
+ readonly $ref: "#/visitors/value";
2266
+ };
2267
+ readonly allowReserved: {
2268
+ readonly $ref: "#/visitors/value";
2269
+ };
2270
+ };
2271
+ };
2272
+ readonly Responses: {
2273
+ readonly $visitor: typeof ResponsesVisitor;
2274
+ readonly fixedFields: {
2275
+ readonly default: ResponsesDefaultVisitor;
2276
+ };
2277
+ };
2278
+ readonly Response: {
2279
+ readonly $visitor: typeof ResponseVisitor;
2280
+ readonly fixedFields: {
2281
+ readonly description: {
2282
+ readonly $ref: "#/visitors/value";
2283
+ };
2284
+ readonly headers: ResponseHeadersVisitor;
2285
+ readonly content: ResponseContentVisitor;
2286
+ readonly links: ResponseLinksVisitor;
2287
+ };
2288
+ };
2289
+ readonly Callback: {
2290
+ readonly $visitor: typeof CallbackVisitor;
2291
+ };
2292
+ readonly Example: {
2293
+ readonly $visitor: typeof ExampleVisitor;
2294
+ readonly fixedFields: {
2295
+ readonly summary: {
2296
+ readonly $ref: "#/visitors/value";
2297
+ };
2298
+ readonly description: {
2299
+ readonly $ref: "#/visitors/value";
2300
+ };
2301
+ readonly value: {
2302
+ readonly $ref: "#/visitors/value";
2303
+ };
2304
+ readonly externalValue: ExampleExternalValueVisitor;
2305
+ };
2306
+ };
2307
+ readonly Link: {
2308
+ readonly $visitor: typeof LinkVisitor;
2309
+ readonly fixedFields: {
2310
+ readonly operationRef: LinkOperationRefVisitor;
2311
+ readonly operationId: LinkOperationIdVisitor;
2312
+ readonly parameters: LinkParametersVisitor;
2313
+ readonly requestBody: {
2314
+ readonly $ref: "#/visitors/value";
2315
+ };
2316
+ readonly description: {
2317
+ readonly $ref: "#/visitors/value";
2318
+ };
2319
+ readonly server: {
2320
+ readonly $ref: "#/visitors/document/objects/Server";
2321
+ };
2322
+ };
2323
+ };
2324
+ readonly Header: {
2325
+ readonly $visitor: typeof HeaderVisitor;
2326
+ readonly fixedFields: {
2327
+ readonly description: {
2328
+ readonly $ref: "#/visitors/value";
2329
+ };
2330
+ readonly required: {
2331
+ readonly $ref: "#/visitors/value";
2332
+ };
2333
+ readonly deprecated: {
2334
+ readonly $ref: "#/visitors/value";
2335
+ };
2336
+ readonly allowEmptyValue: {
2337
+ readonly $ref: "#/visitors/value";
2338
+ };
2339
+ readonly style: {
2340
+ readonly $ref: "#/visitors/value";
2341
+ };
2342
+ readonly explode: {
2343
+ readonly $ref: "#/visitors/value";
2344
+ };
2345
+ readonly allowReserved: {
2346
+ readonly $ref: "#/visitors/value";
2347
+ };
2348
+ readonly schema: {
2349
+ readonly $ref: "#/visitors/document/objects/Schema";
2350
+ };
2351
+ readonly example: {
2352
+ readonly $ref: "#/visitors/value";
2353
+ };
2354
+ readonly examples: HeaderExamplesVisitor;
2355
+ readonly content: HeaderContentVisitor;
2356
+ };
2357
+ };
2358
+ readonly Tag: {
2359
+ readonly $visitor: typeof TagVisitor;
2360
+ readonly fixedFields: {
2361
+ readonly name: {
2362
+ readonly $ref: "#/visitors/value";
2363
+ };
2364
+ readonly description: {
2365
+ readonly $ref: "#/visitors/value";
2366
+ };
2367
+ readonly externalDocs: {
2368
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
2369
+ };
2370
+ };
2371
+ };
2372
+ readonly Reference: {
2373
+ readonly $visitor: typeof ReferenceVisitor;
2374
+ readonly fixedFields: {
2375
+ readonly $ref: Reference$RefVisitor;
2376
+ readonly summary: {
2377
+ readonly $ref: "#/visitors/value";
2378
+ };
2379
+ readonly description: {
2380
+ readonly $ref: "#/visitors/value";
2381
+ };
2382
+ };
2383
+ };
2384
+ readonly JSONSchema: {
2385
+ readonly $ref: "#/visitors/document/objects/Schema";
2386
+ };
2387
+ readonly LinkDescription: {
2388
+ readonly $visitor: LinkDescriptionVisitor;
2389
+ readonly fixedFields: {
2390
+ href: {
2391
+ $ref: string;
2392
+ };
2393
+ rel: {
2394
+ $ref: string;
2395
+ };
2396
+ title: {
2397
+ $ref: string;
2398
+ };
2399
+ targetSchema: SchemaOrReferenceVisitor;
2400
+ mediaType: {
2401
+ $ref: string;
2402
+ };
2403
+ method: {
2404
+ $ref: string;
2405
+ };
2406
+ encType: {
2407
+ $ref: string;
2408
+ };
2409
+ schema: SchemaOrReferenceVisitor;
2410
+ };
2411
+ };
2412
+ readonly Schema: {
2413
+ readonly $visitor: typeof SchemaVisitor;
2414
+ readonly fixedFields: {
2415
+ readonly $defs: typeof Schema$defsVisitor;
2416
+ readonly allOf: typeof SchemaAllOfVisitor;
2417
+ readonly anyOf: typeof SchemaAnyOfVisitor;
2418
+ readonly oneOf: typeof SchemaOneOfVisitor;
2419
+ readonly not: {
2420
+ readonly $ref: "#/visitors/document/objects/Schema";
2421
+ };
2422
+ readonly if: {
2423
+ readonly $ref: "#/visitors/document/objects/Schema";
2424
+ };
2425
+ readonly then: {
2426
+ readonly $ref: "#/visitors/document/objects/Schema";
2427
+ };
2428
+ readonly else: {
2429
+ readonly $ref: "#/visitors/document/objects/Schema";
2430
+ };
2431
+ readonly dependentSchemas: typeof SchemaDependentSchemasVisitor;
2432
+ readonly prefixItems: typeof SchemaPrefixItemsVisitor;
2433
+ readonly items: {
2434
+ readonly $ref: "#/visitors/document/objects/Schema";
2435
+ };
2436
+ readonly contains: {
2437
+ readonly $ref: "#/visitors/document/objects/Schema";
2438
+ };
2439
+ readonly properties: typeof SchemaPropertiesVisitor;
2440
+ readonly patternProperties: typeof SchemaPatternPropertiesVisitor;
2441
+ readonly additionalProperties: {
2442
+ readonly $ref: "#/visitors/document/objects/Schema";
2443
+ };
2444
+ readonly propertyNames: {
2445
+ readonly $ref: "#/visitors/document/objects/Schema";
2446
+ };
2447
+ readonly unevaluatedItems: {
2448
+ readonly $ref: "#/visitors/document/objects/Schema";
2449
+ };
2450
+ readonly unevaluatedProperties: {
2451
+ readonly $ref: "#/visitors/document/objects/Schema";
2452
+ };
2453
+ readonly contentSchema: {
2454
+ readonly $ref: "#/visitors/document/objects/Schema";
2455
+ };
2456
+ readonly discriminator: {
2457
+ readonly $ref: "#/visitors/document/objects/Discriminator";
2458
+ };
2459
+ readonly xml: {
2460
+ readonly $ref: "#/visitors/document/objects/XML";
2461
+ };
2462
+ readonly externalDocs: {
2463
+ readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
2464
+ };
2465
+ readonly example: {
2466
+ readonly $ref: "#/visitors/value";
2467
+ };
2468
+ readonly id: {
2469
+ $ref: string;
2470
+ };
2471
+ readonly $schema: {
2472
+ $ref: string;
2473
+ };
2474
+ readonly multipleOf: {
2475
+ $ref: string;
2476
+ };
2477
+ readonly maximum: {
2478
+ $ref: string;
2479
+ };
2480
+ readonly exclusiveMaximum: {
2481
+ $ref: string;
2482
+ };
2483
+ readonly minimum: {
2484
+ $ref: string;
2485
+ };
2486
+ readonly exclusiveMinimum: {
2487
+ $ref: string;
2488
+ };
2489
+ readonly maxLength: {
2490
+ $ref: string;
2491
+ };
2492
+ readonly minLength: {
2493
+ $ref: string;
2494
+ };
2495
+ readonly pattern: {
2496
+ $ref: string;
2497
+ };
2498
+ readonly additionalItems: SchemaOrReferenceVisitor;
2499
+ readonly maxItems: {
2500
+ $ref: string;
2501
+ };
2502
+ readonly minItems: {
2503
+ $ref: string;
2504
+ };
2505
+ readonly uniqueItems: {
2506
+ $ref: string;
2507
+ };
2508
+ readonly maxProperties: {
2509
+ $ref: string;
2510
+ };
2511
+ readonly minProperties: {
2512
+ $ref: string;
2513
+ };
2514
+ readonly required: RequiredVisitor;
2515
+ readonly dependencies: DependenciesVisitor;
2516
+ readonly enum: EnumVisitor;
2517
+ readonly type: TypeVisitor;
2518
+ readonly definitions: DefinitionsVisitor;
2519
+ readonly title: {
2520
+ $ref: string;
2521
+ };
2522
+ readonly description: {
2523
+ $ref: string;
2524
+ };
2525
+ readonly default: {
2526
+ $ref: string;
2527
+ };
2528
+ readonly format: {
2529
+ $ref: string;
2530
+ };
2531
+ readonly base: {
2532
+ $ref: string;
2533
+ };
2534
+ readonly links: LinksVisitor;
2535
+ readonly media: {
2536
+ $ref: string;
2537
+ };
2538
+ readonly readOnly: {
2539
+ $ref: string;
2540
+ };
2541
+ };
2542
+ };
2543
+ readonly Discriminator: {
2544
+ readonly $visitor: typeof DiscriminatorVisitor;
2545
+ readonly fixedFields: {
2546
+ readonly propertyName: {
2547
+ readonly $ref: "#/visitors/value";
2548
+ };
2549
+ readonly mapping: DiscriminatorMappingVisitor;
2550
+ };
2551
+ };
2552
+ readonly XML: {
2553
+ readonly $visitor: typeof XmlVisitor;
2554
+ readonly fixedFields: {
2555
+ readonly name: {
2556
+ readonly $ref: "#/visitors/value";
2557
+ };
2558
+ readonly namespace: {
2559
+ readonly $ref: "#/visitors/value";
2560
+ };
2561
+ readonly prefix: {
2562
+ readonly $ref: "#/visitors/value";
2563
+ };
2564
+ readonly attribute: {
2565
+ readonly $ref: "#/visitors/value";
2566
+ };
2567
+ readonly wrapped: {
2568
+ readonly $ref: "#/visitors/value";
2569
+ };
2570
+ };
2571
+ };
2572
+ readonly SecurityScheme: {
2573
+ readonly $visitor: typeof SecuritySchemeVisitor;
2574
+ readonly fixedFields: {
2575
+ readonly type: {
2576
+ readonly $ref: "#/visitors/value";
2577
+ };
2578
+ readonly description: {
2579
+ readonly $ref: "#/visitors/value";
2580
+ };
2581
+ readonly name: {
2582
+ readonly $ref: "#/visitors/value";
2583
+ };
2584
+ readonly in: {
2585
+ readonly $ref: "#/visitors/value";
2586
+ };
2587
+ readonly scheme: {
2588
+ readonly $ref: "#/visitors/value";
2589
+ };
2590
+ readonly bearerFormat: {
2591
+ readonly $ref: "#/visitors/value";
2592
+ };
2593
+ readonly flows: {
2594
+ readonly $ref: "#/visitors/document/objects/OAuthFlows";
2595
+ };
2596
+ readonly openIdConnectUrl: {
2597
+ readonly $ref: "#/visitors/value";
2598
+ };
2599
+ };
2600
+ };
2601
+ readonly OAuthFlows: {
2602
+ readonly $visitor: typeof OAuthFlowsVisitor;
2603
+ readonly fixedFields: {
2604
+ readonly implicit: {
2605
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
2606
+ };
2607
+ readonly password: {
2608
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
2609
+ };
2610
+ readonly clientCredentials: {
2611
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
2612
+ };
2613
+ readonly authorizationCode: {
2614
+ readonly $ref: "#/visitors/document/objects/OAuthFlow";
2615
+ };
2616
+ };
2617
+ };
2618
+ readonly OAuthFlow: {
2619
+ readonly $visitor: typeof OAuthFlowVisitor;
2620
+ readonly fixedFields: {
2621
+ readonly authorizationUrl: {
2622
+ readonly $ref: "#/visitors/value";
2623
+ };
2624
+ readonly tokenUrl: {
2625
+ readonly $ref: "#/visitors/value";
2626
+ };
2627
+ readonly refreshUrl: {
2628
+ readonly $ref: "#/visitors/value";
2629
+ };
2630
+ readonly scopes: OAuthFlowScopesVisitor;
2631
+ };
2632
+ };
2633
+ readonly SecurityRequirement: {
2634
+ readonly $visitor: typeof SecurityRequirementVisitor;
2635
+ };
2636
+ };
2637
+ readonly extension: {
2638
+ readonly $visitor: SpecificationExtensionVisitor;
2639
+ };
2640
+ };
2641
+ };
2642
+ };
2643
+
2644
+ export { SpecificationVisitor }
2645
+
2646
+ export { SpecificationVisitorOptions }
2647
+
2648
+ export { SpecPath }
2649
+
2650
+ /**
2651
+ * @public
2652
+ */
2653
+ export declare class TagElement extends TagElement_2 {
2654
+ }
2655
+
2656
+ export { TagsElement }
2657
+
2658
+ export { TagsVisitor }
2659
+
2660
+ export { TagsVisitorOptions }
2661
+
2662
+ /**
2663
+ * @public
2664
+ */
2665
+ export declare class TagVisitor extends BaseTagVisitor {
2666
+ readonly element: TagElement;
2667
+ constructor(options: TagVisitorOptions);
2668
+ }
2669
+
2670
+ export { TagVisitorOptions }
2671
+
2672
+ /**
2673
+ * @public
2674
+ */
2675
+ export declare interface Toolbox {
2676
+ predicates: ToolboxPredicates;
2677
+ ancestorLineageToJSONPointer: typeof ancestorLineageToJSONPointer;
2678
+ namespace: Namespace_2;
2679
+ }
2680
+
2681
+ /**
2682
+ * @public
2683
+ */
2684
+ export declare type ToolboxPredicates = typeof openApi3_1Predicates & {
2685
+ isElement: typeof isElement;
2686
+ isStringElement: typeof isStringElement;
2687
+ isArrayElement: typeof isArrayElement;
2688
+ isObjectElement: typeof isObjectElement;
2689
+ isMemberElement: typeof isMemberElement;
2690
+ isServersElement: typeof isServersElement;
2691
+ includesClasses: typeof includesClasses;
2692
+ hasElementSourceMap: typeof hasElementSourceMap;
2693
+ };
2694
+
2695
+ export { Visitor }
2696
+
2697
+ export { VisitorOptions }
2698
+
2699
+ /**
2700
+ * @public
2701
+ */
2702
+ export declare class WebhooksElement extends ObjectElement {
2703
+ static primaryClass: string;
2704
+ constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
2705
+ }
2706
+
2707
+ /**
2708
+ * @public
2709
+ */
2710
+ export declare class WebhooksVisitor extends WebhooksVisitor_base {
2711
+ readonly element: WebhooksElement;
2712
+ protected readonly specPath: SpecPath<[
2713
+ 'document',
2714
+ 'objects',
2715
+ 'Reference'
2716
+ ] | ['document', 'objects', 'PathItem']>;
2717
+ constructor(options: WebhooksVisitorOptions);
2718
+ ObjectElement(objectElement: ObjectElement): {};
2719
+ }
2720
+
2721
+ declare const WebhooksVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
2722
+
2723
+ /**
2724
+ * @public
2725
+ */
2726
+ export declare interface WebhooksVisitorOptions extends MapVisitorOptions, FallbackVisitorOptions {
2727
+ }
2728
+
2729
+ /**
2730
+ * @public
2731
+ */
2732
+ export declare class XmlElement extends XmlElement_2 {
2733
+ }
2734
+
2735
+ /**
2736
+ * @public
2737
+ */
2738
+ export declare class XmlVisitor extends BaseXMLVisitor {
2739
+ readonly element: XmlElement;
2740
+ constructor(options: XmlVisitorOptions);
2741
+ }
2742
+
2743
+ export { XmlVisitorOptions }
2744
+
2745
+ export { }