Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the reportSummary info changes counter wrong? #136

Open
MartinX3 opened this issue May 6, 2024 · 0 comments
Open

Is the reportSummary info changes counter wrong? #136

MartinX3 opened this issue May 6, 2024 · 0 comments

Comments

@MartinX3
Copy link

MartinX3 commented May 6, 2024

Is the reportSummary wrong?
I see only one totalChanges and zero breakingChanges.
But in changes are two entries, one with breaking true.

Only openapi and version are changed.

The generated json report:

{
    "reportSummary": {
        "info": {
            "totalChanges": 1,
            "breakingChanges": 0
        }
    },
    "changes": [
        {
            "breaking": true,
            "change": 1,
            "changeText": "modified",
            "context": {
                "originalLine": 1,
                "originalColumn": 10,
                "newLine": 1,
                "newColumn": 10
            },
            "new": "3.1.0",
            "original": "3.0.0",
            "property": "openapi"
        },
        {
            "breaking": false,
            "change": 1,
            "changeText": "modified",
            "context": {
                "originalLine": 4,
                "originalColumn": 12,
                "newLine": 4,
                "newColumn": 12
            },
            "new": "2.0.0",
            "original": "1.0.0",
            "property": "version"
        }
    ],
    "commitDetails": {
        "commitHash": "99dba0",
        "message": "New: /tmp/BD0BC4E9F73F827E65C5B9A6E5DDB78E0AEBF486/f684e9f7-f0d5-48e8-ad70-bba8f6d57299, Original: /tmp/BD0BC4E9F73F827E65C5B9A6E5DDB78E0AEBF486/339ee64d-baaa-4ed1-b08f-faed436a39e5",
        "author": "",
        "authorEmail": "",
        "committed": "2024-05-06T16:12:59.046971454+02:00",
        "changeReport": null
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant