Skip to content

Commit 09855d3

Browse files
authored
Merge pull request #3012 from microsoftgraph/fix/autorestgen1
Rename Operation Ids with ``Or`` conjunction causing AutoREST build errors
2 parents 4d9097e + 2a99f33 commit 09855d3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/readme.graph.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ directive:
207207
subject: ^(\w*[a-z])GraphOPre(\w*)$
208208
set:
209209
subject: $1Of$2
210+
- where:
211+
subject: ^(\w*[a-z])GraphRPre(\w*)$
212+
set:
213+
subject: $1Or$2
210214
- where:
211215
verb: Clear
212216
subject: ^UserManagedAppRegistrationByDeviceTag$

tools/TweakOpenApi.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ $prepositionReplacements = @{
1616
At = "GraphAPre"
1717
For = "GraphFPre"
1818
Of = "GraphOPre"
19+
Or = "GraphRPre"
1920
}
2021

2122
$wordReplacements = @{

0 commit comments

Comments
 (0)