@swagger-api/apidom-ns-openapi-3-1 1.0.0-beta.10 → 1.0.0-beta.12
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.
- package/CHANGELOG.md +12 -0
- package/dist/apidom-ns-openapi-3-1.browser.js +4596 -2570
- package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -1
- package/package.json +7 -6
- package/src/elements/Schema.cjs +2 -427
- package/src/elements/Schema.mjs +2 -427
- package/src/refractor/specification.cjs +13 -115
- package/src/refractor/specification.mjs +13 -115
- package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.cjs +2 -10
- package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.mjs +4 -9
- package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.cjs +2 -25
- package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.mjs +2 -23
- package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.cjs +2 -25
- package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.mjs +2 -23
- package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.cjs +2 -14
- package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.mjs +2 -12
- package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.cjs +2 -25
- package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.mjs +2 -23
- package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.cjs +2 -14
- package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.mjs +2 -12
- package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.cjs +2 -25
- package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.mjs +2 -23
- package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.cjs +2 -14
- package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.mjs +2 -12
- package/src/refractor/visitors/open-api-3-1/schema/index.cjs +10 -31
- package/src/refractor/visitors/open-api-3-1/schema/index.mjs +12 -33
- package/types/apidom-ns-openapi-3-1.d.ts +137 -406
- package/src/refractor/visitors/open-api-3-1/schema/$refVisitor.cjs +0 -16
- package/src/refractor/visitors/open-api-3-1/schema/$refVisitor.mjs +0 -12
- package/src/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.cjs +0 -16
- package/src/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.mjs +0 -12
- package/src/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.cjs +0 -16
- package/src/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.mjs +0 -12
- package/src/refractor/visitors/open-api-3-1/schema/EnumVisitor.cjs +0 -16
- package/src/refractor/visitors/open-api-3-1/schema/EnumVisitor.mjs +0 -12
- package/src/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.cjs +0 -16
- package/src/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.mjs +0 -12
- package/src/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.cjs +0 -17
- package/src/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.mjs +0 -13
- package/src/refractor/visitors/open-api-3-1/schema/RequiredVisitor.cjs +0 -16
- package/src/refractor/visitors/open-api-3-1/schema/RequiredVisitor.mjs +0 -12
- package/src/refractor/visitors/open-api-3-1/schema/TypeVisitor.cjs +0 -21
- package/src/refractor/visitors/open-api-3-1/schema/TypeVisitor.mjs +0 -17
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { $defsVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
2
|
+
import { AllOfVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
1
3
|
import { AlternatingVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
2
4
|
import { AlternatingVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
5
|
+
import { AnyOfVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
3
6
|
import { ArrayElement } from '@swagger-api/apidom-core';
|
|
4
7
|
import { Attributes } from '@swagger-api/apidom-core';
|
|
5
8
|
import { BooleanElement } from '@swagger-api/apidom-core';
|
|
@@ -40,6 +43,9 @@ import { ContactVisitor as ContactVisitor_2 } from '@swagger-api/apidom-ns-opena
|
|
|
40
43
|
import { ContactVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
41
44
|
import { ContentVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
42
45
|
import { ContentVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
46
|
+
import { DefinitionsVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
47
|
+
import { DependenciesVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
48
|
+
import { DependentSchemasVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
43
49
|
import { DiscriminatorElement as DiscriminatorElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
44
50
|
import { DiscriminatorMappingElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
45
51
|
import { DiscriminatorMappingVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -54,6 +60,7 @@ import { EncodingHeadersVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
|
54
60
|
import { EncodingHeadersVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
55
61
|
import { EncodingVisitor as EncodingVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
56
62
|
import { EncodingVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
63
|
+
import { EnumVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
57
64
|
import { ExampleElement as ExampleElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
58
65
|
import { ExampleExternalValueVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
59
66
|
import { ExampleExternalValueVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -100,9 +107,11 @@ import { isReferenceLikeElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
|
100
107
|
import { isServerLikeElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
101
108
|
import { isServersElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
102
109
|
import { isStringElement } from '@swagger-api/apidom-core';
|
|
110
|
+
import { JSONSchemaElement } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
103
111
|
import { LicenseElement as LicenseElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
104
112
|
import { LicenseVisitor as LicenseVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
105
113
|
import { LicenseVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
114
|
+
import { LinkDescriptionVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
106
115
|
import { LinkElement as LinkElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
107
116
|
import { LinkOperationIdVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
108
117
|
import { LinkOperationIdVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -111,6 +120,7 @@ import { LinkOperationRefVisitorOptions } from '@swagger-api/apidom-ns-openapi-3
|
|
|
111
120
|
import { LinkParametersElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
112
121
|
import { LinkParametersVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
113
122
|
import { LinkParametersVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
123
|
+
import { LinksVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
114
124
|
import { LinkVisitor as LinkVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
115
125
|
import { LinkVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
116
126
|
import { MapVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -133,7 +143,6 @@ import { MixedFieldsVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
|
133
143
|
import { Namespace } from 'minim';
|
|
134
144
|
import { Namespace as Namespace_2 } from '@swagger-api/apidom-core';
|
|
135
145
|
import { NamespacePluginOptions } from '@swagger-api/apidom-core';
|
|
136
|
-
import { NumberElement } from '@swagger-api/apidom-core';
|
|
137
146
|
import { OAuthFlowElement as OAuthFlowElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
138
147
|
import { OAuthFlowScopesElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
139
148
|
import { OAuthFlowScopesVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -144,6 +153,7 @@ import { OAuthFlowsVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
|
144
153
|
import { OAuthFlowVisitor as OAuthFlowVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
145
154
|
import { OAuthFlowVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
146
155
|
import { ObjectElement } from '@swagger-api/apidom-core';
|
|
156
|
+
import { OneOfVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
147
157
|
import { OpenapiElement as OpenapiElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
148
158
|
import { OpenapiVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
149
159
|
import { OpenapiVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -180,6 +190,8 @@ import { ParametersVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
|
180
190
|
import { ParametersVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
181
191
|
import { ParameterVisitor as ParameterVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
182
192
|
import { ParameterVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
193
|
+
import { ParentSchemaAwareVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
194
|
+
import { ParentSchemaAwareVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
183
195
|
import { PathItem$RefVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
184
196
|
import { PathItem$RefVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
185
197
|
import { PathItemElement as PathItemElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -196,6 +208,9 @@ import { PathsVisitor as PathsVisitor_2 } from '@swagger-api/apidom-ns-openapi-3
|
|
|
196
208
|
import { PathsVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
197
209
|
import { PatternedFieldsVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
198
210
|
import { PatternedFieldsVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
211
|
+
import { PatternPropertiesVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
212
|
+
import { PrefixItemsVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
213
|
+
import { PropertiesVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
199
214
|
import { Reference$RefVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
200
215
|
import { Reference$RefVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
201
216
|
import { ReferenceElement as ReferenceElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -207,6 +222,7 @@ import { RequestBodyContentVisitorOptions } from '@swagger-api/apidom-ns-openapi
|
|
|
207
222
|
import { RequestBodyElement as RequestBodyElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
208
223
|
import { RequestBodyVisitor as RequestBodyVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
209
224
|
import { RequestBodyVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
225
|
+
import { RequiredVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
210
226
|
import { ResponseContentElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
211
227
|
import { ResponseContentVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
212
228
|
import { ResponseContentVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -224,6 +240,21 @@ import { ResponsesVisitor as ResponsesVisitor_2 } from '@swagger-api/apidom-ns-o
|
|
|
224
240
|
import { ResponsesVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
225
241
|
import { ResponseVisitor as ResponseVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
226
242
|
import { ResponseVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
243
|
+
import { $defsVisitorOptions as Schema$defsVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
244
|
+
import { $refVisitor as Schema$refVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
245
|
+
import { $refVisitorOptions as Schema$refVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
246
|
+
import { $vocabularyVisitor as Schema$vocabularyVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
247
|
+
import { $vocabularyVisitorOptions as Schema$vocabularyVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
248
|
+
import { AllOfVisitorOptions as SchemaAllOfVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
249
|
+
import { AnyOfVisitorOptions as SchemaAnyOfVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
250
|
+
import { DependentRequiredVisitor as SchemaDependentRequiredVisitor } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
251
|
+
import { DependentRequiredVisitorOptions as SchemaDependentRequiredVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
252
|
+
import { DependentSchemasVisitorOptions as SchemaDependentSchemasVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
253
|
+
import { OneOfVisitorOptions as SchemaOneOfVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
254
|
+
import { SchemaOrReferenceVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
255
|
+
import { PatternPropertiesVisitorOptions as SchemaPatternPropertiesVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
256
|
+
import { PrefixItemsVisitorOptions as SchemaPrefixItemsVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
257
|
+
import { PropertiesVisitorOptions as SchemaPropertiesVisitorOptions } from '@swagger-api/apidom-ns-json-schema-2020-12';
|
|
227
258
|
import { SecurityElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
228
259
|
import { SecurityRequirementElement as SecurityRequirementElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
229
260
|
import { SecurityRequirementVisitor as SecurityRequirementVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
@@ -259,16 +290,13 @@ import { TagsVisitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
|
259
290
|
import { TagsVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
260
291
|
import { TagVisitor as TagVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
261
292
|
import { TagVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
293
|
+
import { TypeVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
262
294
|
import { Visitor } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
263
295
|
import { VisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
264
296
|
import { XmlElement as XmlElement_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
265
297
|
import { XmlVisitor as XmlVisitor_2 } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
266
298
|
import { XmlVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
267
299
|
|
|
268
|
-
declare const $defsVisitor_base: Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
269
|
-
|
|
270
|
-
declare const AllOfVisitor_base: Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
271
|
-
|
|
272
300
|
export { AlternatingVisitor }
|
|
273
301
|
|
|
274
302
|
export { AlternatingVisitorOptions }
|
|
@@ -284,8 +312,6 @@ export { AlternatingVisitorOptions }
|
|
|
284
312
|
*/
|
|
285
313
|
export declare const ancestorLineageToJSONPointer: <T extends (Element_2 | Element_2[])[]>(elementPath: T) => string;
|
|
286
314
|
|
|
287
|
-
declare const AnyOfVisitor_base: Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
288
|
-
|
|
289
315
|
/**
|
|
290
316
|
* @public
|
|
291
317
|
*/
|
|
@@ -584,8 +610,6 @@ export { ContentVisitorOptions }
|
|
|
584
610
|
*/
|
|
585
611
|
export declare const createToolbox: () => Toolbox;
|
|
586
612
|
|
|
587
|
-
declare const DependentSchemasVisitor_base: Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
588
|
-
|
|
589
613
|
/**
|
|
590
614
|
* @public
|
|
591
615
|
*/
|
|
@@ -674,13 +698,6 @@ export { ExternalDocumentationVisitorOptions }
|
|
|
674
698
|
export { FallbackVisitor }
|
|
675
699
|
|
|
676
700
|
export { FallbackVisitorOptions }
|
|
677
|
-
export { FallbackVisitorOptions as Schema$refVisitorOptions }
|
|
678
|
-
export { FallbackVisitorOptions as Schema$vocabularyVisitorOptions }
|
|
679
|
-
export { FallbackVisitorOptions as SchemaDependentRequiredVisitorOptions }
|
|
680
|
-
export { FallbackVisitorOptions as SchemaEnumVisitorOptions }
|
|
681
|
-
export { FallbackVisitorOptions as SchemaExamplesVisitorOptions }
|
|
682
|
-
export { FallbackVisitorOptions as SchemaRequiredVisitorOptions }
|
|
683
|
-
export { FallbackVisitorOptions as SchemaTypeVisitorOptions }
|
|
684
701
|
|
|
685
702
|
export { FixedFieldsVisitor }
|
|
686
703
|
|
|
@@ -1146,8 +1163,6 @@ export declare class OAuthFlowVisitor extends BaseOAuthFlowVisitor {
|
|
|
1146
1163
|
|
|
1147
1164
|
export { OAuthFlowVisitorOptions }
|
|
1148
1165
|
|
|
1149
|
-
declare const OneOfVisitor_base: Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
1150
|
-
|
|
1151
1166
|
/**
|
|
1152
1167
|
* @public
|
|
1153
1168
|
*/
|
|
@@ -1347,17 +1362,7 @@ export declare class ParameterVisitor extends BaseParameterVisitor {
|
|
|
1347
1362
|
|
|
1348
1363
|
export { ParameterVisitorOptions }
|
|
1349
1364
|
|
|
1350
|
-
|
|
1351
|
-
parent: Element_2;
|
|
1352
|
-
constructor({ parent }: ParentSchemaAwareVisitorOptions);
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
/**
|
|
1356
|
-
* @public
|
|
1357
|
-
*/
|
|
1358
|
-
export declare interface ParentSchemaAwareVisitorOptions {
|
|
1359
|
-
readonly parent: Element_2;
|
|
1360
|
-
}
|
|
1365
|
+
export { ParentSchemaAwareVisitorOptions }
|
|
1361
1366
|
|
|
1362
1367
|
export { PathItem$RefVisitor }
|
|
1363
1368
|
|
|
@@ -1429,12 +1434,6 @@ export { PatternedFieldsVisitor }
|
|
|
1429
1434
|
|
|
1430
1435
|
export { PatternedFieldsVisitorOptions }
|
|
1431
1436
|
|
|
1432
|
-
declare const PatternPropertiesVisitor_base: Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
1433
|
-
|
|
1434
|
-
declare const PrefixItemsVisitor_base: Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
1435
|
-
|
|
1436
|
-
declare const PropertiesVisitor_base: Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
1437
|
-
|
|
1438
1437
|
export { Reference$RefVisitor }
|
|
1439
1438
|
|
|
1440
1439
|
export { Reference$RefVisitorOptions }
|
|
@@ -1755,266 +1754,56 @@ export { ResponseVisitorOptions }
|
|
|
1755
1754
|
/**
|
|
1756
1755
|
* @public
|
|
1757
1756
|
*/
|
|
1758
|
-
export declare class Schema$defsVisitor extends $
|
|
1759
|
-
readonly element: ObjectElement;
|
|
1760
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
1757
|
+
export declare class Schema$defsVisitor extends $defsVisitor {
|
|
1761
1758
|
constructor(options: Schema$defsVisitorOptions);
|
|
1762
1759
|
}
|
|
1763
1760
|
|
|
1764
|
-
|
|
1765
|
-
* @public
|
|
1766
|
-
*/
|
|
1767
|
-
export declare interface Schema$defsVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
1768
|
-
}
|
|
1761
|
+
export { Schema$defsVisitorOptions }
|
|
1769
1762
|
|
|
1770
|
-
|
|
1771
|
-
* @public
|
|
1772
|
-
*/
|
|
1773
|
-
export declare class Schema$refVisitor extends FallbackVisitor {
|
|
1774
|
-
readonly element: StringElement;
|
|
1775
|
-
StringElement(stringElement: StringElement): {};
|
|
1776
|
-
}
|
|
1763
|
+
export { Schema$refVisitor }
|
|
1777
1764
|
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
1784
|
-
}
|
|
1765
|
+
export { Schema$refVisitorOptions }
|
|
1766
|
+
|
|
1767
|
+
export { Schema$vocabularyVisitor }
|
|
1768
|
+
|
|
1769
|
+
export { Schema$vocabularyVisitorOptions }
|
|
1785
1770
|
|
|
1786
1771
|
/**
|
|
1787
1772
|
* @public
|
|
1788
1773
|
*/
|
|
1789
|
-
export declare class SchemaAllOfVisitor extends
|
|
1790
|
-
readonly element: ArrayElement;
|
|
1774
|
+
export declare class SchemaAllOfVisitor extends AllOfVisitor {
|
|
1791
1775
|
constructor(options: SchemaAllOfVisitorOptions);
|
|
1792
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
1793
1776
|
}
|
|
1794
1777
|
|
|
1795
|
-
|
|
1796
|
-
* @public
|
|
1797
|
-
*/
|
|
1798
|
-
export declare interface SchemaAllOfVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
1799
|
-
}
|
|
1778
|
+
export { SchemaAllOfVisitorOptions }
|
|
1800
1779
|
|
|
1801
1780
|
/**
|
|
1802
1781
|
* @public
|
|
1803
1782
|
*/
|
|
1804
|
-
export declare class SchemaAnyOfVisitor extends
|
|
1805
|
-
readonly element: ArrayElement;
|
|
1783
|
+
export declare class SchemaAnyOfVisitor extends AnyOfVisitor {
|
|
1806
1784
|
constructor(options: SchemaAnyOfVisitorOptions);
|
|
1807
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
1808
1785
|
}
|
|
1809
1786
|
|
|
1810
|
-
|
|
1811
|
-
* @public
|
|
1812
|
-
*/
|
|
1813
|
-
export declare interface SchemaAnyOfVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
1814
|
-
}
|
|
1787
|
+
export { SchemaAnyOfVisitorOptions }
|
|
1815
1788
|
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
export declare class SchemaDependentRequiredVisitor extends FallbackVisitor {
|
|
1820
|
-
readonly element: ObjectElement;
|
|
1821
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
1822
|
-
}
|
|
1789
|
+
export { SchemaDependentRequiredVisitor }
|
|
1790
|
+
|
|
1791
|
+
export { SchemaDependentRequiredVisitorOptions }
|
|
1823
1792
|
|
|
1824
1793
|
/**
|
|
1825
1794
|
* @public
|
|
1826
1795
|
*/
|
|
1827
|
-
export declare class SchemaDependentSchemasVisitor extends
|
|
1828
|
-
readonly element: ObjectElement;
|
|
1829
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
1796
|
+
export declare class SchemaDependentSchemasVisitor extends DependentSchemasVisitor {
|
|
1830
1797
|
constructor(options: SchemaDependentSchemasVisitorOptions);
|
|
1831
1798
|
}
|
|
1832
1799
|
|
|
1833
|
-
|
|
1834
|
-
* @public
|
|
1835
|
-
*/
|
|
1836
|
-
export declare interface SchemaDependentSchemasVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
1837
|
-
}
|
|
1800
|
+
export { SchemaDependentSchemasVisitorOptions }
|
|
1838
1801
|
|
|
1839
1802
|
/**
|
|
1840
1803
|
* @public
|
|
1841
1804
|
*/
|
|
1842
|
-
export declare class SchemaElement extends
|
|
1805
|
+
export declare class SchemaElement extends JSONSchemaElement {
|
|
1843
1806
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1844
|
-
/**
|
|
1845
|
-
* Core vocabulary
|
|
1846
|
-
*
|
|
1847
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/core
|
|
1848
|
-
*/
|
|
1849
|
-
get $schema(): StringElement | undefined;
|
|
1850
|
-
set $schema($schema: StringElement | undefined);
|
|
1851
|
-
get $vocabulary(): ObjectElement | undefined;
|
|
1852
|
-
set $vocabulary($vocabulary: ObjectElement | undefined);
|
|
1853
|
-
get $id(): StringElement | undefined;
|
|
1854
|
-
set $id($id: StringElement | undefined);
|
|
1855
|
-
get $anchor(): StringElement | undefined;
|
|
1856
|
-
set $anchor($anchor: StringElement | undefined);
|
|
1857
|
-
get $dynamicAnchor(): StringElement | undefined;
|
|
1858
|
-
set $dynamicAnchor($dynamicAnchor: StringElement | undefined);
|
|
1859
|
-
get $dynamicRef(): StringElement | undefined;
|
|
1860
|
-
set $dynamicRef($dynamicRef: StringElement | undefined);
|
|
1861
|
-
get $ref(): StringElement | undefined;
|
|
1862
|
-
set $ref($ref: StringElement | undefined);
|
|
1863
|
-
get $defs(): ObjectElement | undefined;
|
|
1864
|
-
set $defs($defs: ObjectElement | undefined);
|
|
1865
|
-
get $comment(): StringElement | undefined;
|
|
1866
|
-
set $comment($comment: StringElement | undefined);
|
|
1867
|
-
/**
|
|
1868
|
-
* Applicator vocabulary
|
|
1869
|
-
*
|
|
1870
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/applicator
|
|
1871
|
-
*/
|
|
1872
|
-
get allOf(): ArrayElement | undefined;
|
|
1873
|
-
set allOf(allOf: ArrayElement | undefined);
|
|
1874
|
-
get anyOf(): ArrayElement | undefined;
|
|
1875
|
-
set anyOf(anyOf: ArrayElement | undefined);
|
|
1876
|
-
get oneOf(): ArrayElement | undefined;
|
|
1877
|
-
set oneOf(oneOf: ArrayElement | undefined);
|
|
1878
|
-
get not(): SchemaElement | undefined;
|
|
1879
|
-
set not(not: SchemaElement | undefined);
|
|
1880
|
-
get if(): SchemaElement | undefined;
|
|
1881
|
-
set if(ifSchema: SchemaElement | undefined);
|
|
1882
|
-
get then(): SchemaElement | undefined;
|
|
1883
|
-
set then(thenSchema: SchemaElement | undefined);
|
|
1884
|
-
get else(): SchemaElement | undefined;
|
|
1885
|
-
set else(elseSchema: SchemaElement | undefined);
|
|
1886
|
-
get dependentSchemas(): ObjectElement | undefined;
|
|
1887
|
-
set dependentSchemas(dependentSchemas: ObjectElement | undefined);
|
|
1888
|
-
get prefixItems(): ArrayElement | undefined;
|
|
1889
|
-
set prefixItems(prefixItems: ArrayElement | undefined);
|
|
1890
|
-
get items(): SchemaElement | undefined;
|
|
1891
|
-
set items(items: SchemaElement | undefined);
|
|
1892
|
-
get containsProp(): SchemaElement | undefined;
|
|
1893
|
-
set containsProp(containsProp: SchemaElement | undefined);
|
|
1894
|
-
get properties(): ObjectElement | undefined;
|
|
1895
|
-
set properties(properties: ObjectElement | undefined);
|
|
1896
|
-
get patternProperties(): ObjectElement | undefined;
|
|
1897
|
-
set patternProperties(patternProperties: ObjectElement | undefined);
|
|
1898
|
-
get additionalProperties(): SchemaElement | undefined;
|
|
1899
|
-
set additionalProperties(additionalProperties: SchemaElement | undefined);
|
|
1900
|
-
get propertyNames(): SchemaElement | undefined;
|
|
1901
|
-
set propertyNames(propertyNames: SchemaElement | undefined);
|
|
1902
|
-
/**
|
|
1903
|
-
* Unevaluated Locations vocabulary
|
|
1904
|
-
*
|
|
1905
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/unevaluated
|
|
1906
|
-
*/
|
|
1907
|
-
get unevaluatedItems(): SchemaElement | undefined;
|
|
1908
|
-
set unevaluatedItems(unevaluatedItems: SchemaElement | undefined);
|
|
1909
|
-
get unevaluatedProperties(): SchemaElement | undefined;
|
|
1910
|
-
set unevaluatedProperties(unevaluatedProperties: SchemaElement | undefined);
|
|
1911
|
-
/**
|
|
1912
|
-
* Validation vocabulary
|
|
1913
|
-
*
|
|
1914
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/validation
|
|
1915
|
-
*/
|
|
1916
|
-
/**
|
|
1917
|
-
* Validation Keywords for Any Instance Type
|
|
1918
|
-
*
|
|
1919
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.1
|
|
1920
|
-
*/
|
|
1921
|
-
get type(): ArrayElement | StringElement | undefined;
|
|
1922
|
-
set type(type: ArrayElement | StringElement | undefined);
|
|
1923
|
-
get enum(): ArrayElement | undefined;
|
|
1924
|
-
set enum(enumVal: ArrayElement | undefined);
|
|
1925
|
-
get const(): Element_2 | undefined;
|
|
1926
|
-
set const(constVal: Element_2 | undefined);
|
|
1927
|
-
/**
|
|
1928
|
-
* Validation Keywords for Numeric Instances (number and integer)
|
|
1929
|
-
*
|
|
1930
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#numeric
|
|
1931
|
-
*/
|
|
1932
|
-
get multipleOf(): NumberElement | undefined;
|
|
1933
|
-
set multipleOf(multipleOf: NumberElement | undefined);
|
|
1934
|
-
get maximum(): NumberElement | undefined;
|
|
1935
|
-
set maximum(maximum: NumberElement | undefined);
|
|
1936
|
-
get exclusiveMaximum(): NumberElement | undefined;
|
|
1937
|
-
set exclusiveMaximum(exclusiveMaximum: NumberElement | undefined);
|
|
1938
|
-
get minimum(): NumberElement | undefined;
|
|
1939
|
-
set minimum(minimum: NumberElement | undefined);
|
|
1940
|
-
get exclusiveMinimum(): NumberElement | undefined;
|
|
1941
|
-
set exclusiveMinimum(exclusiveMinimum: NumberElement | undefined);
|
|
1942
|
-
/**
|
|
1943
|
-
* Validation Keywords for Strings
|
|
1944
|
-
*
|
|
1945
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#string
|
|
1946
|
-
*/
|
|
1947
|
-
get maxLength(): NumberElement | undefined;
|
|
1948
|
-
set maxLength(maxLength: NumberElement | undefined);
|
|
1949
|
-
get minLength(): NumberElement | undefined;
|
|
1950
|
-
set minLength(minLength: NumberElement | undefined);
|
|
1951
|
-
get pattern(): StringElement | undefined;
|
|
1952
|
-
set pattern(pattern: StringElement | undefined);
|
|
1953
|
-
/**
|
|
1954
|
-
* Validation Keywords for Arrays
|
|
1955
|
-
*
|
|
1956
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.4
|
|
1957
|
-
*/
|
|
1958
|
-
get maxItems(): NumberElement | undefined;
|
|
1959
|
-
set maxItems(maxItems: NumberElement | undefined);
|
|
1960
|
-
get minItems(): NumberElement | undefined;
|
|
1961
|
-
set minItems(minItems: NumberElement | undefined);
|
|
1962
|
-
get uniqueItems(): BooleanElement | undefined;
|
|
1963
|
-
set uniqueItems(uniqueItems: BooleanElement | undefined);
|
|
1964
|
-
get maxContains(): NumberElement | undefined;
|
|
1965
|
-
set maxContains(maxContains: NumberElement | undefined);
|
|
1966
|
-
get minContains(): NumberElement | undefined;
|
|
1967
|
-
set minContains(minContains: NumberElement | undefined);
|
|
1968
|
-
/**
|
|
1969
|
-
* Validation Keywords for Objects
|
|
1970
|
-
*
|
|
1971
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.5
|
|
1972
|
-
*/
|
|
1973
|
-
get maxProperties(): NumberElement | undefined;
|
|
1974
|
-
set maxProperties(maxProperties: NumberElement | undefined);
|
|
1975
|
-
get minProperties(): NumberElement | undefined;
|
|
1976
|
-
set minProperties(minProperties: NumberElement | undefined);
|
|
1977
|
-
get required(): ArrayElement | undefined;
|
|
1978
|
-
set required(required: ArrayElement | undefined);
|
|
1979
|
-
get dependentRequired(): ObjectElement | undefined;
|
|
1980
|
-
set dependentRequired(dependentRequired: ObjectElement | undefined);
|
|
1981
|
-
/**
|
|
1982
|
-
* Vocabulary for Basic Meta-Data Annotations
|
|
1983
|
-
*
|
|
1984
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/meta-data
|
|
1985
|
-
*/
|
|
1986
|
-
get title(): StringElement | undefined;
|
|
1987
|
-
set title(title: StringElement | undefined);
|
|
1988
|
-
get description(): StringElement | undefined;
|
|
1989
|
-
set description(description: StringElement | undefined);
|
|
1990
|
-
get default(): Element_2 | undefined;
|
|
1991
|
-
set default(defaultVal: Element_2 | undefined);
|
|
1992
|
-
get deprecated(): BooleanElement | undefined;
|
|
1993
|
-
set deprecated(deprecated: BooleanElement | undefined);
|
|
1994
|
-
get readOnly(): BooleanElement | undefined;
|
|
1995
|
-
set readOnly(readOnly: BooleanElement | undefined);
|
|
1996
|
-
get writeOnly(): BooleanElement | undefined;
|
|
1997
|
-
set writeOnly(writeOnly: BooleanElement | undefined);
|
|
1998
|
-
get examples(): ArrayElement | undefined;
|
|
1999
|
-
set examples(examples: ArrayElement | undefined);
|
|
2000
|
-
/**
|
|
2001
|
-
* Vocabularies for Semantic Content With "format"
|
|
2002
|
-
*
|
|
2003
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/format-annotation
|
|
2004
|
-
*/
|
|
2005
|
-
get format(): StringElement | undefined;
|
|
2006
|
-
set format(format: StringElement | undefined);
|
|
2007
|
-
/**
|
|
2008
|
-
* Vocabulary for the Contents of String-Encoded Data
|
|
2009
|
-
*
|
|
2010
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/content
|
|
2011
|
-
*/
|
|
2012
|
-
get contentEncoding(): StringElement | undefined;
|
|
2013
|
-
set contentEncoding(contentEncoding: StringElement | undefined);
|
|
2014
|
-
get contentMediaType(): StringElement | undefined;
|
|
2015
|
-
set contentMediaType(contentMediaType: StringElement | undefined);
|
|
2016
|
-
get contentSchema(): SchemaElement | undefined;
|
|
2017
|
-
set contentSchema(contentSchema: SchemaElement | undefined);
|
|
2018
1807
|
/**
|
|
2019
1808
|
* OAS base vocabulary
|
|
2020
1809
|
*
|
|
@@ -2036,98 +1825,41 @@ export declare class SchemaElement extends ObjectElement {
|
|
|
2036
1825
|
/**
|
|
2037
1826
|
* @public
|
|
2038
1827
|
*/
|
|
2039
|
-
export declare class
|
|
2040
|
-
readonly element: ArrayElement;
|
|
2041
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
/**
|
|
2045
|
-
* @public
|
|
2046
|
-
*/
|
|
2047
|
-
export declare class SchemaExamplesVisitor extends FallbackVisitor {
|
|
2048
|
-
readonly element: ArrayElement;
|
|
2049
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
/**
|
|
2053
|
-
* @public
|
|
2054
|
-
*/
|
|
2055
|
-
export declare class SchemaOneOfVisitor extends OneOfVisitor_base {
|
|
2056
|
-
readonly element: ArrayElement;
|
|
1828
|
+
export declare class SchemaOneOfVisitor extends OneOfVisitor {
|
|
2057
1829
|
constructor(options: SchemaOneOfVisitorOptions);
|
|
2058
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
2059
1830
|
}
|
|
2060
1831
|
|
|
2061
|
-
|
|
2062
|
-
* @public
|
|
2063
|
-
*/
|
|
2064
|
-
export declare interface SchemaOneOfVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
2065
|
-
}
|
|
1832
|
+
export { SchemaOneOfVisitorOptions }
|
|
2066
1833
|
|
|
2067
1834
|
/**
|
|
2068
1835
|
* @public
|
|
2069
1836
|
*/
|
|
2070
|
-
export declare class SchemaPatternPropertiesVisitor extends
|
|
2071
|
-
readonly element: ObjectElement;
|
|
2072
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
1837
|
+
export declare class SchemaPatternPropertiesVisitor extends PatternPropertiesVisitor {
|
|
2073
1838
|
constructor(options: SchemaPatternPropertiesVisitorOptions);
|
|
2074
1839
|
}
|
|
2075
1840
|
|
|
2076
|
-
|
|
2077
|
-
* @public
|
|
2078
|
-
*/
|
|
2079
|
-
export declare interface SchemaPatternPropertiesVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
2080
|
-
}
|
|
1841
|
+
export { SchemaPatternPropertiesVisitorOptions }
|
|
2081
1842
|
|
|
2082
1843
|
/**
|
|
2083
1844
|
* @public
|
|
2084
1845
|
*/
|
|
2085
|
-
export declare class SchemaPrefixItemsVisitor extends
|
|
2086
|
-
readonly element: ArrayElement;
|
|
1846
|
+
export declare class SchemaPrefixItemsVisitor extends PrefixItemsVisitor {
|
|
2087
1847
|
constructor(options: SchemaPrefixItemsVisitorOptions);
|
|
2088
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
2089
1848
|
}
|
|
2090
1849
|
|
|
2091
|
-
|
|
2092
|
-
* @public
|
|
2093
|
-
*/
|
|
2094
|
-
export declare interface SchemaPrefixItemsVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
2095
|
-
}
|
|
1850
|
+
export { SchemaPrefixItemsVisitorOptions }
|
|
2096
1851
|
|
|
2097
1852
|
/**
|
|
2098
1853
|
* @public
|
|
2099
1854
|
*/
|
|
2100
|
-
export declare class SchemaPropertiesVisitor extends
|
|
2101
|
-
readonly element: ObjectElement;
|
|
2102
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
1855
|
+
export declare class SchemaPropertiesVisitor extends PropertiesVisitor {
|
|
2103
1856
|
constructor(options: SchemaPropertiesVisitorOptions);
|
|
2104
1857
|
}
|
|
2105
1858
|
|
|
2106
|
-
|
|
2107
|
-
* @public
|
|
2108
|
-
*/
|
|
2109
|
-
export declare interface SchemaPropertiesVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
/**
|
|
2113
|
-
* @public
|
|
2114
|
-
*/
|
|
2115
|
-
export declare class SchemaRequiredVisitor extends FallbackVisitor {
|
|
2116
|
-
readonly element: ArrayElement;
|
|
2117
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
2118
|
-
}
|
|
1859
|
+
export { SchemaPropertiesVisitorOptions }
|
|
2119
1860
|
|
|
2120
1861
|
declare const SchemasVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
2121
1862
|
|
|
2122
|
-
/**
|
|
2123
|
-
* @public
|
|
2124
|
-
*/
|
|
2125
|
-
export declare class SchemaTypeVisitor extends FallbackVisitor {
|
|
2126
|
-
readonly element: StringElement | ArrayElement;
|
|
2127
|
-
StringElement(stringElement: StringElement): {};
|
|
2128
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
2129
|
-
}
|
|
2130
|
-
|
|
2131
1863
|
/**
|
|
2132
1864
|
* @public
|
|
2133
1865
|
*/
|
|
@@ -2142,9 +1874,9 @@ export declare class SchemaVisitor extends SchemaVisitor_base {
|
|
|
2142
1874
|
* works even when no context is provided like when directly refracting generic Object Element
|
|
2143
1875
|
* into Schema Element: `SchemaElement.refract(new ObjectElement({ type: 'object' });`
|
|
2144
1876
|
*/
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
1877
|
+
get defaultDialectIdentifier(): JsonSchemaDialectElement;
|
|
1878
|
+
handleDialectIdentifier(objectElement: ObjectElement): void;
|
|
1879
|
+
handleSchemaIdentifier(objectElement: ObjectElement): void;
|
|
2148
1880
|
}
|
|
2149
1881
|
|
|
2150
1882
|
declare const SchemaVisitor_base: Class<any[], FixedFieldsVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
@@ -2649,30 +2381,38 @@ export declare const specificationObj: {
|
|
|
2649
2381
|
};
|
|
2650
2382
|
};
|
|
2651
2383
|
};
|
|
2652
|
-
readonly
|
|
2653
|
-
readonly $
|
|
2384
|
+
readonly JSONSchema: {
|
|
2385
|
+
readonly $ref: "#/visitors/document/objects/Schema";
|
|
2386
|
+
};
|
|
2387
|
+
readonly LinkDescription: {
|
|
2388
|
+
readonly $visitor: LinkDescriptionVisitor;
|
|
2654
2389
|
readonly fixedFields: {
|
|
2655
|
-
|
|
2656
|
-
|
|
2390
|
+
href: {
|
|
2391
|
+
$ref: string;
|
|
2657
2392
|
};
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
readonly $ref: "#/visitors/value";
|
|
2393
|
+
rel: {
|
|
2394
|
+
$ref: string;
|
|
2661
2395
|
};
|
|
2662
|
-
|
|
2663
|
-
|
|
2396
|
+
title: {
|
|
2397
|
+
$ref: string;
|
|
2664
2398
|
};
|
|
2665
|
-
|
|
2666
|
-
|
|
2399
|
+
targetSchema: SchemaOrReferenceVisitor;
|
|
2400
|
+
mediaType: {
|
|
2401
|
+
$ref: string;
|
|
2667
2402
|
};
|
|
2668
|
-
|
|
2669
|
-
|
|
2403
|
+
method: {
|
|
2404
|
+
$ref: string;
|
|
2670
2405
|
};
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
readonly $comment: {
|
|
2674
|
-
readonly $ref: "#/visitors/value";
|
|
2406
|
+
encType: {
|
|
2407
|
+
$ref: string;
|
|
2675
2408
|
};
|
|
2409
|
+
schema: SchemaOrReferenceVisitor;
|
|
2410
|
+
};
|
|
2411
|
+
};
|
|
2412
|
+
readonly Schema: {
|
|
2413
|
+
readonly $visitor: typeof SchemaVisitor;
|
|
2414
|
+
readonly fixedFields: {
|
|
2415
|
+
readonly $defs: typeof Schema$defsVisitor;
|
|
2676
2416
|
readonly allOf: typeof SchemaAllOfVisitor;
|
|
2677
2417
|
readonly anyOf: typeof SchemaAnyOfVisitor;
|
|
2678
2418
|
readonly oneOf: typeof SchemaOneOfVisitor;
|
|
@@ -2710,102 +2450,93 @@ export declare const specificationObj: {
|
|
|
2710
2450
|
readonly unevaluatedProperties: {
|
|
2711
2451
|
readonly $ref: "#/visitors/document/objects/Schema";
|
|
2712
2452
|
};
|
|
2713
|
-
readonly
|
|
2714
|
-
|
|
2715
|
-
|
|
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: {
|
|
2716
2466
|
readonly $ref: "#/visitors/value";
|
|
2717
2467
|
};
|
|
2468
|
+
readonly id: {
|
|
2469
|
+
$ref: string;
|
|
2470
|
+
};
|
|
2471
|
+
readonly $schema: {
|
|
2472
|
+
$ref: string;
|
|
2473
|
+
};
|
|
2718
2474
|
readonly multipleOf: {
|
|
2719
|
-
|
|
2475
|
+
$ref: string;
|
|
2720
2476
|
};
|
|
2721
2477
|
readonly maximum: {
|
|
2722
|
-
|
|
2478
|
+
$ref: string;
|
|
2723
2479
|
};
|
|
2724
2480
|
readonly exclusiveMaximum: {
|
|
2725
|
-
|
|
2481
|
+
$ref: string;
|
|
2726
2482
|
};
|
|
2727
2483
|
readonly minimum: {
|
|
2728
|
-
|
|
2484
|
+
$ref: string;
|
|
2729
2485
|
};
|
|
2730
2486
|
readonly exclusiveMinimum: {
|
|
2731
|
-
|
|
2487
|
+
$ref: string;
|
|
2732
2488
|
};
|
|
2733
2489
|
readonly maxLength: {
|
|
2734
|
-
|
|
2490
|
+
$ref: string;
|
|
2735
2491
|
};
|
|
2736
2492
|
readonly minLength: {
|
|
2737
|
-
|
|
2493
|
+
$ref: string;
|
|
2738
2494
|
};
|
|
2739
2495
|
readonly pattern: {
|
|
2740
|
-
|
|
2496
|
+
$ref: string;
|
|
2741
2497
|
};
|
|
2498
|
+
readonly additionalItems: SchemaOrReferenceVisitor;
|
|
2742
2499
|
readonly maxItems: {
|
|
2743
|
-
|
|
2500
|
+
$ref: string;
|
|
2744
2501
|
};
|
|
2745
2502
|
readonly minItems: {
|
|
2746
|
-
|
|
2503
|
+
$ref: string;
|
|
2747
2504
|
};
|
|
2748
2505
|
readonly uniqueItems: {
|
|
2749
|
-
|
|
2750
|
-
};
|
|
2751
|
-
readonly maxContains: {
|
|
2752
|
-
readonly $ref: "#/visitors/value";
|
|
2753
|
-
};
|
|
2754
|
-
readonly minContains: {
|
|
2755
|
-
readonly $ref: "#/visitors/value";
|
|
2506
|
+
$ref: string;
|
|
2756
2507
|
};
|
|
2757
2508
|
readonly maxProperties: {
|
|
2758
|
-
|
|
2509
|
+
$ref: string;
|
|
2759
2510
|
};
|
|
2760
2511
|
readonly minProperties: {
|
|
2761
|
-
|
|
2512
|
+
$ref: string;
|
|
2762
2513
|
};
|
|
2763
|
-
readonly required:
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
readonly
|
|
2514
|
+
readonly required: RequiredVisitor;
|
|
2515
|
+
readonly dependencies: DependenciesVisitor;
|
|
2516
|
+
readonly enum: EnumVisitor;
|
|
2517
|
+
readonly type: TypeVisitor;
|
|
2518
|
+
readonly definitions: DefinitionsVisitor;
|
|
2767
2519
|
readonly title: {
|
|
2768
|
-
|
|
2520
|
+
$ref: string;
|
|
2769
2521
|
};
|
|
2770
2522
|
readonly description: {
|
|
2771
|
-
|
|
2523
|
+
$ref: string;
|
|
2772
2524
|
};
|
|
2773
2525
|
readonly default: {
|
|
2774
|
-
|
|
2526
|
+
$ref: string;
|
|
2775
2527
|
};
|
|
2776
|
-
readonly deprecated: {
|
|
2777
|
-
readonly $ref: "#/visitors/value";
|
|
2778
|
-
};
|
|
2779
|
-
readonly readOnly: {
|
|
2780
|
-
readonly $ref: "#/visitors/value";
|
|
2781
|
-
};
|
|
2782
|
-
readonly writeOnly: {
|
|
2783
|
-
readonly $ref: "#/visitors/value";
|
|
2784
|
-
};
|
|
2785
|
-
readonly examples: typeof SchemaExamplesVisitor;
|
|
2786
2528
|
readonly format: {
|
|
2787
|
-
|
|
2788
|
-
};
|
|
2789
|
-
readonly contentEncoding: {
|
|
2790
|
-
readonly $ref: "#/visitors/value";
|
|
2529
|
+
$ref: string;
|
|
2791
2530
|
};
|
|
2792
|
-
readonly
|
|
2793
|
-
|
|
2531
|
+
readonly base: {
|
|
2532
|
+
$ref: string;
|
|
2794
2533
|
};
|
|
2795
|
-
readonly
|
|
2796
|
-
|
|
2534
|
+
readonly links: LinksVisitor;
|
|
2535
|
+
readonly media: {
|
|
2536
|
+
$ref: string;
|
|
2797
2537
|
};
|
|
2798
|
-
readonly
|
|
2799
|
-
|
|
2800
|
-
};
|
|
2801
|
-
readonly xml: {
|
|
2802
|
-
readonly $ref: "#/visitors/document/objects/XML";
|
|
2803
|
-
};
|
|
2804
|
-
readonly externalDocs: {
|
|
2805
|
-
readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
|
|
2806
|
-
};
|
|
2807
|
-
readonly example: {
|
|
2808
|
-
readonly $ref: "#/visitors/value";
|
|
2538
|
+
readonly readOnly: {
|
|
2539
|
+
$ref: string;
|
|
2809
2540
|
};
|
|
2810
2541
|
};
|
|
2811
2542
|
};
|