@swagger-api/apidom-parser-adapter-openapi-json-3-1 0.96.0 → 0.97.0
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
|
+
# [0.97.0](https://github.com/swagger-api/apidom/compare/v0.96.0...v0.97.0) (2024-03-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-1
|
|
9
|
+
|
|
6
10
|
# [0.96.0](https://github.com/swagger-api/apidom/compare/v0.95.0...v0.96.0) (2024-02-28)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-1
|
|
@@ -17850,6 +17850,20 @@ class Visitor {
|
|
|
17850
17850
|
NullElement() {
|
|
17851
17851
|
return null;
|
|
17852
17852
|
}
|
|
17853
|
+
RefElement(element, ...rest) {
|
|
17854
|
+
var _ancestors;
|
|
17855
|
+
const ancestors = rest[3];
|
|
17856
|
+
if (((_ancestors = ancestors[ancestors.length - 1]) === null || _ancestors === void 0 ? void 0 : _ancestors.type) === 'EphemeralObject') {
|
|
17857
|
+
return Symbol.for('delete-node');
|
|
17858
|
+
}
|
|
17859
|
+
return String(element.toValue());
|
|
17860
|
+
}
|
|
17861
|
+
LinkElement(element) {
|
|
17862
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isStringElement)(element.href)) {
|
|
17863
|
+
return element.href.toValue();
|
|
17864
|
+
}
|
|
17865
|
+
return '';
|
|
17866
|
+
}
|
|
17853
17867
|
}
|
|
17854
17868
|
const serializer = element => {
|
|
17855
17869
|
if (!(0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isElement)(element)) return element;
|