Skip to content

feat: return outgoing-payment-with-spent-amounts from POST /outgoing-… #342

feat: return outgoing-payment-with-spent-amounts from POST /outgoing-…

feat: return outgoing-payment-with-spent-amounts from POST /outgoing-… #342

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