Skip to content

Commit b5851f0

Browse files
authored
[Hub Generated] Review request for Microsoft.Insights to add version stable/2019-03-01 (#12232)
* Fixed swagger validations for api version 2019 * reverted error response change and suppress * removed redundant error details * renamed suppression rule * fixed suppression
1 parent da7d451 commit b5851f0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
},
3838
"paths": {
39-
"/{resourceUri}/providers/microsoft.insights/metricBaselines": {
39+
"/{resourceUri}/providers/Microsoft.Insights/metricBaselines": {
4040
"get": {
4141
"tags": [
4242
"Baseline",

specification/monitor/resource-manager/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,9 @@ directive:
618618
from: dataCollectionRuleAssociations_API.json
619619
where: $.paths
620620
reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)'
621+
- suppress: R4007
622+
from: metricBaselines_API.json
623+
reason: 'Updating the error response to the new format would be a breaking change.'
621624
```
622625

623626
### Tag: profile-hybrid-2019-03-01

0 commit comments

Comments
 (0)