Tufin / oasdiff

OpenAPI Diff and Breaking Changes
https://www.oasdiff.com
Apache License 2.0
761 stars 63 forks source link

Support OAS 3.1.0 #606

Closed alex-statsig closed 2 months ago

alex-statsig commented 2 months ago

I'd like to use this library to detect breaking changes in a OAS v3.1.0 schema. Currently, it fails to parse the schema due to the breaking change of "exclusiveMinimum" being a number instead of a boolean in v3.1.0.

I'm not sure if "exclusiveMinimum" is the only thing unsupported for v3.1.0 (ex. type can be an array instead of a single value, but that seems to pass parsing already), but in my particular case its the only thing blocking parsing.

Curious generally if there's plans to support v3.1.0, or if we can start with a small patch around this particular breaking change (since it seems fairly easy to support both versions of this particular field at least)

reuvenharrison commented 2 months ago

Please see https://github.com/Tufin/oasdiff/issues/52