You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/05/23 10:17:19 UTC

[incubator-devlake] branch release-v0.17 updated: fix: the swagger error for sonarqube-proxy-endpoint

This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch release-v0.17
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.17 by this push:
     new 0c351cdcc fix: the swagger error for sonarqube-proxy-endpoint
0c351cdcc is described below

commit 0c351cdcc6aadfe9b4bdf86a7cf0f9b6b658b65c
Author: 青湛 <0x...@gmail.com>
AuthorDate: Tue May 23 18:17:13 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)