Skip to content

Update OpenAPI 3.1 Descriptions #3081

Update OpenAPI 3.1 Descriptions

Update OpenAPI 3.1 Descriptions #3081

Workflow file for this run

---
name: Lint OpenAPI Descriptions
on:
- push
jobs:
build:
name: Lint OpenAPI Descriptions
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Yaml Lint
uses: karancode/[email protected]
with:
yamllint_file_or_dir: 'descriptions/**/*.yaml'
yamllint_strict: false
yamllint_config_filepath: '.yamllint-config.yml'
yamllint_comment: true
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- name: JSON Lint
run: npm run lint
- name: OpenAPI Lint
uses: mattpage/[email protected]
with:
entrypoints: 'descriptions/**/*.yaml'
config: '.redocly.yml'