diff --git a/tools/DownloadOpenApiDoc.ps1 b/tools/DownloadOpenApiDoc.ps1 index aa5ea28af8..aa1b3c82a6 100644 --- a/tools/DownloadOpenApiDoc.ps1 +++ b/tools/DownloadOpenApiDoc.ps1 @@ -13,7 +13,7 @@ if (-not (Test-Path $OpenApiDocOutput)) { New-Item -Path $OpenApiDocOutput -Type Directory } -$OpenApiBaseUrl = "https://graphexplorerapi.azurewebsites.net" +$OpenApiBaseUrl = "https://devxapi-func-prod-eastus.azurewebsites.net" $OpenApiServiceUrl = ("$OpenApiBaseUrl/`$openapi?tags={0}&title=$ModuleName&openapiversion=3&style=Powershell&fileName=powershell_v2&graphVersion=$GraphVersion" -f $ModuleRegex) if ($ForceRefresh.IsPresent) { $OpenApiServiceUrl = "$OpenApiServiceUrl&forceRefresh=true" diff --git a/tools/PostGeneration/NewCommandMetadata.ps1 b/tools/PostGeneration/NewCommandMetadata.ps1 index 991b9b4cdd..2a8a8adc6e 100644 --- a/tools/PostGeneration/NewCommandMetadata.ps1 +++ b/tools/PostGeneration/NewCommandMetadata.ps1 @@ -38,7 +38,7 @@ $OpenApiTagPattern = '\[OpenAPI\].s*(.*)=>(.*):\"(.*)\"' $ExternalDocsPattern = 'https://learn.microsoft.com/graph/api/(.*?(graph-rest-1.0|graph-rest-beta))' $AliasPattern = '\[global::System.Management.Automation.Alias(.*?)\]' $ActionFunctionFQNPattern = "\/Microsoft.Graph.(.*)$" -$PermissionsUrl = "https://graphexplorerapi.azurewebsites.net/permissions" +$PermissionsUrl = "https://devxapi-func-prod-eastus.azurewebsites.net/permissions" Write-Debug "Crawling cmdlets in $CmdletPathPattern." $Stopwatch = [system.diagnostics.stopwatch]::StartNew()