Skip to content

Commit 89e5b64

Browse files
committed
Reverted back to auto imports
1 parent 79ea06f commit 89e5b64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/ImportExamples.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function Start-Generator {
2424
)
2525

2626
$GraphMapping = @{
27-
# "v1.0" = "v1.0\examples"
27+
"v1.0" = "v1.0\examples"
2828
"beta" = "beta\examples"
2929
}
3030
if ($GenerationMode -eq "auto") {
@@ -503,7 +503,7 @@ if ($ModulesToGenerate.Count -eq 0) {
503503
[HashTable] $ModuleMapping = Get-Content $ModuleMappingConfigPath | ConvertFrom-Json -AsHashTable
504504
$ModulesToGenerate = $ModuleMapping.Keys
505505
}
506-
#Start-Generator -ModulesToGenerate $ModulesToGenerate -GenerationMode "auto"
506+
Start-Generator -ModulesToGenerate $ModulesToGenerate -GenerationMode "auto"
507507

508508
#Comment the above and uncomment the below start command, if you manually want to manually pass ExternalDocs url.
509509
#This is for scenarios where the correponding external docs url to the uri path gotten from Find-MgGraph command, is missing on the openapi.yml file for a particular module.
@@ -523,4 +523,4 @@ if ($ModulesToGenerate.Count -eq 0) {
523523

524524
#4. Test for beta updates from api reference
525525
#Start-Generator -GenerationMode "manual" -ManualExternalDocsUrl "https://docs.microsoft.com/graph/api/serviceprincipal-post-approleassignedto?view=graph-rest-beta" -GraphCommand "New-MgBetaServicePrincipalAppRoleAssignedTo" -GraphModule "Applications" -Profile "beta"
526-
Start-Generator -GenerationMode "manual" -ManualExternalDocsUrl "https://docs.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0" -GraphCommand "Update-MgBetaUserSettingShiftPreference" -GraphModule "Users" -Profile "beta"
526+
#Start-Generator -GenerationMode "manual" -ManualExternalDocsUrl "https://docs.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0" -GraphCommand "Update-MgBetaUserSettingShiftPreference" -GraphModule "Users" -Profile "beta"

0 commit comments

Comments
 (0)