Skip to content

Automated commit 'Merge pull request #1467 from sailpoint/fix/updateS… #8

Automated commit 'Merge pull request #1467 from sailpoint/fix/updateS…

Automated commit 'Merge pull request #1467 from sailpoint/fix/updateS… #8

name: "Build Dereferenced IDN JSON Files"
on:
push:
branches:
- main
paths:
- idn/sailpoint-api.v3.yaml
- idn/v3/**
- idn/sailpoint-api.beta.yaml
- idn/beta/**
workflow_dispatch:
jobs:
dereference_spec:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install swagger-cli and postman
run: |
npm install -g swagger-cli
- name: Dereference API Specification files
run: |
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
- uses: stefanzweifel/git-auto-commit-action@v4