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:24 UTC
[incubator-devlake] branch fix-swagger-error-for-sonarqube-proxy-endpoint created (now 4cd08f887)
This is an automated email from the ASF dual-hosted git repository.
zhangliang2022 pushed a change to branch fix-swagger-error-for-sonarqube-proxy-endpoint
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at 4cd08f887 fix: the swagger error for sonarqube-proxy-endpoint
This branch includes the following new commits:
new 4cd08f887 fix: the swagger error for sonarqube-proxy-endpoint
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-devlake] 01/01: fix: the swagger error for sonarqube-proxy-endpoint
Posted by zh...@apache.org.
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)