Skip to content

Commit

Permalink
add spec linting
Browse files Browse the repository at this point in the history
  • Loading branch information
srAtKong committed Oct 21, 2024
1 parent efdec9c commit a608e7e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-customer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
deck-version: '1.40.3'
wrapper: false

# API Spec linting
- name: Validate specification
run: inso lint spec sales/customer/openapi.yaml

- name: Install inso
run: brew install inso

- name: Generate Kong Declarative Configs from Spec
run: |
deck file openapi2kong --spec sales/customer/openapi.yaml \
Expand Down

0 comments on commit a608e7e

Please sign in to comment.