@swagger-api/apidom-ns-openapi-3-1 0.70.2 → 0.71.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,20 @@
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.71.0](https://github.com/swagger-api/apidom/compare/v0.70.4...v0.71.0) (2023-07-13)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-1
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.70.3](https://github.com/swagger-api/apidom/compare/v0.70.2...v0.70.3) (2023-06-27)
15
+
16
+ ### Bug Fixes
17
+
18
+ - **deps:** add missing @swagger-api/apidom-ast dep ([#2875](https://github.com/swagger-api/apidom/issues/2875)) ([a7f0d15](https://github.com/swagger-api/apidom/commit/a7f0d15847e40c2eac831190844dfa28d3881c8c)), closes [#2871](https://github.com/swagger-api/apidom/issues/2871)
19
+
6
20
  ## [0.70.2](https://github.com/swagger-api/apidom/compare/v0.70.1...v0.70.2) (2023-06-16)
7
21
 
8
22
  **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-1
@@ -60,6 +60,7 @@ const plugin = ({
60
60
 
61
61
  // append incremental numerical suffixes to identical operationIds
62
62
  Object.entries(normalizedOperationGroups).forEach(([normalizedOperationId, operationElements]) => {
63
+ if (!Array.isArray(operationElements)) return;
63
64
  if (operationElements.length <= 1) return;
64
65
  operationElements.forEach((operationElement, index) => {
65
66
  const indexedNormalizedOperationId = `${normalizedOperationId}${index + 1}`;
@@ -627,7 +627,7 @@ const schema = {
627
627
  const findElementFactory = (ancestor, keyName) => {
628
628
  var _ancestor$classes$fir, _ancestor$classes$fir2;
629
629
  const elementType = (0, _visitor.getNodeType)(ancestor); // @ts-ignore
630
- const keyMapping = schema[elementType] || schema[(_ancestor$classes$fir = ancestor.classes.first) === null || _ancestor$classes$fir === void 0 ? void 0 : (_ancestor$classes$fir2 = _ancestor$classes$fir.toValue) === null || _ancestor$classes$fir2 === void 0 ? void 0 : _ancestor$classes$fir2.call(_ancestor$classes$fir)];
630
+ 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)];
631
631
  return typeof keyMapping === 'undefined' ? undefined : Object.prototype.hasOwnProperty.call(keyMapping, '[key: *]') ? keyMapping['[key: *]'] : keyMapping[keyName];
632
632
  };
633
633
  const plugin = () => ({