Description: Checks whether an existing operation with deprecated: true from a path is removed from the previous specification.
Cause: This is considered a change but not necessarily breaking. Removing deprecated operations can be a part of planned maintenance.
Example: Deprecated operation get from Path /subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1/subResource1 is being removed.
Old specification
{
"swagger": "2.0",
"info": {
"title": "swagger",
"description": "The Azure Management API.",
"version": "2016-12-01",
...
...
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1": {
"get": {
...
},
"put": {
...
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1/subResource1": {
"get": {
...
"deprecated": true
},
"delete": {
...
}
}
...
... New specification
{
"swagger": "2.0",
"info": {
"title": "swagger",
"description": "The Azure Management API.",
"version": "2016-12-01",
...
...
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1": {
"get": {
...
},
"put": {
...
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1/subResource1": {
"post": {
...
},
"delete": {
...
}
}
...
...