Skip to content

Commit

Permalink
added http status codes back
Browse files Browse the repository at this point in the history
  • Loading branch information
tfitzmac committed Nov 7, 2016
1 parent f536ec7 commit 1c64b96
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 33 deletions.
8 changes: 4 additions & 4 deletions arm-resources/features/2015-12-01/swagger/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
],
"responses": {
"200": {
"description": "An array containing metadata for each feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"description": "OK - Returns an array containing metadata for each feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"schema": {
"$ref": "#/definitions/FeatureOperationsListResult"
}
Expand Down Expand Up @@ -88,7 +88,7 @@
],
"responses": {
"200": {
"description": "An array containing metadata for each feature in the resource provider. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"description": "OK - Returns an array containing metadata for each feature in the resource provider. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"schema": {
"$ref": "#/definitions/FeatureOperationsListResult"
}
Expand Down Expand Up @@ -130,7 +130,7 @@
],
"responses": {
"200": {
"description": "Returns metadata about the feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"description": "OK - Returns metadata about the feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"schema": {
"$ref": "#/definitions/FeatureResult"
}
Expand Down Expand Up @@ -169,7 +169,7 @@
],
"responses": {
"200": {
"description": "Returns metadata about the registerd feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"description": "OK - Returns metadata about the registerd feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.",
"schema": {
"$ref": "#/definitions/FeatureResult"
}
Expand Down
4 changes: 2 additions & 2 deletions arm-resources/links/2016-09-01/swagger/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
],
"responses": {
"200": {
"description": "Returns information about the resource link.",
"description": "OK - Returns information about the resource link.",
"schema": {
"$ref": "#/definitions/ResourceLink"
}
Expand Down Expand Up @@ -205,7 +205,7 @@
],
"responses": {
"200": {
"description": "Returns an array of links at the specified scope.",
"description": "OK - Returns an array of links at the specified scope.",
"schema": {
"$ref": "#/definitions/ResourceLinkResult"
}
Expand Down
22 changes: 11 additions & 11 deletions arm-resources/locks/2016-09-01/swagger/locks.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@
],
"responses": {
"200": {
"description": "Returns information about the lock.",
"description": "OK - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
},
"201": {
"description": "Returns information about the lock.",
"description": "Created - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
Expand Down Expand Up @@ -165,7 +165,7 @@
],
"responses": {
"200": {
"description": "Returns information about the lock.",
"description": "OK - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
Expand Down Expand Up @@ -247,13 +247,13 @@
],
"responses": {
"200": {
"description": "Returns information about the lock.",
"description": "OK - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
},
"201": {
"description": "Returns information about the lock.",
"description": "Created - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
Expand Down Expand Up @@ -366,13 +366,13 @@
],
"responses": {
"201": {
"description": "Returns information about the lock.",
"description": "Created - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
},
"200": {
"description": "Returns information about the lock.",
"description": "OK - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
Expand Down Expand Up @@ -433,7 +433,7 @@
],
"responses": {
"200": {
"description": "Returns information about the lock.",
"description": "OK - Returns information about the lock.",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
}
Expand Down Expand Up @@ -475,7 +475,7 @@
],
"responses": {
"200": {
"description": "Returns an array of resource locks.",
"description": "OK - Returns an array of resource locks.",
"schema": {
"$ref": "#/definitions/ManagementLockListResult"
}
Expand Down Expand Up @@ -551,7 +551,7 @@
],
"responses": {
"200": {
"description": "Returns an array of resource locks.",
"description": "OK - Returns an array of resource locks.",
"schema": {
"$ref": "#/definitions/ManagementLockListResult"
}
Expand Down Expand Up @@ -587,7 +587,7 @@
],
"responses": {
"200": {
"description": "Returns an array of resource locks.",
"description": "OK - Returns an array of resource locks.",
"schema": {
"$ref": "#/definitions/ManagementLockListResult"
}
Expand Down
24 changes: 12 additions & 12 deletions arm-resources/policy/2016-04-01/swagger/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
],
"responses": {
"200": {
"description": "Returns information about the deleted assignment.",
"description": "OK - Returns information about the deleted assignment.",
"schema": {
"$ref": "#/definitions/PolicyAssignment"
}
Expand Down Expand Up @@ -110,7 +110,7 @@
],
"responses": {
"201": {
"description": "Returns information about the new policy assignment.",
"description": "Created - Returns information about the new policy assignment.",
"schema": {
"$ref": "#/definitions/PolicyAssignment"
}
Expand Down Expand Up @@ -145,7 +145,7 @@
],
"responses": {
"200": {
"description": "Returns information about the policy assignment.",
"description": "OK - Returns information about the policy assignment.",
"schema": {
"$ref": "#/definitions/PolicyAssignment"
}
Expand Down Expand Up @@ -188,7 +188,7 @@
],
"responses": {
"200": {
"description": "Returns an array of policy assignments.",
"description": "OK - Returns an array of policy assignments.",
"schema": {
"$ref": "#/definitions/PolicyAssignmentListResult"
}
Expand Down Expand Up @@ -263,7 +263,7 @@
],
"responses": {
"200": {
"description": "Returns an array of policy assignments.",
"description": "OK - Returns an array of policy assignments.",
"schema": {
"$ref": "#/definitions/PolicyAssignmentListResult"
}
Expand Down Expand Up @@ -299,7 +299,7 @@
],
"responses": {
"200": {
"description": "Returns an array of policy assignments.",
"description": "OK - Returns an array of policy assignments.",
"schema": {
"$ref": "#/definitions/PolicyAssignmentListResult"
}
Expand Down Expand Up @@ -334,7 +334,7 @@
],
"responses": {
"200": {
"description": "Returns information about the policy assignment.",
"description": "OK - Returns information about the policy assignment.",
"schema": {
"$ref": "#/definitions/PolicyAssignment"
}
Expand Down Expand Up @@ -372,7 +372,7 @@
],
"responses": {
"201": {
"description": "Returns information about the policy assignment.",
"description": "Created - Returns information about the policy assignment.",
"schema": {
"$ref": "#/definitions/PolicyAssignment"
}
Expand Down Expand Up @@ -401,7 +401,7 @@
],
"responses": {
"200": {
"description": "Returns information about the policy assignment.",
"description": "OK - Returns information about the policy assignment.",
"schema": {
"$ref": "#/definitions/PolicyAssignment"
}
Expand Down Expand Up @@ -442,7 +442,7 @@
],
"responses": {
"201": {
"description": "Returns information about the policy definition.",
"description": "Created - Returns information about the policy definition.",
"schema": {
"$ref": "#/definitions/PolicyDefinition"
}
Expand Down Expand Up @@ -502,7 +502,7 @@
],
"responses": {
"200": {
"description": "Returns information about the policy definition.",
"description": "OK - Returns information about the policy definition.",
"schema": {
"$ref": "#/definitions/PolicyDefinition"
}
Expand Down Expand Up @@ -534,7 +534,7 @@
],
"responses": {
"200": {
"description": "Returns ana array of policy definitions.",
"description": "OK - Returns ana array of policy definitions.",
"schema": {
"$ref": "#/definitions/PolicyDefinitionListResult"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
],
"responses": {
"200": {
"description": "Returns an array of locations.",
"description": "OK - Returns an array of locations.",
"schema": {
"$ref": "#/definitions/LocationListResult"
}
Expand Down Expand Up @@ -88,7 +88,7 @@
],
"responses": {
"200": {
"description": "Return information about the subscription.",
"description": "OK - Returns information about the subscription.",
"schema": {
"$ref": "#/definitions/Subscription"
}
Expand All @@ -110,7 +110,7 @@
],
"responses": {
"200": {
"description": "Returns an array of subscriptions.",
"description": "OK - Returns an array of subscriptions.",
"schema": {
"$ref": "#/definitions/SubscriptionListResult"
}
Expand All @@ -135,7 +135,7 @@
],
"responses": {
"200": {
"description": "Returns an array of tenants.",
"description": "OK - Returns an array of tenants.",
"schema": {
"$ref": "#/definitions/TenantListResult"
}
Expand Down

0 comments on commit 1c64b96

Please sign in to comment.