From 9a6ffe5c884d5714273156b64f253ac64dac38b1 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 13 Nov 2024 10:16:56 +0300 Subject: [PATCH] Updated to torus endpoint --- tools/DownloadOpenApiDoc.ps1 | 2 +- tools/PostGeneration/NewCommandMetadata.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/DownloadOpenApiDoc.ps1 b/tools/DownloadOpenApiDoc.ps1 index aa5ea28af8e..aa1b3c82a65 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 991b9b4cdde..2a8a8adc6ed 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()