openapi-diff icon indicating copy to clipboard operation
openapi-diff copied to clipboard

incompatible api diff result when one of property in model becomes not required

Open lbxxxxx2a opened this issue 1 year ago • 2 comments

if in new api version some property is not required anymore, new api is recognized as not compatible

old api schema definition:

"SomeDto": {
        "required": [
          "prop1",
          "prop2",
          "prop3"
        ], ...

new api schema definition:

"SomeDto": {
        "required": [
          "prop1"
        ], ...

lbxxxxx2a avatar Jun 22 '23 10:06 lbxxxxx2a

same issue here

typekpb avatar Oct 30 '23 13:10 typekpb

@lbxxxxx2a @typekpb Could you please provide a minimal set of OpenAPI specifications to demonstrate the issue?

joschi avatar Dec 16 '23 22:12 joschi