Update APIView Endpoint to use API COntrollers (#6601)

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-05-28 20:24:27 -07:00 committed by GitHub
parent 155099a40b
commit f2815312d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ parameters:
steps:
- pwsh: |
$apiChangeDetectRequestUrl = "https://apiview.dev/PullRequest/DetectApiChanges"
$apiChangeDetectRequestUrl = "https://apiview.dev/api/PullRequests/CreateAPIRevisionIfAPIHasChanges"
echo "##vso[task.setvariable variable=ApiChangeDetectRequestUrl]$apiChangeDetectRequestUrl"
displayName: "Set API change detect request URL"
condition: and(${{ parameters.Condition}}, eq(variables['ApiChangeDetectRequestUrl'], ''))

View File

@ -241,7 +241,7 @@ function Set-ApiViewCommentForPR {
# Helper function used to create API review requests for Spec generation SDKs pipelines
function Create-API-Review {
param (
[string]$apiviewEndpoint = "https://apiview.dev/PullRequest/DetectAPIChanges",
[string]$apiviewEndpoint = "https://apiview.dev/api/PullRequests/CreateAPIRevisionIfAPIHasChanges",
[string]$specGenSDKArtifactPath,
[string]$apiviewArtifactName,
[string]$buildId,