Skip to content

Commit 145026d

Browse files
mikeharderarifibrahim4
authored andcommitted
[TypeSpec] Upgrade azure-core and autorest to 0.37.1 (#27037)
- [HealthInsights] Update generated swagger for x-ms-enum
1 parent 679039d commit 145026d

3 files changed

Lines changed: 39 additions & 13 deletions

File tree

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "azure-rest-api-specs",
33
"devDependencies": {
44
"@azure-tools/typespec-apiview": "0.4.4",
5-
"@azure-tools/typespec-autorest": "0.37.0",
6-
"@azure-tools/typespec-azure-core": "0.37.0",
5+
"@azure-tools/typespec-autorest": "0.37.1",
6+
"@azure-tools/typespec-azure-core": "0.37.1",
77
"@azure-tools/typespec-azure-resource-manager": "0.37.0",
88
"@azure-tools/typespec-client-generator-core": "0.37.0",
99
"@azure-tools/typespec-providerhub": "0.37.0",

specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,20 @@
110110
"rejected"
111111
],
112112
"x-ms-enum": {
113-
"modelAsString": false
113+
"name": "RepeatabilityResult",
114+
"modelAsString": false,
115+
"values": [
116+
{
117+
"name": "accepted",
118+
"value": "accepted",
119+
"description": "If the request was accepted and the server guarantees that the server state reflects a single execution of the operation."
120+
},
121+
{
122+
"name": "rejected",
123+
"value": "rejected",
124+
"description": "If the request was rejected because the combination of Repeatability-First-Sent and Repeatability-Request-ID were invalid\nor because the Repeatability-First-Sent value was outside the range of values held by the server."
125+
}
126+
]
114127
}
115128
}
116129
}
@@ -239,7 +252,20 @@
239252
"rejected"
240253
],
241254
"x-ms-enum": {
242-
"modelAsString": false
255+
"name": "RepeatabilityResult",
256+
"modelAsString": false,
257+
"values": [
258+
{
259+
"name": "accepted",
260+
"value": "accepted",
261+
"description": "If the request was accepted and the server guarantees that the server state reflects a single execution of the operation."
262+
},
263+
{
264+
"name": "rejected",
265+
"value": "rejected",
266+
"description": "If the request was rejected because the combination of Repeatability-First-Sent and Repeatability-Request-ID were invalid\nor because the Repeatability-First-Sent value was outside the range of values held by the server."
267+
}
268+
]
243269
}
244270
}
245271
}

0 commit comments

Comments
 (0)