mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-26 22:16:51 +01:00
Create validate-swagger.yml
This commit is contained in:
parent
d6b546dfa2
commit
793ecffe48
13
.github/workflows/validate-swagger.yml
vendored
Normal file
13
.github/workflows/validate-swagger.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user