@swagger-api/apidom-ns-openapi-3-0 0.76.0 → 0.76.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.
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.76.1](https://github.com/swagger-api/apidom/compare/v0.76.0...v0.76.1) (2023-09-07)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-0
9
+
6
10
  # [0.76.0](https://github.com/swagger-api/apidom/compare/v0.75.0...v0.76.0) (2023-09-01)
7
11
 
8
12
  **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-0
@@ -23,11 +23,11 @@ class Link extends _apidomCore.ObjectElement {
23
23
  get operation() {
24
24
  if ((0, _apidomCore.isStringElement)(this.operationRef)) {
25
25
  var _this$operationRef;
26
- return (_this$operationRef = this.operationRef) === null || _this$operationRef === void 0 ? void 0 : _this$operationRef.meta.get('operation');
26
+ return (_this$operationRef = this.operationRef) == null ? void 0 : _this$operationRef.meta.get('operation');
27
27
  }
28
28
  if ((0, _apidomCore.isStringElement)(this.operationId)) {
29
29
  var _this$operationId;
30
- return (_this$operationId = this.operationId) === null || _this$operationId === void 0 ? void 0 : _this$operationId.meta.get('operation');
30
+ return (_this$operationId = this.operationId) == null ? void 0 : _this$operationId.meta.get('operation');
31
31
  }
32
32
  return undefined;
33
33
  }
@@ -592,9 +592,9 @@ const schema = {
592
592
  }
593
593
  };
594
594
  const findElementFactory = (ancestor, keyName) => {
595
- var _ancestor$classes$fir, _ancestor$classes$fir2;
595
+ var _ancestor$classes$fir;
596
596
  const elementType = (0, _visitor.getNodeType)(ancestor); // @ts-ignore
597
- const keyMapping = schema[elementType] || schema[(_ancestor$classes$fir = ancestor.classes.first) === null || _ancestor$classes$fir === void 0 || (_ancestor$classes$fir2 = _ancestor$classes$fir.toValue) === null || _ancestor$classes$fir2 === void 0 ? void 0 : _ancestor$classes$fir2.call(_ancestor$classes$fir)];
597
+ const keyMapping = schema[elementType] || schema[(_ancestor$classes$fir = ancestor.classes.first) == null || _ancestor$classes$fir.toValue == null ? void 0 : _ancestor$classes$fir.toValue()];
598
598
  return typeof keyMapping === 'undefined' ? undefined : Object.prototype.hasOwnProperty.call(keyMapping, '[key: *]') ? keyMapping['[key: *]'] : keyMapping[keyName];
599
599
  };
600
600
  const plugin = () => () => {