Skip to content

Commit c1ccf1e

Browse files
1 parent 03f5daa commit c1ccf1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/postman/scripts/convert-to-collection.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ echo "Installing openapi-to-postmanv2"
2222
npm install
2323

2424
echo "Converting $OPENAPI_FOLDER/$OPENAPI_FILE_NAME from OpenAPI to PostmanV2"
25-
../../node_modules/.bin/openapi2postmanv2 -s "$TMP_FOLDER"/tmp.json -o "$TMP_FOLDER"/"$COLLECTION_FILE_NAME" -O folderStrategy=Tags
25+
npx openapi2postmanv2 -s "$TMP_FOLDER"/tmp.json -o "$TMP_FOLDER"/"$COLLECTION_FILE_NAME" -O folderStrategy=Tags
2626

2727
rm "$TMP_FOLDER"/tmp.json

0 commit comments

Comments
 (0)