Skip to content

Commit

Permalink
Merge pull request #3026 from microsoftgraph/3020-switch-devx-api-end…
Browse files Browse the repository at this point in the history
…points-from-msit-to-torus

Updates endpoint to use Devx API in Torus
  • Loading branch information
timayabi2020 authored Nov 13, 2024
2 parents 4d893f1 + 9a6ffe5 commit bc68214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/DownloadOpenApiDoc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tools/PostGeneration/NewCommandMetadata.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bc68214

Please sign in to comment.