From a0e3818d6627a132bcc12e08f875ebe1e97134f8 Mon Sep 17 00:00:00 2001 From: prprmurakami0916 Date: Fri, 13 Sep 2024 14:59:45 +0900 Subject: [PATCH] =?UTF-8?q?postman=E3=82=B3=E3=83=AC=E3=82=AF=E3=82=B7?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E6=9B=B4=E6=96=B0=E7=94=A8wf=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update-postman-collection.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-postman-collection.yml b/.github/workflows/update-postman-collection.yml index a207e3c..6990eee 100644 --- a/.github/workflows/update-postman-collection.yml +++ b/.github/workflows/update-postman-collection.yml @@ -17,7 +17,7 @@ jobs: key: ${{ runner.os }}-nodemodule - name: set up tool if: steps.node_modules_cache_id.outputs.cache-hit != 'true' - run: npm install openapi-to-postmanv2 && npm install axios + run: npm install openapi-to-postmanv2@4.24.0 && npm install axios@1.7.7 update-accounting-postman-collection: runs-on: ubuntu-latest @@ -40,7 +40,7 @@ jobs: - name: remove urlencoded run: bash ./script/remove_urlencoded.sh - name: generate collection - run: node_modules/.bin/openapi2postmanv2 -s tmp/${{ env.product }}/oas.json -o tmp/${{ env.product }}/collection.json -p -O folderStrategy=Tags,requestParametersResolution=Example,optimizeConversion=false,stackLimit=50,enableOptionalParameters=false + run: node_modules/.bin/openapi2postmanv2 -s tmp/${{ env.product }}/oas.json -o tmp/${{ env.product }}/collection.json -p -O folderStrategy=Tags,parametersResolution=Example,stackLimit=50,enableOptionalParameters=false - name: update collection run: node script/update-postman-collection.js ${{ env.product }} ${{ env.collection-id }} ${{ env.postman-api-key }} @@ -63,6 +63,6 @@ jobs: - name: download schema run: curl -o tmp/${{ env.product }}/oas.json --create-dirs ${{ env.download-url }} - name: generate collection - run: node_modules/.bin/openapi2postmanv2 -s tmp/${{ env.product }}/oas.json -o tmp/${{ env.product }}/collection.json -p -O folderStrategy=Tags,requestParametersResolution=Example,optimizeConversion=false,stackLimit=50,enableOptionalParameters=false + run: node_modules/.bin/openapi2postmanv2 -s tmp/${{ env.product }}/oas.json -o tmp/${{ env.product }}/collection.json -p -O folderStrategy=Tags,parametersResolution=Example,stackLimit=50,enableOptionalParameters=false - name: update collection run: node script/update-postman-collection.js ${{ env.product }} ${{ env.collection-id }} ${{ env.postman-api-key }}