mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-07 20:37:44 +00:00
added scripts to upload postman collection
This commit is contained in:
@@ -28,4 +28,5 @@ jobs:
|
||||
swagger-cli bundle --dereference idn/sailpoint-api.beta.yaml -t yaml -o dereferenced/deref-sailpoint-api.beta.yaml
|
||||
openapi2postmanv2 -s dereferenced/deref-sailpoint-api.beta.yaml -o postman/collections/sailpoint-api-beta.json -p -O folderStrategy=Tags,requestParametersResolution=Schema,exampleParametersResolution=Schema,disableOptionalParameters=true,optimizeConversion=false,stackLimit=50,alwaysInheritAuthentication=true
|
||||
node postman-script/modify-collection.js postman/collections/sailpoint-api-beta.json
|
||||
node postman-script/upload-script.js ${{secrets.POSTMAN_API_KEY}} Beta
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
||||
@@ -28,5 +28,5 @@ jobs:
|
||||
swagger-cli bundle --dereference idn/sailpoint-api.v3.yaml -t yaml -o dereferenced/deref-sailpoint-api.v3.yaml
|
||||
openapi2postmanv2 -s dereferenced/deref-sailpoint-api.v3.yaml -o postman/collections/sailpoint-api-v3.json -p -O folderStrategy=Tags,requestParametersResolution=Schema,exampleParametersResolution=Schema,disableOptionalParameters=true,optimizeConversion=false,stackLimit=50,alwaysInheritAuthentication=true
|
||||
node postman-script/modify-collection.js postman/collections/sailpoint-api-v3.json
|
||||
|
||||
node postman-script/upload-script.js ${{secrets.POSTMAN_API_KEY}} V3
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
||||
Reference in New Issue
Block a user