Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into autogenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
Autogenerator Pipeline committed Sep 8, 2022
2 parents fb8482e + 6ae85c1 commit 1164542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
then
npm run generate-all -- --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs"
else
npm run generate-single -- --base-path '${{ github.event.inputs.single_path }}/resource-manager' --local-path '$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs'
npm run generate-single -- --base-path '${{ github.event.inputs.single_path }}/resource-manager' --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs"
fi
working-directory: generator

Expand Down
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 1164542

Please sign in to comment.