Skip to content

Commit

Permalink
bump typespec version to 0.63.0 (#5200)
Browse files Browse the repository at this point in the history
* bump typespec version

* fix issues and regen

* fix dep

* more regen

* bump to official version and regen
  • Loading branch information
ArcturusZhang authored Dec 16, 2024
1 parent 430c7b3 commit 31f2a98
Show file tree
Hide file tree
Showing 15 changed files with 4,269 additions and 4,162 deletions.
470 changes: 271 additions & 199 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"url": "https://github.com/Azure/autorest.csharp/issues"
},
"devDependencies": {
"@azure-tools/cadl-ranch-specs": "0.39.2",
"@azure-tools/typespec-client-generator-core": "0.48.6",
"@azure-tools/typespec-azure-resource-manager": "0.48.0",
"@azure-tools/cadl-ranch-specs": "0.39.6",
"@azure-tools/typespec-client-generator-core": "0.49.0",
"@azure-tools/typespec-azure-resource-manager": "0.49.0",
"@azure-tools/typespec-csharp": "file:src/TypeSpec.Extension/Emitter.Csharp",
"@azure-tools/unbranded-tests": "file:test/UnbrandedProjects",
"@microsoft.azure/autorest.testserver": "3.3.50",
Expand Down
5 changes: 1 addition & 4 deletions samples/AnomalyDetector/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ https://westus2.api.cognitive.microsoft.com).

@doc("Api Version")
@path
ApiVersion: APIVersion,
ApiVersion: Versions,
}
)
@doc("""
Expand All @@ -50,6 +50,3 @@ enum Versions {
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v1_1: "v1.1",
}

@knownValues(Versions)
scalar APIVersion extends string;
2 changes: 1 addition & 1 deletion samples/AnomalyDetector/multivariate/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ model ModelList {
maxCount: int32;

@doc("The link to fetch more models.")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down
2 changes: 1 addition & 1 deletion samples/AnomalyDetector/src/Generated/Multivariate.cs

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

2 changes: 1 addition & 1 deletion samples/AnomalyDetector/src/Generated/Univariate.cs

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

Loading

0 comments on commit 31f2a98

Please sign in to comment.