Merge pull request #69 from RReverser/default-to-example #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
validate_openapi: | |
runs-on: ubuntu-latest | |
name: Validate OpenAPI definitions | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install OpenAPI validator | |
run: npm install -g @redocly/cli | |
- name: Validate definitions | |
run: redocly lint Swagger/*.yaml | |
env: | |
NODE_NO_WARNINGS: 1 |