From fd4d0517665299f9a0a6cdaa3c8a7ff82e90d80a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Mon, 28 Oct 2024 11:29:23 +0300 Subject: [PATCH] Fix conjunction problems causing build errors due to duplicates --- src/readme.graph.md | 4 ++++ tools/TweakOpenApi.ps1 | 1 + 2 files changed, 5 insertions(+) diff --git a/src/readme.graph.md b/src/readme.graph.md index c62420e859..5dcbad6657 100644 --- a/src/readme.graph.md +++ b/src/readme.graph.md @@ -207,6 +207,10 @@ directive: subject: ^(\w*[a-z])GraphOPre(\w*)$ set: subject: $1Of$2 + - where: + subject: ^(\w*[a-z])GraphRPre(\w*)$ + set: + subject: $1Or$2 - where: verb: Clear subject: ^UserManagedAppRegistrationByDeviceTag$ diff --git a/tools/TweakOpenApi.ps1 b/tools/TweakOpenApi.ps1 index d77422e5e4..309ba7996b 100644 --- a/tools/TweakOpenApi.ps1 +++ b/tools/TweakOpenApi.ps1 @@ -16,6 +16,7 @@ $prepositionReplacements = @{ At = "GraphAPre" For = "GraphFPre" Of = "GraphOPre" + Or = "GraphRPre" } $wordReplacements = @{