Skip to content

Commit ceb3630

Browse files
gavinbarronCopilotramsessanchez
authored
Update DevX API host to graph-devx-api.microsoft.com (#3664)
The DevX API host changed from devxapi-func-prod-eastus.azurewebsites.net to graph-devx-api.microsoft.com. Update the hardcoded references in the OpenAPI download and command-metadata generation scripts used by the pipelines. Fixes #3663 Copilot-Session: 7b738be7-0d7a-4300-9a49-b4800bfd9fee Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Ramses Sanchez-Hernandez <63934382+ramsessanchez@users.noreply.github.com>
1 parent 35770f6 commit ceb3630

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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://devxapi-func-prod-eastus.azurewebsites.net"
16+
$OpenApiBaseUrl = "https://graph-devx-api.microsoft.com"
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://devxapi-func-prod-eastus.azurewebsites.net/permissions"
41+
$PermissionsUrl = "https://graph-devx-api.microsoft.com/permissions"
4242

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

0 commit comments

Comments
 (0)