Skip to content

Commit 74a6c28

Browse files
Update APIView Endpoint to use API COntrollers (#41344)
Co-authored-by: Chidozie Ononiwu <[email protected]>
1 parent fee7a16 commit 74a6c28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/common/pipelines/templates/steps/detect-api-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parameters:
66

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

eng/common/scripts/Helpers/ApiView-Helpers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function Set-ApiViewCommentForPR {
241241
# Helper function used to create API review requests for Spec generation SDKs pipelines
242242
function Create-API-Review {
243243
param (
244-
[string]$apiviewEndpoint = "https://apiview.dev/PullRequest/DetectAPIChanges",
244+
[string]$apiviewEndpoint = "https://apiview.dev/api/PullRequests/CreateAPIRevisionIfAPIHasChanges",
245245
[string]$specGenSDKArtifactPath,
246246
[string]$apiviewArtifactName,
247247
[string]$buildId,

0 commit comments

Comments
 (0)