Description: Checks whether the x-ms-enum 'name' or 'modelAsString' is changed.
Cause: This is considered a breaking change.
Example:
- 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
}
}