Skip to content

Unable to skip schema BC check for min and max properties #852

@jdesrochers-atpco

Description

@jdesrochers-atpco

When updating minProperties (increasing value) or maxProperties (decreasing value) of an attribute, there is no option in the backward compatibility checks to make the spec compatible.

Breaking example:
Before

        stuff:
          type: object
          minProperties: 1
          maxProperties: 10
          additionalProperties:
            type: string

After

        stuff:
          type: object
          minProperties: 5
          maxProperties: 10
          additionalProperties:
            type: string

Cannot be bypassed.

we should have a BC configuration property to manage this situation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions