You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
optional parameters being added are not breaking, this was reported in openapi-changes pb33f/openapi-changes#87
Signed-off-by: quobix <dave@quobix.com>
optional parameters being added are not breaking, this was reported in openapi-changes pb33f/openapi-changes#87
Signed-off-by: quobix <dave@quobix.com>
Hi,
adding optional query parameters, i.e. required: false is considered as breaking change, but it shouldn't.
Here is a minimal example to reproduce:
original.yaml
changed.yaml
output:
openapi-changes version: 0.0.52 | compiled: Fri, 05 Jan 2024 13:54:26 UTC
SPEC extracted 2 commits from history
DONE completed
└─┬Paths
└─┬/api/foo
└──[+] parameters (5:7)❌
Date: 01/15/24 | Commit: New: ./changed.yaml, Original: ./original.yaml
Document Element | Total Changes | Breaking Changes
paths | 1 | 1
❌ 1 Breaking changes out of 1
INFO Additions: 1
INFO Breaking Additions: 1
ERROR breaking changes discovered
Error: breaking changes discovered
The text was updated successfully, but these errors were encountered: