Skip to content

Commit

Permalink
ci: document the implementation of openapi validation #279
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk committed Oct 28, 2024
1 parent 6379c74 commit fa9b3c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/main.yml

This file was deleted.

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
- name: 🧪 Validate OpenAPI definition
uses: char0n/swagger-editor-validate@v1
with:
definition-file: docs/openapi.json

0 comments on commit fa9b3c8

Please sign in to comment.