Skip to content

Commit 97165f2

Browse files
authored
Remove workaround for common-types (Azure#37875)
1 parent fd8cf08 commit 97165f2

File tree

1 file changed

+0
-11
lines changed
  • sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src

1 file changed

+0
-11
lines changed

sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/autorest.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ rename-rules:
4848
Etag: ETag|etag
4949

5050
directive:
51-
# The core library Azure.ResourceManager has been generated when the subscriptionId was not marked as an uuid.
52-
# v5 of common-types defines `subscriptionId` as `guid` format and needs to be removed in order to generate valid code.
53-
- from: types.json
54-
where: $.parameters.SubscriptionIdParameter
55-
transform: >
56-
delete $['format'];
5751
- from: networkcloud.json
5852
where: $.definitions
5953
transform:
@@ -72,11 +66,6 @@ directive:
7266
'principalId',
7367
'applicationId'
7468
];
75-
# CodeGen don't support some definitions in v4 & v5 common types, here is an issue https://github.com/Azure/autorest.csharp/issues/3537 opened to fix this problem
76-
- from: v5/types.json
77-
where: $.definitions
78-
transform: >
79-
delete $.Resource.properties.id.format;
8069
# `delete` transformations are to remove APIs/methods that result in Access Denied for end users.
8170
- remove-operation: BareMetalMachines_CreateOrUpdate
8271
- remove-operation: BareMetalMachines_Delete

0 commit comments

Comments
 (0)