Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TypeSpec] Upgrade to 0.50.0 #26636

Merged
merged 22 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f5c49d5
Update deps and pipelines to "next"
mikeharder Oct 12, 2023
7c815c2
[typespec-next] React to Azure/typespec-azure#3586 (#26209)
mikeharder Oct 13, 2023
536f3e1
Merge branch 'main' into typespec-next
mikeharder Oct 19, 2023
a7d352a
React to azure/typespec-azure#3692
mikeharder Oct 19, 2023
c5ff4fc
Merge branch 'main' into typespec-next
mikeharder Oct 30, 2023
a5b9504
[typespec-next] Pin packages to LKG (#26476)
mikeharder Oct 31, 2023
9d7a51b
[typespec-next] Upgrade packages to latest working (#26477)
mikeharder Oct 31, 2023
f10569d
[typespec-next] Upgrade compiler to 0.50.0-dev.10
mikeharder Oct 31, 2023
294c74e
Merge branch 'main' into typespec-next
mikeharder Oct 31, 2023
8e9c381
Merge branch 'main' into typespec-next
mikeharder Nov 1, 2023
6ad5914
[typespec-next] Unpin compiler
mikeharder Nov 1, 2023
0ce78c8
[typespec-next] Pin compiler to 0.50.0-dev.10 (#26519)
mikeharder Nov 2, 2023
3ae11f0
[typespec-next] Unpin compiler (#26535)
mikeharder Nov 2, 2023
4dc7165
Merge branch 'main' into typespec-next
mikeharder Nov 7, 2023
f1c5ecc
Pin typespec-azure-core to 0.36.0-dev.7
mikeharder Nov 7, 2023
42db916
Merge branch 'main' into typespec-next
mikeharder Nov 7, 2023
e5a3a08
Upgrade typespec-azure-core to PR fixing crash
mikeharder Nov 7, 2023
798c407
Merge branch 'main' into typespec-next
mikeharder Nov 9, 2023
4e14218
Revert "Update deps and pipelines to "next""
mikeharder Nov 9, 2023
ac0117c
Update packages
mikeharder Nov 9, 2023
37a10a3
[JobRouter] Convert "@internal" to "@access"
mikeharder Nov 9, 2023
d7d3d34
Disable new linter rule in specs with violations
mikeharder Nov 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 84 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.4",
"@azure-tools/typespec-autorest": "0.35.2",
"@azure-tools/typespec-azure-core": "0.35.1",
"@azure-tools/typespec-azure-resource-manager": "0.35.0",
"@azure-tools/typespec-client-generator-core": "0.35.0",
"@azure-tools/typespec-providerhub": "0.35.0",
"@typespec/compiler": "0.49.0",
"@typespec/http": "0.49.0",
"@typespec/openapi": "0.49.0",
"@typespec/rest": "0.49.0",
"@typespec/versioning": "0.49.0",
"@azure-tools/typespec-autorest": "0.36.0",
"@azure-tools/typespec-azure-core": "0.36.0",
"@azure-tools/typespec-azure-resource-manager": "0.36.0",
"@azure-tools/typespec-client-generator-core": "0.36.0",
"@azure-tools/typespec-providerhub": "0.36.0",
"@typespec/compiler": "0.50.0",
"@typespec/http": "0.50.0",
"@typespec/openapi": "0.50.0",
"@typespec/rest": "0.50.0",
"@typespec/versioning": "0.50.0",
"@azure/avocado": "^0.8.4",
"azure-rest-api-specs-eng-tools": "file:eng/tools",
"prettier": "~3.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@
"type": "string",
"description": "Enum describing allowed operation states.",
"enum": [
"InProgress",
"NotStarted",
"Running",
"Succeeded",
"Failed",
"Canceled"
Expand All @@ -392,8 +393,13 @@
"modelAsString": true,
"values": [
{
"name": "InProgress",
"value": "InProgress",
"name": "NotStarted",
"value": "NotStarted",
"description": "The operation has not started."
},
{
"name": "Running",
"value": "Running",
"description": "The operation is in progress."
},
{
Expand Down
14 changes: 8 additions & 6 deletions specification/cognitiveservices/OpenAI.Inference/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ using Azure.ClientGenerator.Core;

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

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

// Some models from routes with suppressed visibility are still desired for custom public surface.
@@include(Azure.OpenAI.ImageGenerationOptions);
@@include(Azure.OpenAI.ImageLocation);
@@include(Azure.OpenAI.ImageGenerations);
@@usage(Azure.OpenAI.ImageGenerationOptions, Usage.input | Usage.output);
@@usage(Azure.OpenAI.ImageLocation, Usage.input | Usage.output);
@@usage(Azure.OpenAI.ImageGenerations, Usage.input | Usage.output);
Loading