Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: OpenAPI Sync Check

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
check-openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml pydantic numpy

- name: Verify OpenAPI sync
run: |
python scripts/generate_openapi.py --check
Loading