Skip to content

chore: change prefix for base url #310

chore: change prefix for base url

chore: change prefix for base url #310

Workflow file for this run

name: check-specs
on:
pull_request:
branches:
- main
jobs:
check-specs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Cache node modules
id: cache-node
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('.github/workflows/check-specs.yml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm install -g [email protected] @openapitools/[email protected]
- name: Check Formatting
run: prettier --check .
- name: Check Spec (Topsort Endpoints v1)
run: openapi-generator-cli validate -i topsort-api-v1.yml
- name: Check Spec (Topsort Endpoints v2)
run: openapi-generator-cli validate -i topsort-api-v2.yml
- name: Check Spec (Catalog CRUD API)
run: openapi-generator-cli validate -i catalog-crud-api.yml
- name: Check Spec (Catalog Service)
run: openapi-generator-cli validate -i topsort-catalog-service.yml