Skip to content

Commit

Permalink
update azure-tools and typespec to v0.42.0 and 0.56.0
Browse files Browse the repository at this point in the history
* ManagedServiceIdentity was deprecated and replaced with ManagedServiceIdentityProperty
* code generation was run again, removing version properties which may
  have been committed by accident

Signed-off-by: Michael Shen <[email protected]>
  • Loading branch information
mjlshen committed May 13, 2024
1 parent 591be84 commit 8aa3df2
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 730 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm ci

# Install the tsp cli
# pinned to the last working version combination
npm install -g @typespec/compiler@0.55.0
npm install -g @typespec/compiler@0.56.0

# Install azure/oav for validation of openapi and swagger example generation
# https://github.com/Azure/oav
Expand Down
2 changes: 1 addition & 1 deletion api/redhatopenshift/HcpCluster/hcpCluster-models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ model HcpOpenShiftClusterResource
@segment("hcpOpenShiftClusters")
name: string;

...ManagedServiceIdentity;
...ManagedServiceIdentityProperty;
}

// The NodePool needs to be TrackedResource for the following reasons:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2162,24 +2162,6 @@
}
}
},
"Versions": {
"type": "string",
"description": "The available API versions.",
"enum": [
"2024-06-10-preview"
],
"x-ms-enum": {
"name": "Versions",
"modelAsString": true,
"values": [
{
"name": "v2024_06_10_preview",
"value": "2024-06-10-preview",
"description": "2024-06-10-preview version"
}
]
}
},
"Visibility": {
"type": "string",
"description": "The visibility of the API server",
Expand Down
15 changes: 0 additions & 15 deletions internal/api/v20240610preview/generated_constants.go

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

Loading

0 comments on commit 8aa3df2

Please sign in to comment.