Skip to content

spec: add user and subject information to grant request/response #356

spec: add user and subject information to grant request/response

spec: add user and subject information to grant request/response #356

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