Skip to content

Commit cab2542

Browse files
Merge pull request #3050 from Azure/ant/v2_enabl
Re-enable disabled schema generation with v2 plugin
2 parents ae415a1 + a4b7e96 commit cab2542

32 files changed

+10337
-5387
lines changed

generator/autogenlist.ts

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@ const disabledProviders: AutoGenConfig[] = [
3636
namespace: 'Microsoft.Cdn',
3737
useAutorestV2: true,
3838
},
39-
{
40-
// Disabled until the enum mismatch in the swagger spec is fixed
41-
basePath: 'developerhub/resource-manager',
42-
namespace: 'Microsoft.DevHub',
43-
disabledForAutogen: true,
44-
},
45-
{
46-
// Disabled as the swagger spec contains a type ("DateTimeRfc1123") which autorest is unable to parse: https://github.com/Azure/autorest.azureresourceschema/issues/71
47-
basePath: 'domainservices/resource-manager',
48-
namespace: 'Microsoft.AAD',
49-
disabledForAutogen: true,
50-
},
5139
{
5240
basePath: 'dns/resource-manager',
5341
namespace: 'Microsoft.Network',
@@ -60,12 +48,6 @@ const disabledProviders: AutoGenConfig[] = [
6048
disabledForAutogen: true,
6149
suffix: 'privateDns',
6250
},
63-
{
64-
// Disabled as the swagger spec contains a bug (enum mismatch)
65-
basePath: 'edgeorderpartner/resource-manager',
66-
namespace: 'Microsoft.EdgeOrderPartner',
67-
disabledForAutogen: true,
68-
},
6951
{
7052
basePath: 'logic/resource-manager',
7153
namespace: 'Microsoft.Logic',
@@ -91,24 +73,6 @@ const disabledProviders: AutoGenConfig[] = [
9173
namespace: 'Microsoft.Media',
9274
disabledForAutogen: true,
9375
},
94-
{
95-
// Disabled as the swagger spec contains a bug (enum mismatch)
96-
basePath: 'servicefabricmesh/resource-manager',
97-
namespace: 'Microsoft.ServiceFabricMesh',
98-
disabledForAutogen: true,
99-
},
100-
{
101-
// Disabled as the swagger spec contains a bug (enum mismatch - missing: ProvisioningStateEnum)
102-
basePath: 'operationalinsights/resource-manager',
103-
namespace: 'Microsoft.OperationalInsights',
104-
disabledForAutogen: true,
105-
},
106-
{
107-
// Disabled temporally due to invalid tags failure
108-
basePath: 'confidentialLedger/resource-manager',
109-
namespace: 'Microsoft.ConfidentialLedger',
110-
disabledForAutogen: true
111-
},
11276
];
11377

11478
// Run "npm run list-basepaths" to discover all the valid readme files to add to this list
@@ -1170,6 +1134,36 @@ const autoGenList: AutoGenConfig[] = [
11701134
useAutorestV2: true,
11711135
suffix: 'OnAks',
11721136
},
1137+
{
1138+
basePath: 'developerhub/resource-manager',
1139+
namespace: 'Microsoft.DevHub',
1140+
useAutorestV2: true,
1141+
},
1142+
{
1143+
basePath: 'domainservices/resource-manager',
1144+
namespace: 'Microsoft.AAD',
1145+
useAutorestV2: true,
1146+
},
1147+
{
1148+
basePath: 'edgeorderpartner/resource-manager',
1149+
namespace: 'Microsoft.EdgeOrderPartner',
1150+
useAutorestV2: true,
1151+
},
1152+
{
1153+
basePath: 'servicefabricmesh/resource-manager',
1154+
namespace: 'Microsoft.ServiceFabricMesh',
1155+
useAutorestV2: true,
1156+
},
1157+
{
1158+
basePath: 'operationalinsights/resource-manager',
1159+
namespace: 'Microsoft.OperationalInsights',
1160+
useAutorestV2: true,
1161+
},
1162+
{
1163+
basePath: 'confidentialLedger/resource-manager',
1164+
namespace: 'Microsoft.ConfidentialLedger',
1165+
useAutorestV2: true
1166+
},
11731167
];
11741168

11751169
export function findAutogenEntries(basePath: string): AutoGenConfig[] {

0 commit comments

Comments
 (0)