Skip to content

False positive: Adding a subschema to a oneOf is not breaking #235

@adamchalmers

Description

@adamchalmers

I have two API schema:
api.json
old_api.json

The only difference between them is adding a new subschema of a oneOf:
Image

As far as I understand, this should be considered a purely additive change, not breaking. But openapi-changes considers this a huge change with many breaks:

Image

This is using openapi-changes version: 0.0.88 | compiled: Tue, 23 Sep 2025 19:19:14 UTC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions