Skip to content

Commit

Permalink
added new APIs for postman
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-ellis-sp committed Aug 7, 2024
1 parent c8016e1 commit db2ef01
Show file tree
Hide file tree
Showing 6 changed files with 960,433 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/build-dereferenced-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
openapi2postmanv2 -s dereferenced/deref-sailpoint-api.nerm.yaml -o postman/collections/sailpoint-api-nerm.json -p -c postman-script/openapi2postman-config.json
swagger-cli bundle --dereference idn/sailpoint-api.v3.yaml -t json -o dereferenced/deref-sailpoint-api.v3.json
swagger-cli bundle --dereference idn/sailpoint-api.beta.yaml -t json -o dereferenced/deref-sailpoint-api.beta.json
swagger-cli bundle --dereference idn/sailpoint-api.v2024.yaml -t yaml -o dereferenced/deref-sailpoint-api.v2024.yaml
openapi2postmanv2 -s dereferenced/deref-sailpoint-api.v2024.yaml -o postman/collections/sailpoint-api-v2024.json -p -c postman-script/openapi2postman-config.json
node postman-script/modify-collection.js postman/collections/sailpoint-api-v2024.json
swagger-cli bundle --dereference idn/sailpoint-api.v2024.yaml -t json -o dereferenced/deref-sailpoint-api.v2024.json
- uses: stefanzweifel/git-auto-commit-action@v4

push_v3_specs_to_postman:
Expand All @@ -57,6 +61,23 @@ jobs:
npm ci
npm run v3
push_v2024_specs_to_postman:
runs-on: ubuntu-latest
needs: [dereference_spec]
steps:
- name: Checkout PR branch
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Dereference API Specification and build Postman collection
run: |
cd postman-script/update-by-folder-ts
echo "POSTMAN_API_KEY=${{ secrets.POSTMAN_API_KEY }}" > .env
npm ci
npm run v2024
push_beta_specs_to_postman:
runs-on: ubuntu-latest
needs: [dereference_spec]
Expand Down
375,306 changes: 375,306 additions & 0 deletions dereferenced/deref-sailpoint-api.v2024.json

Large diffs are not rendered by default.

Loading

0 comments on commit db2ef01

Please sign in to comment.