You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2023/05/23 09:20:25 UTC
[incubator-devlake] 01/01: fix: the swagger error for sonarqube-proxy-endpoint
This is an automated email from the ASF dual-hosted git repository.
zhangliang2022 pushed a commit to branch fix-swagger-error-for-sonarqube-proxy-endpoint
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 4cd08f88758537747981c9f65b729f44589b9b12
Author: zhangliang <li...@merico.dev>
AuthorDate: Tue May 23 17:20:06 2023 +0800
fix: the swagger error for sonarqube-proxy-endpoint
---
backend/plugins/sonarqube/api/proxy.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/plugins/sonarqube/api/proxy.go b/backend/plugins/sonarqube/api/proxy.go
index ed5b0a4a2..da50350a7 100644
--- a/backend/plugins/sonarqube/api/proxy.go
+++ b/backend/plugins/sonarqube/api/proxy.go
@@ -36,7 +36,7 @@ import (
// @Success 200 {object} interface{} "Success"
// @Failure 400 {string} errcode.Error "Bad Request"
// @Failure 500 {string} errcode.Error "Internal Error"
-// @Router /plugins/sonarqube/connections/{connectionId}/proxy/rest/{*path} [GET]
+// @Router /plugins/sonarqube/connections/{connectionId}/proxy/rest/{path} [GET]
func Proxy(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
connection := &models.SonarqubeConnection{}
err := connectionHelper.First(connection, input.Params)