Skip to content

Commit

Permalink
ci: add OpenApi validator
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk committed Oct 29, 2024
1 parent 780e8c4 commit a87e4e0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/openapi-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: 🧪 Validate OpenAPI definition
uses: char0n/swagger-editor-validate@fe35d650e9fc674505607519d0d12ab4de5d415d # v1
with:
definition-file: docs/openapi.json

0 comments on commit a87e4e0

Please sign in to comment.