Merge pull request #515 from openreferral/3.1_rtd_changes #238
Workflow file for this run
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
name: Test Examples (OpenAPI) | |
on: [push, pull_request] | |
jobs: | |
test_examples_openapi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- run: npm install -g openapi-examples-validator | |
- name: Validate the OpenAPI Schema | |
run: openapi-examples-validator -m openapi-examples-map.json schema/openapi.json | |
- name: Validate the OpenAPI 3.0 compatible compiled schema | |
run: openapi-examples-validator -m openapi-examples-map.json docs/extras/openapi30.json |