Create validate-swagger.yml

This commit is contained in:
Jannik 2020-12-17 14:39:24 +01:00 committed by GitHub
parent d6b546dfa2
commit 793ecffe48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
.github/workflows/validate-swagger.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Validate API swagger documentation
on: [push, pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate openAPI
id: validate
uses: mbowman100/swagger-validator-action@2.0
with:
files: docs/tdlight-api-openapi.yaml