Skip to content

Automated commit 'ISCCOMPLI-307: API doc for v3 delete campaign templ… #13

Automated commit 'ISCCOMPLI-307: API doc for v3 delete campaign templ…

Automated commit 'ISCCOMPLI-307: API doc for v3 delete campaign templ… #13

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