Skip to content

ci: add openapi validation workflow (#278) #8

ci: add openapi validation workflow (#278)

ci: add openapi validation workflow (#278) #8

---
name: openapi-validate
on: [push]
jobs:
check-openapi-definition:
runs-on: ubuntu-latest
name: Swagger Editor Validator Remote
steps:
- name: 📄 Checkout the repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
- name: 🧪 Validate OpenAPI definition
uses: char0n/swagger-editor-validate@v1
with:
definition-file: docs/openapi.json