Skip to content

Merge branch 'nl-add-wallet-address-to-requests' into integration #206

Merge branch 'nl-add-wallet-address-to-requests' into integration

Merge branch 'nl-add-wallet-address-to-requests' into integration #206

name: OpenAPI Validator
on:
push:
branches:
- main
- integration
paths:
- openapi/**
pull_request:
branches:
- main
paths:
- openapi/**
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Lint Open API specs
run: |
npx prettier --check openapi/*-server.yaml
- name: AsyncAPI extension
run: |
echo "{\"extends\":[\"spectral:oas\",\"spectral:asyncapi\"]}" >> .spectral.json
- name: Validate Open API specs
run: |
npx @stoplight/spectral-cli lint openapi/*-server.yaml