@swagger-api/apidom-ns-openapi-3-1 0.69.0 → 0.69.2

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,14 @@
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.69.2](https://github.com/swagger-api/apidom/compare/v0.69.1...v0.69.2) (2023-04-03)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-1
9
+
10
+ ## [0.69.1](https://github.com/swagger-api/apidom/compare/v0.69.0...v0.69.1) (2023-03-28)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-ns-openapi-3-1
13
+
6
14
  # [0.69.0](https://github.com/swagger-api/apidom/compare/v0.68.1...v0.69.0) (2023-02-28)
7
15
 
8
16
  ### Features
@@ -13,7 +13,6 @@ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
13
13
  * When a list of Security Requirement Objects is defined on the OpenAPI Object or Operation Object,
14
14
  * only one of the Security Requirement Objects in the list needs to be satisfied to authorize the request.
15
15
  */
16
-
17
16
  /* eslint-disable no-param-reassign */
18
17
  const plugin = () => ({
19
18
  predicates
@@ -16,7 +16,6 @@ var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
16
16
  * If an alternative server object is specified at the Path Item Object level, it will override OpenAPI.servers.
17
17
  * If an alternative server object is specified at the Operation Object level, it will override PathItem.servers and OpenAPI.servers respectively.
18
18
  */
19
-
20
19
  /* eslint-disable no-param-reassign */
21
20
  const plugin = () => ({
22
21
  predicates
@@ -2108,7 +2108,6 @@ __webpack_require__.r(__webpack_exports__);
2108
2108
  * When a list of Security Requirement Objects is defined on the OpenAPI Object or Operation Object,
2109
2109
  * only one of the Security Requirement Objects in the list needs to be satisfied to authorize the request.
2110
2110
  */
2111
-
2112
2111
  /* eslint-disable no-param-reassign */
2113
2112
  const plugin = () => _ref => {
2114
2113
  let {
@@ -2174,7 +2173,6 @@ __webpack_require__.r(__webpack_exports__);
2174
2173
  * If an alternative server object is specified at the Path Item Object level, it will override OpenAPI.servers.
2175
2174
  * If an alternative server object is specified at the Operation Object level, it will override PathItem.servers and OpenAPI.servers respectively.
2176
2175
  */
2177
-
2178
2176
  /* eslint-disable no-param-reassign */
2179
2177
  const plugin = () => _ref => {
2180
2178
  let {
@@ -16226,7 +16224,7 @@ __webpack_require__.r(__webpack_exports__);
16226
16224
  /* harmony export */ });
16227
16225
  /* harmony import */ var _value_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29250);
16228
16226
 
16229
- const serializer = element => JSON.stringify((0,_value_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element));
16227
+ const serializer = (element, replacer, space) => JSON.stringify((0,_value_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element), replacer, space);
16230
16228
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (serializer);
16231
16229
 
16232
16230
  /***/ }),
@@ -16478,13 +16476,11 @@ const YamlVisitor = stampit__WEBPACK_IMPORTED_MODULE_0__({
16478
16476
  },
16479
16477
  init() {
16480
16478
  let {
16481
- signature = '',
16482
- indent = 0,
16483
- indentChar = ' '
16479
+ directive = false,
16480
+ indent = 0
16484
16481
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
16485
- this.result = signature;
16482
+ this.result = directive ? '%YAML 1.2\n---\n' : '';
16486
16483
  this.indent = indent;
16487
- this.indentChard = indentChar;
16488
16484
  },
16489
16485
  methods: {
16490
16486
  NumberElement(element) {
@@ -16515,7 +16511,7 @@ const YamlVisitor = stampit__WEBPACK_IMPORTED_MODULE_0__({
16515
16511
  const {
16516
16512
  result
16517
16513
  } = visitor;
16518
- this.result += result.startsWith('\n') ? `\n${indent}-${visitor.result}` : `\n${indent}- ${visitor.result}`;
16514
+ this.result += result.startsWith('\n') ? `\n${indent}-${result}` : `\n${indent}- ${result}`;
16519
16515
  });
16520
16516
  return false;
16521
16517
  },
@@ -16546,10 +16542,12 @@ const YamlVisitor = stampit__WEBPACK_IMPORTED_MODULE_0__({
16546
16542
  }
16547
16543
  }
16548
16544
  });
16549
- const serializer = element => {
16550
- const signature = '%YAML 1.2\n---\n';
16545
+ const serializer = function (element) {
16546
+ let {
16547
+ directive = false
16548
+ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
16551
16549
  const visitor = YamlVisitor({
16552
- signature
16550
+ directive
16553
16551
  });
16554
16552
  (0,_traversal_visitor_js__WEBPACK_IMPORTED_MODULE_2__.visit)(element, visitor);
16555
16553
  return visitor.result;
@@ -9,7 +9,6 @@ import { OperationSecurityElement } from '@swagger-api/apidom-ns-openapi-3-0';
9
9
  * When a list of Security Requirement Objects is defined on the OpenAPI Object or Operation Object,
10
10
  * only one of the Security Requirement Objects in the list needs to be satisfied to authorize the request.
11
11
  */
12
-
13
12
  /* eslint-disable no-param-reassign */
14
13
  const plugin = () => ({
15
14
  predicates
@@ -12,7 +12,6 @@ import { PathItemServersElement, OperationServersElement } from '@swagger-api/ap
12
12
  * If an alternative server object is specified at the Path Item Object level, it will override OpenAPI.servers.
13
13
  * If an alternative server object is specified at the Operation Object level, it will override PathItem.servers and OpenAPI.servers respectively.
14
14
  */
15
-
16
15
  /* eslint-disable no-param-reassign */
17
16
  const plugin = () => ({
18
17
  predicates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ns-openapi-3-1",
3
- "version": "0.69.0",
3
+ "version": "0.69.2",
4
4
  "description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -45,8 +45,8 @@
45
45
  "license": "Apache-2.0",
46
46
  "dependencies": {
47
47
  "@babel/runtime-corejs3": "^7.20.7",
48
- "@swagger-api/apidom-core": "^0.69.0",
49
- "@swagger-api/apidom-ns-openapi-3-0": "^0.69.0",
48
+ "@swagger-api/apidom-core": "^0.69.2",
49
+ "@swagger-api/apidom-ns-openapi-3-0": "^0.69.2",
50
50
  "@types/ramda": "=0.28.23",
51
51
  "ramda": "=0.28.0",
52
52
  "ramda-adjunct": "=3.4.0",
@@ -62,5 +62,5 @@
62
62
  "README.md",
63
63
  "CHANGELOG.md"
64
64
  ],
65
- "gitHead": "88ec22a4e4721fc8a3aeb1942b6da32fa2ef512b"
65
+ "gitHead": "fcd0f16e6cddd1593e3d74c79be4f27fa49d4f1b"
66
66
  }