diff --git a/README.md b/README.md index f1770e7..b96799f 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ npx -p @expediagroup/spec-transformer cli --input specs.yaml --output out.yaml - ### 3. Build and run spec-transformer locally ```bash +npm install npm run build ``` diff --git a/package-lock.json b/package-lock.json index 0e5be75..244d1cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@expediagroup/spec-transformer", - "version": "1.6.0", + "version": "1.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@expediagroup/spec-transformer", - "version": "1.6.0", + "version": "1.7.0", "license": "Apache-2.0", "dependencies": { "commander": "11.1.0", diff --git a/package.json b/package.json index d341db0..c5d5763 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@expediagroup/spec-transformer", - "version": "1.6.0", + "version": "1.7.0", "description": "API Spec Transformer", "repository": { "type": "git", diff --git a/src/transformer/PostmanTransformer.ts b/src/transformer/PostmanTransformer.ts index c8a6f8b..19a93d2 100644 --- a/src/transformer/PostmanTransformer.ts +++ b/src/transformer/PostmanTransformer.ts @@ -31,7 +31,9 @@ export class PostmanTransformer implements Transformer { const options: Options = { folderStrategy: 'Tags', - requestParametersResolution: 'Example' + requestParametersResolution: 'Example', + optimizeConversion: false, + stackLimit: 50 }; let result: Record = {};