From 846649e6a18487def04e36a598555f35497a9e18 Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Wed, 20 Nov 2024 17:21:44 +0100 Subject: [PATCH 1/2] added /v1alpha2/validate-creds Signed-off-by: munishchouhan --- typespec/routes.tsp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/typespec/routes.tsp b/typespec/routes.tsp index 8e6f8d957..81230ee98 100644 --- a/typespec/routes.tsp +++ b/typespec/routes.tsp @@ -108,7 +108,10 @@ namespace wave { } @route("validate-creds") - @post op validateCreds(@body request: ValidateRegistryCredsRequest): boolean; + @post op validateCreds(@body request: ValidateRegistryCredsRequest): boolean; + + @route("/v1alpha2/validate-creds") + @post op validateCredsV2(@body request: ValidateRegistryCredsRequest): boolean; @route("/v1alpha1/mirrors") interface getMirrorRecord { From fd44eb4400edce285f2731b675825b286aa6bab4 Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Thu, 21 Nov 2024 06:53:46 +0100 Subject: [PATCH 2/2] removed /validate-creds Signed-off-by: munishchouhan --- typespec/routes.tsp | 3 --- 1 file changed, 3 deletions(-) diff --git a/typespec/routes.tsp b/typespec/routes.tsp index 81230ee98..feb9d2045 100644 --- a/typespec/routes.tsp +++ b/typespec/routes.tsp @@ -107,9 +107,6 @@ namespace wave { }; } - @route("validate-creds") - @post op validateCreds(@body request: ValidateRegistryCredsRequest): boolean; - @route("/v1alpha2/validate-creds") @post op validateCredsV2(@body request: ValidateRegistryCredsRequest): boolean;