Skip to content

feat: Added restricted spender user IDs field in POST categories APIs… #1958

feat: Added restricted spender user IDs field in POST categories APIs…

feat: Added restricted spender user IDs field in POST categories APIs… #1958

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: bundle openAPI yaml file
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run:
name: openapi bundler
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: npm install -g @redocly/[email protected]
- name: Update authorization docs
run: openapi bundle -o reference/authorization.yaml src/authorization/openapi.yaml
- name: Update spender docs
run: openapi bundle -o reference/spender.yaml src/spender/openapi.yaml
- name: Update approver docs
run: openapi bundle -o reference/approver.yaml src/approver/openapi.yaml
- name: Update common docs
run: openapi bundle -o reference/common.yaml src/common/openapi.yaml
- name: Update admin docs
run: openapi bundle -o reference/admin.yaml src/admin/openapi.yaml
- name: Update hod docs
run: openapi bundle -o reference/hod.yaml src/hod/openapi.yaml
- name: Update hop docs
run: openapi bundle -o reference/hop.yaml src/hop/openapi.yaml
- name: Update accountant docs
run: openapi bundle -o reference/accountant.yaml src/accountant/openapi.yaml
- name: Update super_admin docs
run: openapi bundle -o reference/super_admin.yaml src/super_admin/openapi.yaml
- name: Commit changes
uses: EndBug/add-and-commit@v6
with:
author_name: Siva
author_email: [email protected]
message: "Auto generate API docs"
add: "./reference"
env:
GITHUB_TOKEN: ${{ secrets.GIHUB_ACCESS_TOKEN }}