Skip to content

Update swagger-ui to 5.18.1 #671

Update swagger-ui to 5.18.1

Update swagger-ui to 5.18.1 #671

Workflow file for this run

name: spectral
on:
pull_request:
branches:
- main
- dotnet-vnext
- dotnet-nightly
workflow_dispatch:
permissions:
contents: read
jobs:
spectral:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Spectral
run: npm install -g @stoplight/spectral-cli
- name: Generate OpenAPI document
shell: pwsh
run: |
dotnet build ./src/API
- name: Run Spectral
run: spectral lint "./artifacts/openapi/*" --fail-severity warn --format github-actions