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

additionalProperties is marked as a breaking change, despite not actually changing

Open JMMarchant opened this issue 1 year ago • 1 comments
trafficstars

Got some odd behaviour when using openapi-changes: it's marking a bunch of "breaking changes" that... aren't:

    {
      "breaking": true,
      "change": 1,
      "changeHash": "UUczar1_t-6gBj4TobhlsYmjEd0-LFbxZGC-3oP5rlA=",
      "changeText": "modified",
      "context": {
        "newColumn": 33,
        "newLine": 501,
        "originalColumn": 33,
        "originalLine": 949
      },
      "new": "false",
      "original": "false",
      "property": "$ref"
    },

image

There are 20 of these in total, each related to the same element: "additionalProperties": false

JMMarchant avatar Sep 18 '24 11:09 JMMarchant

Can you provide a left and right sample to help me recreate this issue?

daveshanley avatar Feb 13 '25 23:02 daveshanley