@zuplo/openapi-tools 6.51.61 → 6.51.62

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.
@@ -240,7 +240,7 @@ describe("OpenAPI OperationID Merge Tests", function () {
240
240
  assert.deepEqual(mergedDocument?.paths?.["/test"]?.post?.summary, "Create a new test", "The operation's 'summary' property should be updated");
241
241
  assert.deepEqual(mergedDocument?.paths?.["/humans"]?.delete?.[ZUPLO_OPEN_API_ROUTE_KEY], openApiWithSomePathsAndMethods?.paths?.["/humans"]?.delete?.[ZUPLO_OPEN_API_ROUTE_KEY], "Merged operation with no changes should be the same");
242
242
  assert.notExists(mergedDocument?.paths?.["/humans/{id}"]?.get, "The old operation should not exist in the merged document");
243
- // NOTE: Parameters at the path level are not merged since operationID
243
+ // NOTE: Parameters at the path level are not merged since operationId
244
244
  // merging implies only operations are merged
245
245
  assert.deepEqual(mergedDocument?.paths?.["/humans/{humanId}"], {
246
246
  get: {
@@ -66,7 +66,7 @@ export const mergeOpenApiDocumentOnOperationId = (originalDocument, newDocument)
66
66
  created.add(newOperationId);
67
67
  return;
68
68
  }
69
- // If the operationID exists in the original spec and there is not
69
+ // If the operationId exists in the original spec and there is not
70
70
  // an operation at the new path/method, we remove the old operation
71
71
  // and add the new one
72
72
  if (!operationAtMatchingPathMethod) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@zuplo/openapi-tools",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "6.51.61",
5
+ "version": "6.51.62",
6
6
  "description": "Tooling for OpenAPI files",
7
7
  "repository": {
8
8
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "test:debug": "mocha --timeout 0 --parallel=false"
28
28
  },
29
29
  "dependencies": {
30
- "@zuplo/runtime": "^6.51.61",
30
+ "@zuplo/runtime": "^6.51.62",
31
31
  "ajv": "^8.17.1",
32
32
  "js-yaml": "^4.1.0",
33
33
  "openapi-types": "^12.1.3",