Skip to content

Commit 4c6ebd4

Browse files
authored
[TypeSpec] Upgrade to 0.50.0 (#26636)
1 parent ed84b11 commit 4c6ebd4

File tree

10 files changed

+156
-134
lines changed

10 files changed

+156
-134
lines changed

package-lock.json

+84-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"name": "azure-rest-api-specs",
33
"devDependencies": {
44
"@azure-tools/typespec-apiview": "0.4.4",
5-
"@azure-tools/typespec-autorest": "0.35.2",
6-
"@azure-tools/typespec-azure-core": "0.35.1",
7-
"@azure-tools/typespec-azure-resource-manager": "0.35.0",
8-
"@azure-tools/typespec-client-generator-core": "0.35.0",
9-
"@azure-tools/typespec-providerhub": "0.35.0",
10-
"@typespec/compiler": "0.49.0",
11-
"@typespec/http": "0.49.0",
12-
"@typespec/openapi": "0.49.0",
13-
"@typespec/rest": "0.49.0",
14-
"@typespec/versioning": "0.49.0",
5+
"@azure-tools/typespec-autorest": "0.36.0",
6+
"@azure-tools/typespec-azure-core": "0.36.0",
7+
"@azure-tools/typespec-azure-resource-manager": "0.36.0",
8+
"@azure-tools/typespec-client-generator-core": "0.36.0",
9+
"@azure-tools/typespec-providerhub": "0.36.0",
10+
"@typespec/compiler": "0.50.0",
11+
"@typespec/http": "0.50.0",
12+
"@typespec/openapi": "0.50.0",
13+
"@typespec/rest": "0.50.0",
14+
"@typespec/versioning": "0.50.0",
1515
"@azure/avocado": "^0.8.4",
1616
"azure-rest-api-specs-eng-tools": "file:eng/tools",
1717
"prettier": "~3.0.3",

specification/codesigning/data-plane/Azure.CodeSigning/preview/2023-06-15-preview/azure.codesigning.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@
382382
"type": "string",
383383
"description": "Enum describing allowed operation states.",
384384
"enum": [
385-
"InProgress",
385+
"NotStarted",
386+
"Running",
386387
"Succeeded",
387388
"Failed",
388389
"Canceled"
@@ -392,8 +393,13 @@
392393
"modelAsString": true,
393394
"values": [
394395
{
395-
"name": "InProgress",
396-
"value": "InProgress",
396+
"name": "NotStarted",
397+
"value": "NotStarted",
398+
"description": "The operation has not started."
399+
},
400+
{
401+
"name": "Running",
402+
"value": "Running",
397403
"description": "The operation is in progress."
398404
},
399405
{

specification/cognitiveservices/OpenAI.Inference/client.tsp

+8-6
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ using Azure.ClientGenerator.Core;
55

66
// Azure-specific long-running operations should be treated as implementation details that are wrapped into
77
// appropriately merged public surface.
8-
@@internal(Azure.OpenAI.beginAzureBatchImageGeneration);
9-
@@internal(Azure.OpenAI.getAzureBatchImageGenerationOperationStatus);
8+
@@access(Azure.OpenAI.beginAzureBatchImageGeneration, Access.internal);
9+
@@access(Azure.OpenAI.getAzureBatchImageGenerationOperationStatus,
10+
Access.internal
11+
);
1012

1113
// Azure-specific Chat Completions with extensions should be handled by clients as a conditional selection within the
1214
// shared Chat Completions route, with the selection gated by the presence or non-presence of additional child
1315
// configuration options on the request payload options model.
14-
@@internal(Azure.OpenAI.getChatCompletionsWithAzureExtensions);
16+
@@access(Azure.OpenAI.getChatCompletionsWithAzureExtensions, Access.internal);
1517

1618
// Some models from routes with suppressed visibility are still desired for custom public surface.
17-
@@include(Azure.OpenAI.ImageGenerationOptions);
18-
@@include(Azure.OpenAI.ImageLocation);
19-
@@include(Azure.OpenAI.ImageGenerations);
19+
@@usage(Azure.OpenAI.ImageGenerationOptions, Usage.input | Usage.output);
20+
@@usage(Azure.OpenAI.ImageLocation, Usage.input | Usage.output);
21+
@@usage(Azure.OpenAI.ImageGenerations, Usage.input | Usage.output);

0 commit comments

Comments
 (0)