Skip to content

Commit

Permalink
Update GitHub Action to create dereferenced NERM API
Browse files Browse the repository at this point in the history
We need to create a dereferenced NERM API that can then be downloaded from the NERM API page in developer.sailpoint.com
  • Loading branch information
jordan-violet-sp authored Oct 9, 2023
1 parent 3cef2dc commit a490a89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-dereferenced-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- idn/v3/**
- idn/sailpoint-api.beta.yaml
- idn/beta/**
- nerm/**
workflow_dispatch:

jobs:
Expand All @@ -35,4 +36,8 @@ jobs:
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
swagger-cli bundle --dereference nerm/openapi.yaml -t yaml -o dereferenced/deref-nerm-api.yaml
openapi2postmanv2 -s dereferenced/deref-nerm-api.yaml -o postman/collections/nerm-api.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}} Nerm
- uses: stefanzweifel/git-auto-commit-action@v4

0 comments on commit a490a89

Please sign in to comment.