Description: Checks whether any new response code is added from the previous specification.
Cause: This is considered a breaking change.
Example: Response code 204
is added to existing delete
operation in the new version.
Old specification
{
"swagger": "2.0",
"info": {
"title": "swagger",
"description": "The Azure Management API.",
"version": "2016-12-01",
...
...
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1/{a}": {
"delete": {
...
"responses": {
"200" : { ... }
}
...
}
}
...
...
New specification
{
"swagger": "2.0",
"info": {
"title": "swagger",
"description": "The Azure Management API.",
"version": "2016-12-01",
...
...
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/resource1/{a}": {
"delete": {
...
"responses": {
"200" : { ... },
"204" : { ... }
}
...
}
}
...
...