Skip to content

Commit b959f25

Browse files
mikeharderzman-ms
authored andcommitted
[TypeSpec] Upgrade autorest to 0.35.2 (#26502)
- [AzureOpenAI] Update generated swagger - [EventGrid] Update generated swagger
1 parent 1293d35 commit b959f25

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "azure-rest-api-specs",
33
"devDependencies": {
44
"@azure-tools/typespec-apiview": "0.4.4",
5-
"@azure-tools/typespec-autorest": "0.35.1",
5+
"@azure-tools/typespec-autorest": "0.35.2",
66
"@azure-tools/typespec-azure-core": "0.35.1",
77
"@azure-tools/typespec-azure-resource-manager": "0.35.0",
88
"@azure-tools/typespec-client-generator-core": "0.35.0",

specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-09-01-preview/generated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
}
463463
},
464464
"x-ms-paths": {
465-
"/deployments/{deploymentId}/audio/transcriptions?api-version={apiVersion}": {
465+
"/deployments/{deploymentId}/audio/transcriptions?_overload=getAudioTranscriptionAsResponseObject": {
466466
"post": {
467467
"operationId": "GetAudioTranscriptionAsResponseObject",
468468
"description": "Gets transcribed text and associated metadata from provided spoken audio data. Audio will be transcribed in the\nwritten language corresponding to the language it was spoken in.",
@@ -526,7 +526,7 @@
526526
}
527527
}
528528
},
529-
"/deployments/{deploymentId}/audio/translations?api-version={apiVersion}": {
529+
"/deployments/{deploymentId}/audio/translations?_overload=getAudioTranslationAsResponseObject": {
530530
"post": {
531531
"operationId": "GetAudioTranslationAsResponseObject",
532532
"description": "Gets English language transcribed text and associated metadata from provided spoken audio data.",

specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
}
451451
},
452452
"x-ms-paths": {
453-
"/topics/{topicName}:publish?api-version={apiVersion}": {
453+
"/topics/{topicName}:publish?_overload=publishCloudEvents": {
454454
"post": {
455455
"operationId": "PublishCloudEvents",
456456
"description": "Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. ",

specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-10-01-preview/EventGrid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
}
456456
},
457457
"x-ms-paths": {
458-
"/topics/{topicName}:publish?api-version={apiVersion}": {
458+
"/topics/{topicName}:publish?_overload=publishCloudEvents": {
459459
"post": {
460460
"operationId": "PublishCloudEvents",
461461
"description": "Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. ",

0 commit comments

Comments
 (0)