@swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12 1.0.0-beta.10 → 1.0.0-beta.11
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
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-beta.11](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2025-01-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12
|
|
9
|
+
|
|
6
10
|
# [1.0.0-beta.10](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2025-01-25)
|
|
7
11
|
|
|
8
12
|
### Features
|
|
@@ -25004,98 +25004,12 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_2019_09__WEBPACK_IMP
|
|
|
25004
25004
|
* URI: https://json-schema.org/draft/2020-12/vocab/applicator
|
|
25005
25005
|
*/
|
|
25006
25006
|
|
|
25007
|
-
get not() {
|
|
25008
|
-
return this.get('not');
|
|
25009
|
-
}
|
|
25010
|
-
set not(not) {
|
|
25011
|
-
this.set('not', not);
|
|
25012
|
-
}
|
|
25013
|
-
get if() {
|
|
25014
|
-
return this.get('if');
|
|
25015
|
-
}
|
|
25016
|
-
set if(ifSchema) {
|
|
25017
|
-
this.set('if', ifSchema);
|
|
25018
|
-
}
|
|
25019
|
-
get then() {
|
|
25020
|
-
return this.get('then');
|
|
25021
|
-
}
|
|
25022
|
-
set then(thenSchema) {
|
|
25023
|
-
this.set('then', thenSchema);
|
|
25024
|
-
}
|
|
25025
|
-
get else() {
|
|
25026
|
-
return this.get('else');
|
|
25027
|
-
}
|
|
25028
|
-
set else(elseSchema) {
|
|
25029
|
-
this.set('else', elseSchema);
|
|
25030
|
-
}
|
|
25031
25007
|
get prefixItems() {
|
|
25032
25008
|
return this.get('prefixItems');
|
|
25033
25009
|
}
|
|
25034
25010
|
set prefixItems(prefixItems) {
|
|
25035
25011
|
this.set('prefixItems', prefixItems);
|
|
25036
25012
|
}
|
|
25037
|
-
get items() {
|
|
25038
|
-
return this.get('items');
|
|
25039
|
-
}
|
|
25040
|
-
set items(items) {
|
|
25041
|
-
this.set('items', items);
|
|
25042
|
-
}
|
|
25043
|
-
get containsProp() {
|
|
25044
|
-
return this.get('contains');
|
|
25045
|
-
}
|
|
25046
|
-
set containsProp(containsProp) {
|
|
25047
|
-
this.set('contains', containsProp);
|
|
25048
|
-
}
|
|
25049
|
-
get additionalProperties() {
|
|
25050
|
-
return this.get('additionalProperties');
|
|
25051
|
-
}
|
|
25052
|
-
set additionalProperties(additionalProperties) {
|
|
25053
|
-
this.set('additionalProperties', additionalProperties);
|
|
25054
|
-
}
|
|
25055
|
-
get additionalItems() {
|
|
25056
|
-
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('additionalItems keyword from Applicator vocabulary has been removed.');
|
|
25057
|
-
}
|
|
25058
|
-
set additionalItems(additionalItems) {
|
|
25059
|
-
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('additionalItems keyword from Applicator vocabulary has been removed.');
|
|
25060
|
-
}
|
|
25061
|
-
get propertyNames() {
|
|
25062
|
-
return this.get('propertyNames');
|
|
25063
|
-
}
|
|
25064
|
-
set propertyNames(propertyNames) {
|
|
25065
|
-
this.set('propertyNames', propertyNames);
|
|
25066
|
-
}
|
|
25067
|
-
|
|
25068
|
-
/**
|
|
25069
|
-
* Unevaluated Locations vocabulary
|
|
25070
|
-
*
|
|
25071
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-core#section-11
|
|
25072
|
-
*/
|
|
25073
|
-
|
|
25074
|
-
get unevaluatedItems() {
|
|
25075
|
-
return this.get('unevaluatedItems');
|
|
25076
|
-
}
|
|
25077
|
-
set unevaluatedItems(unevaluatedItems) {
|
|
25078
|
-
this.set('unevaluatedItems', unevaluatedItems);
|
|
25079
|
-
}
|
|
25080
|
-
get unevaluatedProperties() {
|
|
25081
|
-
return this.get('unevaluatedProperties');
|
|
25082
|
-
}
|
|
25083
|
-
set unevaluatedProperties(unevaluatedProperties) {
|
|
25084
|
-
this.set('unevaluatedProperties', unevaluatedProperties);
|
|
25085
|
-
}
|
|
25086
|
-
|
|
25087
|
-
/**
|
|
25088
|
-
* Vocabulary for the Contents of String-Encoded Data
|
|
25089
|
-
*
|
|
25090
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/content
|
|
25091
|
-
*/
|
|
25092
|
-
|
|
25093
|
-
get contentSchema() {
|
|
25094
|
-
return this.get('contentSchema');
|
|
25095
|
-
}
|
|
25096
|
-
set contentSchema(contentSchema) {
|
|
25097
|
-
this.set('contentSchema', contentSchema);
|
|
25098
|
-
}
|
|
25099
25013
|
}
|
|
25100
25014
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONSchema);
|
|
25101
25015
|
|
|
@@ -26520,7 +26434,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26520
26434
|
*/
|
|
26521
26435
|
class SpecificationVisitor extends _Visitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
26522
26436
|
specObj;
|
|
26523
|
-
passingOptionsNames = ['specObj'];
|
|
26437
|
+
passingOptionsNames = ['specObj', 'parent'];
|
|
26524
26438
|
constructor({
|
|
26525
26439
|
specObj,
|
|
26526
26440
|
...rest
|
|
@@ -26557,7 +26471,7 @@ class SpecificationVisitor extends _Visitor_mjs__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
26557
26471
|
}
|
|
26558
26472
|
toRefractedElement(specPath, element, options = {}) {
|
|
26559
26473
|
/**
|
|
26560
|
-
* This is `Visitor shortcut`: mechanism for short
|
|
26474
|
+
* This is `Visitor shortcut`: mechanism for short-circuiting the traversal and replacing
|
|
26561
26475
|
* it by basic node cloning.
|
|
26562
26476
|
*
|
|
26563
26477
|
* Visiting the element is equivalent to cloning it if the prototype of a visitor
|
|
@@ -27403,7 +27317,7 @@ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(
|
|
|
27403
27317
|
this.handleDialectIdentifier(objectElement);
|
|
27404
27318
|
this.handleSchemaIdentifier(objectElement);
|
|
27405
27319
|
|
|
27406
|
-
// for further processing consider this
|
|
27320
|
+
// for further processing consider this JSONSchema Element as parent for all sub-schemas
|
|
27407
27321
|
this.parent = this.element;
|
|
27408
27322
|
return _generics_FixedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.ObjectElement.call(this, objectElement);
|
|
27409
27323
|
}
|
|
@@ -28218,13 +28132,6 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMP
|
|
|
28218
28132
|
/**
|
|
28219
28133
|
* Validation keywords for arrays
|
|
28220
28134
|
*/
|
|
28221
|
-
|
|
28222
|
-
get containsProp() {
|
|
28223
|
-
return this.get('contains');
|
|
28224
|
-
}
|
|
28225
|
-
set containsProp(contains) {
|
|
28226
|
-
this.set('contains', contains);
|
|
28227
|
-
}
|
|
28228
28135
|
get items() {
|
|
28229
28136
|
return this.get('items');
|
|
28230
28137
|
}
|
|
@@ -28232,17 +28139,6 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMP
|
|
|
28232
28139
|
this.set('items', items);
|
|
28233
28140
|
}
|
|
28234
28141
|
|
|
28235
|
-
/**
|
|
28236
|
-
* Validation keywords for objects
|
|
28237
|
-
*/
|
|
28238
|
-
|
|
28239
|
-
get propertyNames() {
|
|
28240
|
-
return this.get('propertyNames');
|
|
28241
|
-
}
|
|
28242
|
-
set propertyNames(propertyNames) {
|
|
28243
|
-
this.set('propertyNames', propertyNames);
|
|
28244
|
-
}
|
|
28245
|
-
|
|
28246
28142
|
/**
|
|
28247
28143
|
* Keywords for Applying Subschemas Conditionally
|
|
28248
28144
|
*
|