Skip to content

Commit 6562c73

Browse files
Update validate-openapi.yml
Add use of redocly config file to remove unnecessary warnings.
1 parent 2946d63 commit 6562c73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/validate-openapi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
- name: Install OpenAPI validator
1010
run: npm install -g @redocly/cli
1111
- name: Validate Alpaca API definitions
12-
run: redocly lint Swagger/AlpacaDeviceAPI_v1.yaml
12+
run: redocly lint --config Swagger/redoclyconfig.yaml Swagger/AlpacaDeviceAPI_v1.yaml
1313
- name: Validate Managment API
14-
run: redocly lint Swagger/AlpacaManagementAPI_v1.yaml
14+
run: redocly lint --config Swagger/redoclyconfig.yaml Swagger/AlpacaManagementAPI_v1.yaml
1515
env:
1616
NODE_NO_WARNINGS: 1

0 commit comments

Comments
 (0)