@swagger-api/apidom-ns-openapi-3-1 0.86.0 → 0.88.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,16 @@
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.88.0](https://github.com/swagger-api/apidom/compare/v0.87.0...v0.88.0) (2023-12-15)
7
+
8
+ ### Features
9
+
10
+ - allow linting OpenAPI path templates ([#3532](https://github.com/swagger-api/apidom/issues/3532)) ([b0b03a2](https://github.com/swagger-api/apidom/commit/b0b03a2d2549a68701248909d7b73ec5a1d51ae5)), closes [#3517](https://github.com/swagger-api/apidom/issues/3517)
11
+
12
+ # [0.87.0](https://github.com/swagger-api/apidom/compare/v0.86.0...v0.87.0) (2023-12-12)
13
+
14
+ **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-1
15
+
6
16
  # [0.86.0](https://github.com/swagger-api/apidom/compare/v0.85.0...v0.86.0) (2023-12-05)
7
17
 
8
18
  **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-1
@@ -33352,7 +33352,7 @@ __webpack_require__.r(__webpack_exports__);
33352
33352
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
33353
33353
  /* harmony export */ });
33354
33354
  /* harmony import */ var stampit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(86591);
33355
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87816);
33355
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2335);
33356
33356
  /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16360);
33357
33357
  /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(82434);
33358
33358
  /* harmony import */ var _elements_Paths_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14666);
@@ -33368,7 +33368,7 @@ __webpack_require__.r(__webpack_exports__);
33368
33368
 
33369
33369
  const PathsVisitor = stampit__WEBPACK_IMPORTED_MODULE_0__(_generics_PatternedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"], _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"], {
33370
33370
  props: {
33371
- fieldPatternPredicate: (0,ramda__WEBPACK_IMPORTED_MODULE_3__["default"])(/^\/(?<path>.*)$/),
33371
+ fieldPatternPredicate: ramda__WEBPACK_IMPORTED_MODULE_3__["default"],
33372
33372
  specPath: (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['document', 'objects', 'PathItem']),
33373
33373
  canSupportSpecificationExtensions: true
33374
33374
  },
@@ -33382,6 +33382,8 @@ const PathsVisitor = stampit__WEBPACK_IMPORTED_MODULE_0__(_generics_PatternedFie
33382
33382
 
33383
33383
  // decorate every PathItemElement with path metadata
33384
33384
  this.element.filter(_predicates_mjs__WEBPACK_IMPORTED_MODULE_6__.isPathItemElement).forEach((pathItemElement, key) => {
33385
+ key.classes.push('openapi-path-template');
33386
+ key.classes.push('path-template');
33385
33387
  pathItemElement.setMetaProperty('path', (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_7__.cloneDeep)(key));
33386
33388
  });
33387
33389
  return result;