Merge pull request #393 from fitztrev/optional-request-bodies #502
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: Lint OpenAPI specification | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
name: Lint OpenAPI spec | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: doc | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
package_json_file: doc/package.json | |
- run: pnpm spectral | |
- run: pnpm lint |