Skip to content

Commit bc68214

Browse files
authored
Merge pull request #3026 from microsoftgraph/3020-switch-devx-api-endpoints-from-msit-to-torus
Updates endpoint to use Devx API in Torus
2 parents 4d893f1 + 9a6ffe5 commit bc68214

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/DownloadOpenApiDoc.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (-not (Test-Path $OpenApiDocOutput)) {
1313
New-Item -Path $OpenApiDocOutput -Type Directory
1414
}
1515

16-
$OpenApiBaseUrl = "https://graphexplorerapi.azurewebsites.net"
16+
$OpenApiBaseUrl = "https://devxapi-func-prod-eastus.azurewebsites.net"
1717
$OpenApiServiceUrl = ("$OpenApiBaseUrl/`$openapi?tags={0}&title=$ModuleName&openapiversion=3&style=Powershell&fileName=powershell_v2&graphVersion=$GraphVersion" -f $ModuleRegex)
1818
if ($ForceRefresh.IsPresent) {
1919
$OpenApiServiceUrl = "$OpenApiServiceUrl&forceRefresh=true"

tools/PostGeneration/NewCommandMetadata.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ $OpenApiTagPattern = '\[OpenAPI\].s*(.*)=>(.*):\"(.*)\"'
3838
$ExternalDocsPattern = 'https://learn.microsoft.com/graph/api/(.*?(graph-rest-1.0|graph-rest-beta))'
3939
$AliasPattern = '\[global::System.Management.Automation.Alias(.*?)\]'
4040
$ActionFunctionFQNPattern = "\/Microsoft.Graph.(.*)$"
41-
$PermissionsUrl = "https://graphexplorerapi.azurewebsites.net/permissions"
41+
$PermissionsUrl = "https://devxapi-func-prod-eastus.azurewebsites.net/permissions"
4242

4343
Write-Debug "Crawling cmdlets in $CmdletPathPattern."
4444
$Stopwatch = [system.diagnostics.stopwatch]::StartNew()

0 commit comments

Comments
 (0)