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

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


The following commit(s) were added to refs/heads/main by this push:
     new 185b138fa fix: the swagger error for sonarqube-proxy-endpoint
185b138fa is described below

commit 185b138fa84d0110758079846f1392de4fbe49be
Author: Liang Zhang <[email protected]>
AuthorDate: Tue May 23 18:10:19 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)

Reply via email to