Skip to content
17 changes: 17 additions & 0 deletions .github/workflows/breaking-changes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: detect-breaking-changes
on:
pull_request:
branches: [ "main" ]
jobs:
oasdiff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- run: git fetch --depth=1 origin ${{ github.base_ref }}

- uses: oasdiff/oasdiff-action/breaking@v0.0.40-beta.2
with:
base: 'origin/${{ github.base_ref }}:simple.yaml'
revision: 'HEAD:simple.yaml'
fail-on: WARN
3 changes: 3 additions & 0 deletions simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@
readOnly: true
name:
type: string
email:

Check failure on line 32 in simple.yaml

View workflow job for this annotation

GitHub Actions / oasdiff

new-required-request-property

in API POST /api/v1.0/groups added the new required request property `data/email`
type: string
required:
- name
- email
paths:
/api/v1.0/groups:
post:
Expand Down
Loading