Skip to content

Commit

Permalink
feat: add openapi validate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk committed Oct 28, 2024
1 parent a7230f7 commit 6641de8
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 6641de8

Please sign in to comment.