Update APIView Endpoint to use API COntrollers (#6601)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
This commit is contained in:
parent
155099a40b
commit
f2815312d8
@ -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'], ''))
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user