Skip to content

Commit

Permalink
Merge pull request #38 from sailpoint-oss/feature/combine-api-build
Browse files Browse the repository at this point in the history
updated script to update both v3 and beta for all pushes
  • Loading branch information
philip-ellis-sp authored Sep 14, 2023
2 parents 937a6b7 + ca2874f commit 6bbf155
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 77 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/build-dereferenced-beta-spec.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build Dereferenced IDN V3"
name: "Build Dereferenced IDN specs"

on:
push:
Expand All @@ -7,6 +7,8 @@ on:
paths:
- idn/sailpoint-api.v3.yaml
- idn/v3/**
- idn/sailpoint-api.beta.yaml
- idn/beta/**
workflow_dispatch:

jobs:
Expand All @@ -29,4 +31,8 @@ jobs:
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
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
44 changes: 0 additions & 44 deletions .github/workflows/build-postman-idn-v3.yml

This file was deleted.

0 comments on commit 6bbf155

Please sign in to comment.