openapi-sync 2.1.6 → 2.1.8

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.
@@ -740,6 +740,7 @@ ${(0, curl_generator_1.CurlGenerator)({
740
740
  method: `"${method}"`,
741
741
  operationId: `"${eSpec === null || eSpec === void 0 ? void 0 : eSpec.operationId}"`,
742
742
  url: endpointUrl,
743
+ tags: (eSpec === null || eSpec === void 0 ? void 0 : eSpec.tags) || [],
743
744
  };
744
745
  // Add the endpoint url
745
746
  endpointsFileContent += `${doc}export const ${endpointPrefix}${name} = ${((_u = (_t = config === null || config === void 0 ? void 0 : config.endpoints) === null || _t === void 0 ? void 0 : _t.value) === null || _u === void 0 ? void 0 : _u.type) === "object"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-sync",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "A developer-friendly tool designed to keep your API up-to-date by leveraging OpenAPI schemas. It automates the generation of endpoint URIs and type definitions, including shared types, directly from your OpenAPI specification.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -50,6 +50,14 @@
50
50
  "README.md",
51
51
  "package.json"
52
52
  ],
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "https://github.com/akintomiwa-fisayo/openapi-sync"
56
+ },
57
+ "homepage": "https://github.com/akintomiwa-fisayo/openapi-sync#readme",
58
+ "bugs": {
59
+ "url": "https://github.com/akintomiwa-fisayo/openapi-sync/issues"
60
+ },
53
61
  "scripts": {
54
62
  "test": "echo \"Error: no test specified\"",
55
63
  "build": "rm -rf dist && tsc",