This is an automated email from the ASF dual-hosted git repository.
klesh 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 0e16249ce fix(server): use interface{} for store handler swag
annotations (#8859)
0e16249ce is described below
commit 0e16249cee158c41d0e3e380d3ff43f15e5c9189
Author: Tomoya Kawaguchi <[email protected]>
AuthorDate: Tue Apr 28 16:00:14 2026 +0900
fix(server): use interface{} for store handler swag annotations (#8859)
Signed-off-by: yamoyamoto <[email protected]>
---
backend/server/api/store/store.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/backend/server/api/store/store.go
b/backend/server/api/store/store.go
index 0c7ab3778..14e78dc07 100644
--- a/backend/server/api/store/store.go
+++ b/backend/server/api/store/store.go
@@ -33,7 +33,7 @@ import (
// @Description Get the value by given key
// @Tags framework/projects
// @Param storeKey path string true "storeKey"
-// @Success 200 {object} json.RawMessage
+// @Success 200 {object} interface{}
// @Failure 400 {string} errcode.Error "Bad Request"
// @Failure 500 {string} errcode.Error "Internal Error"
// @Router /store/{storeKey} [get]
@@ -53,8 +53,8 @@ func GetStore(c *gin.Context) {
// @Tags framework/projects
// @Accept application/json
// @Param storeKey path string true "storeKey"
-// @Param project body json.RawMessage false "json"
-// @Success 200 {object} json.RawMessage
+// @Param project body interface{} false "json"
+// @Success 200 {object} interface{}
// @Failure 400 {string} errcode.Error "Bad Request"
// @Failure 500 {string} errcode.Error "Internal Error"
// @Router /store/{storeKey} [PUT]