Skip to content

Commit 33fc25f

Browse files
authored
Fix Swagger Linting issues reported (#11462)
* Fixing linting issues according to report (task 8554751) * Adding a default response to operations
1 parent c3c87ff commit 33fc25f

File tree

1 file changed

+8
-2
lines changed
  • specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15

1 file changed

+8
-2
lines changed

specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
"schema": {
5858
"$ref": "#/definitions/OperationListResult"
5959
}
60+
},
61+
"default": {
62+
"description": "HTTP 404 (Not Found): The list of operations could not be found.",
63+
"schema": {
64+
"$ref": "#/definitions/CloudError"
65+
}
6066
}
6167
},
6268
"x-ms-pageable": {
@@ -1342,7 +1348,7 @@
13421348
"Gen2"
13431349
],
13441350
"x-ms-enum": {
1345-
"name": "Kind",
1351+
"name": "EnvironmentKind",
13461352
"modelAsString": true
13471353
}
13481354
},
@@ -1838,7 +1844,7 @@
18381844
"Microsoft.IoTHub"
18391845
],
18401846
"x-ms-enum": {
1841-
"name": "Kind",
1847+
"name": "EventSourceKind",
18421848
"modelAsString": true
18431849
}
18441850
},

0 commit comments

Comments
 (0)