Skip to content

Does not detect changes when making a field required in API #346

Closed
@mahnazEbrahimi

Description

@mahnazEbrahimi

If change "orientation" field to "required", no changes detected by the tool. Here is new and old api:

#Old API

"Chart": {
        "allOf": [
          {
            "$ref": "#/schemas/Visualization"
          },
          {
            "properties": {
              "orientation": {
                "enum": [
                  "VERTICAL",
                  "HORIZONTAL"
                ],
                "type": "string"
              }
            },
            "type": "object"
          }
        ],
        "type": "object"
      },

#New API

"Chart": {
        "allOf": [
          {
            "$ref": "#/schemas/Visualization"
          },
          {
            "properties": {
              "orientation": {
                "enum": [
                  "VERTICAL",
                  "HORIZONTAL"
                ],
                "type": "string"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "orientation"
        ],
        "type": "object"
      },

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions