This is a github action to help teams in Entur adhere to our API guidelines using spectral to lint the OpenAPI specs of the service
- Your openAPI 3.x.x specs in the folder
./specs
λ amazing-app ❯ tree
.
├── README.md
├── specs
└── spec.json
└── .github
└── workflows
└── ci.yml#ci.yml
name: CI
on:
pull_request:
jobs:
Openapi-lint:
uses: entur/gha-api/.github/workflows/lint.yml@v3
secrets: inherit