Skip to content

Commit ec92512

Browse files
committed
Added check for open api errors as part of prechecks in pipeline
1 parent 5cc0943 commit ec92512

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
git submodule update --init --recursive
4343
- template: ./common-templates/install-tools.yml
4444
- template: ./common-templates/security-pre-checks.yml
45+
46+
- template: ./generation-templates/check-openapi-errors.yml
4547

4648
- template: ./generation-templates/authentication-module.yml
4749
parameters:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT License.
3+
steps:
4+
- task: PowerShell@2
5+
displayName: Check for OpenAPI Errors
6+
inputs:
7+
targetType: inline
8+
pwsh: true
9+
script: |
10+
. $(System.DefaultWorkingDirectory)/tools/OpenApiInfoGenerator/OpenApiInfoGenerator/OpenApiChanges.ps1

0 commit comments

Comments
 (0)