Skip to content

Commit

Permalink
Merge pull request Azure#2565 from Azure/jcotillo/fix_cyclic_ref_msft…
Browse files Browse the repository at this point in the history
…_insights

[Microsoft.Insights] Remove cyclic reference
  • Loading branch information
jorgecotillo authored Sep 7, 2022
2 parents 7000f09 + 5bd40c5 commit 6ae85c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/processors/Microsoft.SecurityInsights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ import { replaceCyclicRef } from './helpers';

export const postProcessor: SchemaPostProcessor = async (namespace, apiVersion, schema) => {
replaceCyclicRef(schema.definitions?.MetadataDependencies?.properties?.criteria?.oneOf[0]?.items);
replaceCyclicRef(schema.definitions?.AutomationRuleCondition?.oneOf[0]);
}

0 comments on commit 6ae85c1

Please sign in to comment.