openapi-sync 1.0.19 → 1.0.20
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.
|
@@ -120,7 +120,6 @@ const OpenapiSync = (apiUrl, apiName, refetchInterval) => __awaiter(void 0, void
|
|
|
120
120
|
const endpoint = (0, helpers_1.getEndpointDetails)(endpointPath, method);
|
|
121
121
|
const endpointUrlTxt = endpoint.pathParts
|
|
122
122
|
.map((part) => {
|
|
123
|
-
console.log("2nd part", part);
|
|
124
123
|
// check if part is a variable
|
|
125
124
|
if (part[0] === "{" && part[part.length - 1] === "}") {
|
|
126
125
|
const s = part.replace(/{/, "").replace(/}/, "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-sync",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
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",
|