From 1558c0143c2fee9aa555109a431695cad288cb12 Mon Sep 17 00:00:00 2001 From: hejieehe <904696180@qq.com> Date: Thu, 12 Dec 2024 17:45:37 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=94=AF=E6=8C=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=88=91=E7=9A=84=20OAUTH=20#10995?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops/openapi/api/apigw/v4/ApigwOauthResourceV4.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/ci/core/openapi/api-openapi/src/main/kotlin/com/tencent/devops/openapi/api/apigw/v4/ApigwOauthResourceV4.kt b/src/backend/ci/core/openapi/api-openapi/src/main/kotlin/com/tencent/devops/openapi/api/apigw/v4/ApigwOauthResourceV4.kt index 8ab50448afb..e81c1b96590 100644 --- a/src/backend/ci/core/openapi/api-openapi/src/main/kotlin/com/tencent/devops/openapi/api/apigw/v4/ApigwOauthResourceV4.kt +++ b/src/backend/ci/core/openapi/api-openapi/src/main/kotlin/com/tencent/devops/openapi/api/apigw/v4/ApigwOauthResourceV4.kt @@ -35,6 +35,7 @@ import io.swagger.v3.oas.annotations.Operation import io.swagger.v3.oas.annotations.Parameter import io.swagger.v3.oas.annotations.tags.Tag import javax.ws.rs.Consumes +import javax.ws.rs.GET import javax.ws.rs.HeaderParam import javax.ws.rs.PUT import javax.ws.rs.Path @@ -53,7 +54,7 @@ interface ApigwOauthResourceV4 { summary = "校验用户是否已经OAUTH授权", tags = ["v4_app_oauth_isOauth", "v4_user_oauth_isOauth"] ) - @PUT + @GET @Path("/isOauth") fun isOauth( @Parameter(description = "appCode", required = true, example = AUTH_HEADER_DEVOPS_APP_CODE_DEFAULT_VALUE)