Skip to content

Commit

Permalink
Merge pull request #2965 from Azure/jcotillo/enable_microsoft_resourc…
Browse files Browse the repository at this point in the history
…es_gen

Microsoft.Resources re-enable schema generation
  • Loading branch information
Xynoclafe authored Sep 8, 2023
2 parents 404c41b + ad0c09e commit 32292fe
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions generator/autogenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { postProcessor as providerHubPostProcessor } from './processors/Microsof
import { postProcessor as mediaPostProcessor } from './processors/Microsoft.Media';
import { postProcessor as networkPostProcessor } from './processors/Microsoft.Network';
import { postProcessor as azureStackHciPostProcessor } from './processors/Microsoft.AzureStackHCI';
import { postProcessor as resourcesPostProcessor } from './processors/Microsoft.Resources';
import { lowerCaseEquals } from './utils';

// New providers are onboarded by default. The providers listed here are the only ones **not** onboarded.
Expand Down Expand Up @@ -106,13 +107,6 @@ const disabledProviders: AutoGenConfig[] = [
basePath: 'confidentialLedger/resource-manager',
namespace: 'Microsoft.ConfidentialLedger',
disabledForAutogen: true
},
{
// Disabled temporally due to enum mismatch introduced in this PR: https://github.com/Azure/azure-rest-api-specs/pull/24350
// Once this resource is enabled again, remove the comment from autoGenList to fully enable schema generation
basePath: 'resources/resource-manager',
namespace: 'Microsoft.Resources',
disabledForAutogen: true
}
];

Expand Down Expand Up @@ -712,7 +706,7 @@ const autoGenList: AutoGenConfig[] = [
basePath: 'redhatopenshift/resource-manager',
namespace: 'Microsoft.RedHatOpenShift',
},
/*{
{
basePath: 'resources/resource-manager',
namespace: 'Microsoft.Resources',
resourceConfig: [
Expand All @@ -726,7 +720,7 @@ const autoGenList: AutoGenConfig[] = [
},
],
postProcessor: resourcesPostProcessor,
},*/
},
{
basePath: 'resources/resource-manager',
namespace: 'Microsoft.Authorization',
Expand Down

0 comments on commit 32292fe

Please sign in to comment.