Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 709 Bytes

1047.md

File metadata and controls

40 lines (35 loc) · 709 Bytes

1047 - XmsEnumChanged

Description: Checks whether the x-ms-enum 'name' or 'modelAsString' is changed.

Cause: This is considered a breaking change.

Example:

  1. x-ms-enum modelAsString is changed from 'false' to 'true'.

Old specification

{
  "type": "string",
  "description": "Required. Indicates the type of account.",
  "enum": [
    "Storage",
    "BlobStorage"
  ],
  "x-ms-enum": {
    "name": "Kind",
    "modelAsString": false
  }
}

New specification

{
  "type": "string",
  "description": "Required. Indicates the type of account.",
  "enum": [
    "Storage",
    "BlobStorage"
  ],
  "x-ms-enum": {
    "name": "Kind",
    "modelAsString": true
  }
}