Skip to content

Commit

Permalink
feat(postman): support generating Postman collections with many neste…
Browse files Browse the repository at this point in the history
…d levels (#118)
  • Loading branch information
mohnoor94 authored Nov 2, 2023
1 parent d8b62c1 commit a98a556
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@expediagroup/spec-transformer",
"version": "1.6.0",
"version": "1.7.0",
"description": "API Spec Transformer",
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion src/transformer/PostmanTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Key, Value> = {};
Expand Down

0 comments on commit a98a556

Please sign in to comment.